1 |
On 13/04/2019 11:55, Dale wrote: |
2 |
> Just tried this as well. |
3 |
> |
4 |
> root@fireball / # cat /home/dale/.config/youtube-dl/config |
5 |
> ytdl-format=bestvideo[height<=?1280]+bestaudio/best |
6 |
> |
7 |
> It still insists on downloading the largest file. |
8 |
|
9 |
"--ytdl-format" is an MPV option, not a youtube-dl option. Also, |
10 |
omitting the "--" from the option name is an MPV thing. youtube-dl still |
11 |
needs the "--". |
12 |
|
13 |
So you need: |
14 |
|
15 |
--format |
16 |
bestvideo[ext=webm][width<=?1280]+bestaudio/bestvideo[ext=mp4][width<=?1280]+bestaudio/best |