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.
[Error - Specific YouTube Video, Letterbox issue?] Format either not reporting right or not downloading right #8734
Comments
|
These resolutions are reported by YouTube.
To download best available quality you don't need to specify any format. You must have ffmpeg/avconv installed though. |
|
I know I don't need to specify, and I do have ffmpeg installed. If you try to download that video the letterboxing goes away. Is this something I can work around somehow? |
it will be fixed in the next version:
|
|
Letterboxing is most likely implemented by means of the YouTube player. If none of the formats provides a letterboxed video there is no way do so then. |
By fixed it seems you are referring to the reporting of the resolution?
Understood - perhaps I can do this with ffmpeg post-download, I'll look into that. Thank you both! |
yes |
When running
youtube-dl -F https://www.youtube.com/watch?v=-h3Xd6PXwc0It shows the "best" option as -f 22 720p.
When trying to download that format with
youtube-dl -f 22 https://www.youtube.com/watch?v=-h3Xd6PXwc0I end up with a 1280x542 file. I'm not sure if this is just improper reporting of the resolutions from YouTube, because there is actually a 1080p option in the YouTube player, but it doesn't show up as an option in youtube-dl.
The video is letterboxed on YouTube but not when it is downloaded with the above command so I'm not sure if that has anything to do with it.
Thanks for any insights!