Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Enhancement request: add option to ignore WebM (or add "bestmp4", "bestwebm", etc. format names) #5015
Comments
|
You can simply use Also bear in mind that |
|
Uh apparently filtering by properties was implemented only a month ago in 083c9df and I didn't read the updated docs. Sorry. |
Most of the time
bestvideoon YouTube is H.264 video in MPEG-4 container, but occasionallybestvideois VP9 video in WebM container, and this has been screwing me on every encounter. Problems:bestvideois WebM,bestvideo+bestaudioalways fails since youtube-dl asks FFmpeg to mux VP9 and AAC into a WebM container, and it simply can't.Therefore, I would like to be able to ignore WebM altogether. I think a good idea would be to add special format codes
bestmp4,bestwebm, etc. so that the user can target the specific format they want, without resorting to doingyoutube-dl -Ffirst and filtering the results manually.