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.
How to download single file having specific resolution without ffmpeg #23805
Comments
|
this command works fine: |
|
Whoops, I used single quotes on Windows for the format specifier. Apparently a bad idea, using double quotes works indeed. Maybe youtube-dl should include some check whether single quotes are used if the os is Windows instead of replying with a false error message. |
Checklist
Question
I'm using youtube-dl in an Android app and want to be able to specify the resolution of the video which should be downloaded from youtube. I know it's possible using e.g.
format=bestvideo[height=360]+bestaudiohowever I don't have ffmpeg available on Android thus the video and audio files won't get merged. I tried to useformat=best[height=360]but this only showsERROR: requested format not available.My question now is: Is it possible to filter by resolution only of the available single files (the files I get when I use -F)?
The example video I use: