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.
Adjust aspect ratio #4674
Adjust aspect ratio #4674
Comments
|
Can you post the output you get when running youtube-dl with the As mentioned in our bug reporting guidelines, without that it's quite hard to understand what's going on here, in particular which format you did actually download. |
|
|
|
Thank you for the report. You are using an outdated version; the height and width of the DASH formats is incorrect since YouTube changed what they serve, this has been fixed in youtube-dl 2014.01.05.1. youtube-dl 2015.01.10 and newer will fix up these videos automatically, but you can also pass in |
It seems that the actual dimensions of some video files are different from how they appear on youtube, and usually the latter look more natural. For example this one, when downloaded and played using mpc-hc on Windows, it's actually like this. Therefore I try to mark the aspect ratio at container level according to what

--get-formatreveals, in this case "2276x2160", using ffmpeg:ffmpeg -i i.mp4 -c copy -aspect 2276:2160 o.mp4. However the result distorts another way. It becomes too "thin", like this:Is there any other imformation I can get from youtube-dl which helps to adjust this ideally?