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.
download biggest file size #26450
download biggest file size #26450
Comments
|
By default, youtube-dl sorts the format by The problem is that YouTube often reports the wrong tbr (total bit rate) for videos, breaking the best/worst filters. Even if the sort order was to be changed to As a temporary fix until a better sorting method can be created, I had proposed a pull request #25959 to allow the user to specify how to sort the formats. If you are willing to use that branch, Documentation for #25959 :
|
|
thanks @pukkandan! it works like a charm! |
Checklist
Question
How can I make youtube-dl automatically pick the file with the biggest size regardless of extension? best/bestvideo seems to just pick the highest quality mp4 unless there's a webm with a higher resolution. For example, if the 1080p webm is 150MiB and the 1080p mp4 is 145MiB, youtube-dl picks the mp4 unless there's a 1440p webm available and no 1440p mp4.
I'm using the latest version.
edit:
I've read on reddit that the sole deciding factor for "best" is bitrate. Shouldn't higher bitrate mean bigger file size though? So what's happening here?