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.
Improve the format selection logic and syntax #5242
Comments
|
Grouping with parentheses will be supported in the next version, open a new issue if you find any problem. |
|
Thanks! Just an idea: It might be more elegant to support
Would mean: prefer webm, if not available then mp4, if also not available, then use whatever is there. |
|
Yes, please, a way to say "Take the 480p mp4 if it exists, 480p dash second choice", while still fetching audio. As referenced in that other thread, I was doing: Switching to EDIT: Re-reading that first post -- Is that why sometimes I can watch a video while it's downloading, and sometimes I have to wait for it to finish before I can start? (I've stopped trying to watch while downloading). |
This is a combination of three similar feature requests, all aimed at improving the ability to specify the particular format(s) chosen by youtube-dl.
best|bestvideo+bestaudio. It would pick the one with highest overall quality, preferring the leftmost if they're identical. (Ideally there should also be some slight tolerance for considering formats “equal”)(bestvideo[tbr<13000][height>720]/bestvideo[tbr<13000][fps>30])+(bestaudio[ext=webm]/bestaudio)