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

Opus from bestaudio(m4a)-audiosource? #14252

Closed
cyberpunkbln opened this issue Sep 18, 2017 · 2 comments
Closed

Opus from bestaudio(m4a)-audiosource? #14252

cyberpunkbln opened this issue Sep 18, 2017 · 2 comments

Comments

@cyberpunkbln
Copy link

@cyberpunkbln cyberpunkbln commented Sep 18, 2017

Hello,

a short Question, i want to extract and convert from a youtube-videosource to opus and receive following failure (url was only a test):


youtube-dl.exe -x --audio-format opus https://www.youtube.com/watch?v=eoVE4YufWR0
ERROR: audio conversion failed: Conversion failed!

Also the same with -f bestaudio, what was the same.

I know i can directly sniff webm/opus-audio but i have this tried for recovert in one step. mp4-audio with the best quality to an opus audio with experimental quality options. So i want to use youtube-dl for converting source-audio to opus in one step.

ffmpeg version N-87306-g6743351 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 75.100 / 55. 75.100
  libavcodec     57.106.101 / 57.106.101
  libavformat    57. 82.100 / 57. 82.100
  libavdevice    57.  8.101 / 57.  8.101
  libavfilter     6.105.100 /  6.105.100
  libswscale      4.  7.103 /  4.  7.103
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100

Youtube-DL 2017.09.15

Yes i have read all Issues and there are written solved :).

When i use ffmpeg with the codec libopus and not opus he covert correctly.

thx

@Hrxn
Copy link

@Hrxn Hrxn commented Sep 18, 2017

Can't you use -x --audio-fomat together with the format id (-F) from YouTube?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 18, 2017

--postprocessor-args "-strict -2".

@dstftw dstftw closed this Sep 18, 2017
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
3 participants
You can’t perform that action at this time.