gramgan

joined 5 months ago
[–] [email protected] 2 points 1 month ago (1 children)

Not to my knowledge, but music.youtube.com is a pretty clean interface, and it’s easy enough to grab links from. Keep in mind, you can feed yt-dlp both playlist (including album) and channel (artist) links, as well as individual videos.

[–] [email protected] 10 points 1 month ago (3 children)

As far as where you get the music from, you’ll have to determine for yourself what audio quality you require.

To test this, use something like Soulseek to get a high quality version of a song you are very familiar with, and then get the same song off of YouTube with yt-dlp (better yet—do this for a few songs). Then, open both songs in separate media player windows, randomize the layout of said windows so you don’t remember which is which, plug in your favorite headphones and see if you can guess which is which.

For me, I found the difference between a lossless or 320kbps download from Soulseek and a 128-196kbps download from YouTube to be negligible (or outright nonexistent) in most cases, so I mostly download off of YouTube, which is very simple to do.

Depending on where you get the files, you may need to add metadata yourself. For this, I recommend MusicBrainz Picard.

 

Hi friends,

I've been using yt-dlp to download a few things off of YouTube Music, and I just wanted to ask a few questions about best practice. Right now, I've just been doing it this way:

yt-dlp -f bestaudio -x

I've found that has usually downloaded .opus files (though, .m4a as of late—anyone know why this is?), but, I was wondering (for the sake of compatibility with different music players), do I lose anything by passing --recode mp3?

Also, about losing the .opus files, I got this output when I ran yt-dlp -F on a link:

|ID |  EXT   RESOLUTION FPS CH |    FILESIZE  TBR PROTO | VCODEC         VBR ACODEC      ABR ASR MORE INFO
--------------------------------------------------------------------------------------------------------------------------
233 mp4   audio only        |                  m3u8  | audio only         unknown             Default
234 mp4   audio only        |                  m3u8  | audio only         unknown             Default
249 webm  audio only      2 |     1.30MiB  64k https | audio only         opus        64k 48k low, THROTTLED, webm_dash
250 webm  audio only      2 |     1.64MiB  81k https | audio only         opus        81k 48k low, THROTTLED, webm_dash
139 m4a   audio only      2 |  1019.36KiB  49k https | audio only         mp4a.40.5   49k 22k low, m4a_dash
251 webm  audio only      2 |     3.03MiB 149k https | audio only         opus       149k 48k medium, THROTTLED, webm_dash
140 m4a   audio only      2 |     2.64MiB 130k https | audio only         mp4a.40.2  130k 44k medium, m4a_dash

Any insights as to why I'm getting that throttling, and why it's downloading m4a instead of opus? Is it even that much of a difference? Is there some option I can pass to yt-dlp to avoid this?

Any help is much appreciated!