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.
Provide a way to choose the best resolution #11686
Comments
|
try running: |
|
That works, but unfortunately it ignores the codec preference. For cases where 1080p H264 and VP9 are available it chooses H264 |
|
try to add |
|
Unfortunately the prefer free formats option applied to youtube-dl in mpv still chooses the 360p version |
|
You want to select best available format? why didn't use |
Thanks for letting me know, but I read the docs and realized that works |
@utack you can pass you may also like to put all that in |
Sounds like you want to compare resolutions first and then video codecs. That's a missing feature, see #6018. As of now you can use a hardcoded list of known itags as the format filter. See |
|
@yan12125 Is there any way to compare resolution first, then video bitrate (I don't care about codecs)? Because you know, sometimes the higher resolution ones have lower bitrates. |
|
Not possible. |
@dstftw it's been quite some time, is this still true as of today? Are there workarounds (ignoring bitrate altogether)? |
Hi,
currently there seems to be no way of choosing the best resolution video.
Example: I'd like vp9 where possible from Youtube, but would take a 480p H264 stream over the 360p VP9 stream.
Is there a method to achieve this?
If not, it would be great if you could provide something to pick the best resolution video.
Thank you
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.01.10. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?