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-dl -F reports incorrect webm dimensions for format 43 #14125
Comments
|
It's a hardcoded value that is valid in most cases. No real dimension for these formats provided. |
|
Have you considered my suggestion for an improvement of the accuracy of reporting?
|
|
I don't see much point in that. All metadata is taken from meta sources and not actual videos. It's often incorrect. Putting marks in some cases will introduce even more ambiguity since other potentially incorrect metadata won't be marked. Moreover |
|
@dstftw Is this true for all sources supported by youtube-dl? As I've noticed this with Instagram, where it reported under the resolution note |
In the last line, 640x360 is reported as the video dimensions. However, if I download the .webm file with
youtube-dl -f 43 https://youtu.be/2Aojn4ltkP0, the file actually has 320x240.This also affects
youtube-dl -f best, because youtube-dl incorrectly selects format 43 in this case for some videos.I've seen it happen to many videos, all with format 43. The video dimensions reported by youtube-dl was always 640x360, and the actual video dimensions were 27 different values between 176x144 and 640x356.
The expected fix would be correct dimension reporting for format 43, or at least putting a question mark after 640x360 in the output of
youtube-dl -F.