Getting Unknown encoder 'libopencore-amrwb'
Hi, I have installed the ffmpeg and configured as below - 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 I am saving the AMR-WB RTP jackets to a raw file from Wireshark. Then trying to convert the raw file to amr file using ffmpeg. Command used and its result -
ffmpeg -f amrwb -i 1111.raw -c:a libopencore-amrwb output_file.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-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo_amrwbenc --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 @ 0x55790a5aa880] Encountered a bad or corrupted frame [amrwb @ 0x55790a5a1440] 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 me with the proper command or any other solution to fix the error? -- Regards, Mr. Govind K. Rathi <https://in.linkedin.com/in/rathigovind> *+91 940 429 5128*
Am Di., 13. Dez. 2022 um 08:57 Uhr schrieb Govind Rathi <govindji007@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
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@gmail.com> wrote:
Am Di., 13. Dez. 2022 um 08:57 Uhr schrieb Govind Rathi < govindji007@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@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
-- Regards, Mr. Govind K. Rathi <https://in.linkedin.com/in/rathigovind> *+91 940 429 5128*
Am Mi., 14. Dez. 2022 um 06:31 Uhr schrieb Govind Rathi <govindji007@gmail.com>:
Thank you very much for quick response. But I am still facing the same issue after making the changes as you suggested.
Sorry for the wrong advice, please try: --enable-gpl --enable-version3 --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --libvo_amrwbenc --disable-static --enable-shared The name of the encoder is "libvo_amrwbenc" Please find out what top-posting means and avoid it here. I hope this helps, Carl Eugen
Thanks Carl, It worked now but still I am not able to get the proper audio after the conversion. I am attaching you the raw file and the command as well as the output amr file. Can you please help me out whether its raw file issue or am I missing any option/paramater in ffmpeg command?
ffmpeg -f amrwb -ac 1 -i 1234.raw -c:a libvo_amrwbenc output.amr
Appreciate your help on this. On Wed, Dec 14, 2022 at 4:24 PM Carl Eugen Hoyos <ceffmpeg@gmail.com> wrote:
Am Mi., 14. Dez. 2022 um 06:31 Uhr schrieb Govind Rathi < govindji007@gmail.com>:
Thank you very much for quick response. But I am still facing the same issue after making the changes as you suggested.
Sorry for the wrong advice, please try: --enable-gpl --enable-version3 --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --libvo_amrwbenc --disable-static --enable-shared
The name of the encoder is "libvo_amrwbenc"
Please find out what top-posting means and avoid it here.
I hope this helps, Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
-- Regards, Mr. Govind K. Rathi <https://in.linkedin.com/in/rathigovind> *+91 940 429 5128*
Hi Carl, Just to dd more I have clone the git://source.ffmpeg.org/ffmpeg master branch from this repository. Please do let me know if I need to switch to any other branch to make it working properly. Thanks again for your help and support. On Thu, Dec 15, 2022 at 11:23 AM Govind Rathi <govindji007@gmail.com> wrote:
Thanks Carl,
It worked now but still I am not able to get the proper audio after the conversion. I am attaching you the raw file and the command as well as the output amr file.
Can you please help me out whether its raw file issue or am I missing any option/paramater in ffmpeg command?
ffmpeg -f amrwb -ac 1 -i 1234.raw -c:a libvo_amrwbenc output.amr
Appreciate your help on this.
On Wed, Dec 14, 2022 at 4:24 PM Carl Eugen Hoyos <ceffmpeg@gmail.com> wrote:
Am Mi., 14. Dez. 2022 um 06:31 Uhr schrieb Govind Rathi < govindji007@gmail.com>:
Thank you very much for quick response. But I am still facing the same issue after making the changes as you suggested.
Sorry for the wrong advice, please try: --enable-gpl --enable-version3 --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --libvo_amrwbenc --disable-static --enable-shared
The name of the encoder is "libvo_amrwbenc"
Please find out what top-posting means and avoid it here.
I hope this helps, Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
-- Regards, Mr. Govind K. Rathi <https://in.linkedin.com/in/rathigovind>
*+91 940 429 5128*
-- Regards, Mr. Govind K. Rathi <https://in.linkedin.com/in/rathigovind> *+91 940 429 5128*
Am Do., 15. Dez. 2022 um 06:54 Uhr schrieb Govind Rathi <govindji007@gmail.com>:
It worked now but still I am not able to get the proper audio after the conversion. I am attaching you the raw file and the command
The file contains stereo sound which is currently not supported for raw amr input files.
as well as the output amr file.
This is practically never useful. If you want support on this mailing list, please learn quickly what top-posting means and avoid it here! Carl Eugen
participants (2)
-
Carl Eugen Hoyos -
Govind Rathi