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.
[Youtube] Confusing differences in bitrate #15180
Comments
|
Format 137 for this video is broken at YouTube server side. You can download webm for better quality. (e.g. |
|
Thank you, that sounds like my number 2 scenario then. Two quick follow-ups:
|
Eh.. no. Not as a general rule. Actually I think that webm will be better in many cases, definitely in the near future etc. |
Purpose
Verbose output:
I've also put a full run in a gist.
Example URL:
Description:
TLDR: the newest version of youtube-dl seems to acquire a lower bitrate copies of some videos, and I cannot figure out why or how to resolve the issue. This report focuses on a single problem video.
Some time mid 2017, I downloaded the above video with an older version of youtube-dl. At that time, I was using
-f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' --merge-output-format mp4. Since then I have since learned that the format string is not necessary.The bitrate of this old download is good, 1876 kb/s:
If I download the same video, with the latest youtube-dl, and the same long format string, the result has noticeably worse visual quality. I checked, and the bitrate has been reduced to less than half, 830 kb/s:
Finally, if I omit the format flag, and let youtube-dl auto-detect as shown at the top of the ticket, it chooses an MKV container, and I notice that there is
dashin the metadata, but the bitrate is still low, 803 kb/s:As far as youtube-dl can tell, it is choosing good formats:
So, what's the deal? My initial ideas:
What are your thoughts?