[FFmpeg-user] Getting Unknown encoder 'libopencore-amrwb'

Govind Rathi govindji007 at gmail.com
Wed Dec 14 07:30:39 EET 2022


Hi Carl,

Thank you very much for quick response.
But I am still facing the same issue after making the changes as you
suggested.


*>ffmpeg -f amrwb -ac 1 -i 1111.raw -c:a libopencore_amrwb output.amr*

ffmpeg version N-109417-g5a46647f00 Copyright (c) 2000-2022 the FFmpeg
developers

  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)

  configuration: --enable-gpl --enable-version3 --enable-libmp3lame
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libopencore-amrnb --enable-libopencore_amrwb --disable-static
--enable-shared

  libavutil      57. 43.100 / 57. 43.100

  libavcodec     59. 55.100 / 59. 55.100

  libavformat    59. 34.102 / 59. 34.102

  libavdevice    59.  8.101 / 59.  8.101

  libavfilter     8. 52.100 /  8. 52.100

  libswscale      6.  8.112 /  6.  8.112

  libswresample   4.  9.100 /  4.  9.100

  libpostproc    56.  7.100 / 56.  7.100

[amrwb @ 0x55c1d41bd8c0] Encountered a bad or corrupted frame

[amrwb @ 0x55c1d41b44c0] Estimating duration from bitrate, this may be
inaccurate

Input #0, amrwb, from '1111.raw':

  Duration: 00:03:11.66, bitrate: 8 kb/s

  Stream #0:0: Audio: amr_wb, 16000 Hz, mono, fltp, 8 kb/s

Unknown encoder 'libopencore_amrwb'




*>ffmpeg -f amrwb -ac 1 -i 1111.raw -c:a libopencore-amrwb output.amr*

ffmpeg version N-109417-g5a46647f00 Copyright (c) 2000-2022 the FFmpeg
developers

  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)

  configuration: --enable-gpl --enable-version3 --enable-libmp3lame
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libopencore-amrnb --enable-libopencore_amrwb --disable-static
--enable-shared

  libavutil      57. 43.100 / 57. 43.100

  libavcodec     59. 55.100 / 59. 55.100

  libavformat    59. 34.102 / 59. 34.102

  libavdevice    59.  8.101 / 59.  8.101

  libavfilter     8. 52.100 /  8. 52.100

  libswscale      6.  8.112 /  6.  8.112

  libswresample   4.  9.100 /  4.  9.100

  libpostproc    56.  7.100 / 56.  7.100

[amrwb @ 0x55ff219558c0] Encountered a bad or corrupted frame

[amrwb @ 0x55ff2194c4c0] Estimating duration from bitrate, this may be
inaccurate

Input #0, amrwb, from '1111.raw':

  Duration: 00:03:11.66, bitrate: 8 kb/s

  Stream #0:0: Audio: amr_wb, 16000 Hz, mono, fltp, 8 kb/s

Unknown encoder 'libopencore-amrwb'




Can you please help?

I tried with both libopencore_amrwb and libopencore-amrwb (with and without
underscore) options for encoder.

Still getting the same response.





On Wed, Dec 14, 2022 at 12:24 AM Carl Eugen Hoyos <ceffmpeg at gmail.com>
wrote:

> Am Di., 13. Dez. 2022 um 08:57 Uhr schrieb Govind Rathi <
> govindji007 at gmail.com>:
>
> > configuration: --enable-gpl --enable-version3 --enable-libmp3lame
> > --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
> > --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb
> > --enable-libvo_amrwbenc --disable-static --enable-shared
>
> Please remove "enable-nonfree" from your configure line, you apparently
> don't know why it exists.
>
> You should not need two amrwb encoders.
>
> > Unknown encoder 'libopencore-amrwb'
>
> The name of the encoder is:
> libopencore_amrwb
> (Note the underscore.)
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


-- 
Regards,
Mr. Govind K. Rathi <https://in.linkedin.com/in/rathigovind>

*+91 940 429 5128*


More information about the ffmpeg-user mailing list