Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: youtube-dl and mpv.conf file
Date: Sat, 13 Apr 2019 11:48:44
Message-Id: 8841290.kavK0dyrmC@dell_xps
In Reply to: [gentoo-user] Re: youtube-dl and mpv.conf file by Nikos Chantziaras
1 On Saturday, 13 April 2019 12:19:46 BST Nikos Chantziaras wrote:
2 > On 13/04/2019 11:55, Dale wrote:
3 > > Just tried this as well.
4 > >
5 > > root@fireball / # cat /home/dale/.config/youtube-dl/config
6 > >
7 > > ytdl-format=bestvideo[height<=?1280]+bestaudio/best
8 > >
9 > > It still insists on downloading the largest file.
10 >
11 > "--ytdl-format" is an MPV option, not a youtube-dl option. Also,
12 > omitting the "--" from the option name is an MPV thing. youtube-dl still
13 > needs the "--".
14 >
15 > So you need:
16 >
17 > --format
18 > bestvideo[ext=webm][width<=?1280]+bestaudio/bestvideo[ext=mp4][width<=?1280]
19 > +bestaudio/best
20
21 This part of the man page is worth a read for format configuration options:
22
23 https://github.com/ytdl-org/youtube-dl/blob/master/README.md#format-selection
24
25 --
26 Regards,
27 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature