Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when using "--audio-format vorbis", will a opus file be embedded in a ogg container or transcoded to vorbis? #14260

Closed
jjgh opened this issue Sep 19, 2017 · 2 comments

Comments

@jjgh
Copy link

@jjgh jjgh commented Sep 19, 2017

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 see that the resulting file extension is .ogg, but is the opus file being transcoded to Vorbis, or is it only being embedded in the resulting ogg container?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 19, 2017

> py -3.6 .\youtube_dl\__main__.py BaW_jenozKc -f 'bestaudio[acodec^=opus]' -x --audio-format vorbis
...
[download] Destination: youtube-dl test video ''_ä↭𝕐-BaW_jenozKc.webm
[download] 100% of 186.27KiB in 00:00
[ffmpeg] Destination: youtube-dl test video ''_ä↭𝕐-BaW_jenozKc.ogg
Deleting original file youtube-dl test video ''_ä↭𝕐-BaW_jenozKc.webm (pass -k to keep)
> ffmpeg.exe -i '.\youtube-dl test video ''''_ä↭𝕐-BaW_jenozKc.ogg'
...
Input #0, ogg, from '.\youtube-dl test video ''_├дтЖнЁЭХР-BaW_jenozKc.ogg':
  Duration: 00:00:09.85, start: 0.000000, bitrate: 94 kb/s
    Stream #0:0(eng): Audio: vorbis, 48000 Hz, stereo, fltp, 160 kb/s
    Metadata:
      LANGUAGE        : eng
      ENCODER         : Lavc57.93.100 libvorbis
At least one output file must be specified
 ENCODER         : Lavc57.93.100 libvorbis
@dstftw dstftw closed this Sep 19, 2017
@jjgh
Copy link
Author

@jjgh jjgh commented Sep 21, 2017

@dstftw ok, so it seems it's just being copied into the new container and no transcoding is happening, correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.