Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: [gentoo-user] youtube-dl and the conf file.
Date: Tue, 27 Oct 2020 20:58:38
Message-Id: 9f2169f0-78ac-de8c-004e-df1c701a8ca3@gmail.com
1 Howdy,
2
3 I'm hearing bad things about youtube-dl.  It seems the RIAA is punishing
4 people who use it legally for those who don't.  Funny how the people who
5 don't do anything wrong pays for the ones who do while the ones who do
6 bad things get away.  Anyway. 
7
8 A good while back this list helped me set up the conf file for
9 youtube-dl so that it grabs the best resolution up to 720P or 1280
10 resolution videos.  I have no need for a 4K video.  lol  It seems
11 something changed a while back and the options in the conf file produce
12 a error.  From the error, I can't figure out what to change.  This is
13 the error.
14
15
16 ERROR: 'ytdl-format=bestvideo[height<=?1280]+bestaudio/best' is not a
17 valid URL. Set --default-search "ytsearch" (or run  youtube-dl
18 "ytsearch:ytdl-format=bestvideo[height<=?1280]+bestaudio/best" ) to
19 search YouTube
20
21 I'm using the normal youtube-dl <link to video> command.  No options or
22 anything.  This is what I have in the conf file. 
23
24
25 --format
26 bestvideo[ext=webm][width<=?1280]+bestaudio/bestvideo[ext=mp4][width<=?1280]+bestaudio/best
27
28 --merge-output-format mp4
29
30
31 Those options worked for a long time so I guess something changed with
32 youtube-dl.  I don't get why it says the options are a URL either.  When
33 I google, I can't find where anyone is getting this error or using
34 different options either, at least not to accomplish the same goal. I
35 might add, my googling turned up the RIAA mess.  May have to donate to
36 help fund lawyers.  :/
37
38 Anyone know what to do to fix it?  I can't make heads or tails of it.
39
40 Dale
41
42 :-)  :-) 

Replies

Subject Author
Re: [gentoo-user] youtube-dl and the conf file. Arve Barsnes <arve.barsnes@×××××.com>
Re: [gentoo-user] youtube-dl and the conf file. Mark Knecht <markknecht@×××××.com>