On Saturday, 13 April 2019 12:19:46 BST Nikos Chantziaras wrote:
> 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

This part of the man page is worth a read for format configuration options:

https://github.com/ytdl-org/youtube-dl/blob/master/README.md#format-selection

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to