2

how can I download a playlist to ogg?

youtube-dl --extract-audio --audio-format mp3 <url to playlist>

I'm trying:

youtube-dl --extract-audio --audio-format ogg <url to playlist>

Error:

youtube-dl: error: invalid audio format specified

4

Simple, use vorbis instead of ogg in your command

  • Since ogg is a container for both Vorbis and Opus, do you know what will happen when I download an audio only (DASH) .opus file, together with the parameter --audio-format vorbis? I can see that the resulting file is a .ogg file, but is the .opus file being transcoded to Vorbis, or is it only being embedded as is in the resulting ogg container? – jj_ Sep 19 '17 at 7:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.