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.
Wrong resolution chosen with <=?1080 filter option on 360° video #21680
Comments
|
Invalid syntax, precedence does not work inside brackets. |
|
So -f bestvideo[height<=?1080][vcodec!=vp9]+bestaudio[ext=m4a]/best[ext=m4a]/best? |
Checklist
youtube-dl -U
youtube-dl is up-to-date (2019.07.02)
youtube-dl 3cuNPyrngwc
Verbose log
Description
Downloading https://www.youtube.com/watch?v=3cuNPyrngwc with my format options
-f bestvideo[height<=?1080/vcodec!=vp9]+bestaudio[ext=m4a]/best[ext=m4a]/bestshould catch a file with 1080p max, however, according to VLC codec information (5760x2880@29.97fps), file size (770MiB for 4:49 play time ~ 21 Mbps, matching codec 138 from the -F list) and my struggling CPU (the reason for 1080p limit on a 1440x900 display), that doesn't seem to be the case.
This is a 360° video, maybe different rules apply for determining video resolution on these? The codec filter works fine otherwise, resolution is 1080p max and vp9 is excluded which doesn't play on my TV. This is the very first video that was downloaded in bestvideo/bestaudio format.