0

How to download video with specific video resolution, lets say Full HD with best audio and merge them together. I need a one line command in which you just can change the video resolution if choose to. Like youtube-dl -f video=1080+bestaudio https://www.youtube.video123, and then I could change the resolution if I want to. Also if that resolution is not available download should fail.

5
  • 2
    Related question on our sister site: How to select video quality from youtube-dl?
    – gronostaj
    Commented Aug 16, 2021 at 18:42
  • 1
    You might be looking for something like youtube-dl -f 'best[height<=1080]'.
    – harrymc
    Commented Aug 16, 2021 at 19:31
  • The double quotes...
    – IGRACH
    Commented Aug 16, 2021 at 20:21
  • Yes but the problem is that there is a 1920x1080 video and I'm unable to download it with this method. It defaults to 1280x720.
    – IGRACH
    Commented Aug 16, 2021 at 20:58
  • "mp4[height=1080]+bestaudio" did it.
    – IGRACH
    Commented Aug 16, 2021 at 21:01

0

You must log in to answer this question.

Browse other questions tagged .