5

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

1 Answer 1

6

Simple, use vorbis instead of ogg in your command

1
  • 1
    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?
    – red-o-alf
    Sep 19, 2017 at 7:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .