this post was submitted on 04 Nov 2023
0 points (NaN% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54161 readers
43 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder


💰 Please help cover server costs.

Ko-FiLiberapay


founded 1 year ago
MODERATORS
 

I read somewhere that it is possible to rip youtube videos (music only) without the need for converting it into an mp3 as such.

The online conversion process (naturally) results in loss of quality, and (apparently) it is possible to preserve the original video's audio quality via a direct rip. If so, how would it be done and what format would it be in anyway?

thanks

top 2 comments
sorted by: hot top controversial new old
[–] lea@feddit.de 0 points 11 months ago

If you want an online tool, cobalt.tools can rip the original youtube audio if you choose "best" format in settings -> 🎶. It's also FOSS with no tracker/ad garbage so I can recommend it as an alternative for yt-dlp which has been mentioned already.

[–] Kissaki@feddit.de 0 points 11 months ago

yt-dlp has the -F parameter to list the available stream formats. (uppercase F to list, lowercase f to select)

I use -f 251 to download the opus audio stream, and afterwards use ffmpeg -i file -c copy file.opus to copy the opus audio stream in an opus file format file (codec copy so without encoding losses).