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.
-f bestvideo doesn't get the highest quality video for Youtube #22372
Comments
|
Specifying using the format codes (eg. -f 313+251) works, but it otherwise defaults to 720p. |
Yes i know that i can do that but i need a permanent solution to this. |
|
All mentioned cases are considered correct, format with higher bitrate is preferred. |
|
Is there a way to select the format with the highest resolution and then the highest framerate and then lastly the highest bitrate? Currently I'm having to resort to stuff like: |
|
How is bitrate determined? When downloading https://www.youtube.com/watch?v=wzFQJUzoUvM , bestvideo+bestaudio gave me 136+251 at 1280x534, which ffprobe tells me to have a bitrate of 604 kb/s, while the clearly less blurry 1920x800 versions 137+251 and 248+251 that I downloaded for comparison are at 904 kb/s and 777 kb/s respectively (with the latter, which is vp9, being subjectively even less blurry in the two shots I compared despite the lower bitrate). |
|
@h1nk I'm struggling to build a format string that would always select higher resolution+fps video over higher bitrate video. Maybe there is a way to override |
|
Maybe there's some way to use "parse_resolution" and compare the value for that to a specified >= value? Or am I way off here? |
|
I just use this. It works |
Checklist
Description
Youtube-dl still sees high resolution videos
But when using
-f bestvideoit downloads the(best)option instead.The bug is probably something in the latest tempfix.