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


yt-dlp has the
-Fparameter to list the available stream formats. (uppercase F to list, lowercase f to select)I use
-f 251to download the opus audio stream, and afterwards useffmpeg -i file -c copy file.opusto copy the opus audio stream in an opus file format file (codeccopyso without encoding losses).