this post was submitted on 04 Nov 2023
98 points (93.8% liked)

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

54411 readers
180 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

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

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

you are viewing a single comment's thread
view the rest of the comments
[–] SexualPolytope@lemmy.sdf.org 43 points 1 year ago* (last edited 1 year ago) (1 children)

This is what I use for my personal archive:

yt-dlp -f bestaudio/best --extract-audio --embed-metadata --embed-thumbnail --recode opus --audio-quality 0

It does recode to opus but since the bestaudio is usually in that format already, you don't need it most of the time. You can skip the --recode opus part if you want to. I keep it because I like having a "uniform" collection. You can probably change the bestaudio/best part to simply bestaudio without losing much as well.

[–] TwinHaelix@reddthat.com 4 points 1 year ago (1 children)

Does it skip the recode completely if the format is already opus?

[–] SexualPolytope@lemmy.sdf.org 7 points 1 year ago

Yes, it does. It just repackages it from .m4a to .opus without re-encoding the actual audio stream.