On 13/04/2019 11:55, Dale wrote:
Just tried this as well.

root@fireball / # cat /home/dale/.config/youtube-dl/config
  ytdl-format=bestvideo[height<=?1280]+bestaudio/best

It still insists on downloading the largest file.

"--ytdl-format" is an MPV option, not a youtube-dl option. Also, omitting the "--" from the option name is an MPV thing. youtube-dl still needs the "--".

So you need:

--format bestvideo[ext=webm][width<=?1280]+bestaudio/bestvideo[ext=mp4][width<=?1280]+bestaudio/best


Reply via email to