#232(undetermined:new): bogus error message with amr files: [amrnb @ 0x626e90] dtx mode not implemented.
#232: bogus error message with amr files: [amrnb @ 0x626e90] dtx mode not implemented. ------------------------------+-------------------------- Reporter: matteosistisette | Type: defect Status: new | Priority: critical Component: undetermined | Version: unspecified Keywords: | Blocked By: Blocking: | Reproduced: 0 Analyzed: 0 | ------------------------------+-------------------------- I've just compiled the latest version of ffmpeg from the SVN on a CentOS machine and when I try to decode amr audio files I get this error (repeated a lot of times): {{{ [amrnb @ 0x626e90] dtx mode not implemented. Update your FFmpeg version to the newest one from SVN. If the problem still occurs, it means that your file has a feature which has not been implemented.If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. }}} On another box, an Ubuntu one, I have installed the ffmpeg package from the repositories and it works fine with the same files. Also, on yet another CentOS box I am using a several-year-old version of ffmpeg that was compiled ages ago which can decode the same amr files just fine. So either the error message is completely wrong and the real problem with the files is different, or there has been some regression in that a feature that had already been implemented ages ago has been dropped. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/232> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#232: bogus error message with amr files: [amrnb @ 0x626e90] dtx mode not implemented. -----------------------------+---------------------- Reporter: matteosistisette | Owner: Type: enhancement | Status: open Priority: wish | Component: avcodec Version: git-master | Resolution: Keywords: amr amrnb | Blocked By: Blocking: | Reproduced: 1 Analyzed: 0 | -----------------------------+---------------------- Changes (by cehoyos): * status: new => open * reproduced: 0 => 1 * component: undetermined => avcodec * priority: critical => wish * version: unspecified => git-master * keywords: => amr amrnb * type: defect => enhancement Comment: Complete, uncut output missing, but I guess your two versions of FFmpeg use two different amr decoder. {{{ $ ffmpeg -i sound2.amr out.wav ffmpeg version git-N-30155-g01a73d6, Copyright (c) 2000-2011 the FFmpeg developers built on May 23 2011 16:04:23 with gcc 4.5.3 configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32' --enable-gpl libavutil 51. 2. 1 / 51. 2. 1 libavcodec 53. 6. 0 / 53. 6. 0 libavformat 53. 2. 0 / 53. 2. 0 libavdevice 53. 0. 0 / 53. 0. 0 libavfilter 2. 10. 0 / 2. 10. 0 libswscale 0. 14. 0 / 0. 14. 0 libpostproc 51. 2. 0 / 51. 2. 0 [amr @ 0x8ca5b20] max_analyze_duration 5000000 reached at 5000000 [amr @ 0x8ca5b20] Estimating duration from bitrate, this may be inaccurate Input #0, amr, from 'sound2.amr': Duration: 00:00:12.43, bitrate: 5 kb/s Stream #0.0: Audio: amrnb, 8000 Hz, 1 channels, flt, 5 kb/s Incompatible sample format 'flt' for codec 'pcm_s16le', auto-selecting format 's16' Output #0, wav, to 'out.wav': Metadata: encoder : Lavf53.2.0 Stream #0.0: Audio: pcm_s16le, 8000 Hz, 1 channels, s16, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop, [?] for help [amrnb @ 0x8ca7900] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x8ca7900] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 ... [amrnb @ 0x8ca7900] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x8ca7900] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 size= 227kB time=14.52 bitrate= 128.0kbits/s video:0kB audio:227kB global headers:0kB muxing overhead 0.018939% }}} -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/232#comment:1> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#232: bogus error message with amr files: [amrnb @ 0x626e90] dtx mode not implemented. -----------------------------+---------------------- Reporter: matteosistisette | Owner: Type: enhancement | Status: open Priority: wish | Component: avcodec Version: git-master | Resolution: Keywords: amr amrnb | Blocked By: Blocking: | Reproduced: 1 Analyzed: 0 | -----------------------------+---------------------- Comment (by matteosistisette): Here's the output of ffmpeg -formats from the '''working versions''': $ ffmpeg -formats | grep amr {{{ DE amr 3GPP AMR file format DEA libopencore_amrnb OpenCORE Adaptive Multi-Rate (AMR) Narrow-Band D A libopencore_amrwb OpenCORE Adaptive Multi-Rate (AMR) Wide-Band }}} while the '''non-working version''' returns only: {{{ DE amr 3GPP AMR file format }}} So, if I compiled it with --enable-libopencore-amrnb --enable-libopencore- amrwb and I have libopencore-amr installed, why does libopencore seem to be missing? -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/232#comment:2> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#232: bogus error message with amr files: [amrnb @ 0x626e90] dtx mode not implemented. -----------------------------+---------------------- Reporter: matteosistisette | Owner: Type: enhancement | Status: open Priority: wish | Component: avcodec Version: git-master | Resolution: Keywords: amr amrnb | Blocked By: Blocking: | Reproduced: 1 Analyzed: 0 | -----------------------------+---------------------- Comment (by matteosistisette): Complete uncut output # ffmpeg -i sound2.amr sound2.wav ffmpeg version git-N-30158-g5f3c436, Copyright (c) 2000-2011 the FFmpeg developers built on May 23 2011 23:28:01 with gcc 4.1.2 20080704 (Red Hat 4.1.2-50) configuration: --enable-version3 --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable- nonfree --enable-avfilter --enable-pthreads --extra-cflags=-fPIC libavutil 51. 2. 1 / 51. 2. 1 libavcodec 53. 6. 0 / 53. 6. 0 libavformat 53. 2. 0 / 53. 2. 0 libavdevice 53. 0. 0 / 53. 0. 0 libavfilter 2. 10. 0 / 2. 10. 0 libswscale 0. 14. 0 / 0. 14. 0 libpostproc 51. 2. 0 / 51. 2. 0 [amr @ 0x62cb60] max_analyze_duration 5000000 reached at 5000000 [amr @ 0x62cb60] Estimating duration from bitrate, this may be inaccurate Input #0, amr, from 'sound2.amr': Duration: 00:00:12.43, bitrate: 5 kb/s Stream #0.0: Audio: amrnb, 8000 Hz, 1 channels, flt, 5 kb/s Incompatible sample format 'flt' for codec 'pcm_s16le', auto-selecting format 's16' Output #0, wav, to 'sound2.wav': Metadata: encoder : Lavf53.2.0 Stream #0.0: Audio: pcm_s16le, 8000 Hz, 1 channels, s16, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop, [?] for help [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 [amrnb @ 0x62eaa0] dtx mode not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [amrnb @ 0x62eaa0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. Error while decoding stream #0.0 size= 227kB time=14.52 bitrate= 128.0kbits/s video:0kB audio:227kB global headers:0kB muxing overhead 0.018939% -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/232#comment:3> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#232: [amrnb @ 0x626e90] dtx mode not implemented. -----------------------------+---------------------- Reporter: matteosistisette | Owner: Type: enhancement | Status: open Priority: wish | Component: avcodec Version: git-master | Resolution: Keywords: amr amrnb | Blocked By: Blocking: | Reproduced: 1 Analyzed: 0 | -----------------------------+---------------------- Comment (by cehoyos): Please confirm that you also get this output if you configure FFmpeg with --disable-decoder=amrnb (And the command to show the available codecs is ffmpeg -codecs) -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/232#comment:4> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#232: [amrnb @ 0x626e90] dtx mode not implemented. -----------------------------+---------------------- Reporter: matteosistisette | Owner: Type: enhancement | Status: open Priority: wish | Component: avcodec Version: git-master | Resolution: Keywords: amr amrnb | Blocked By: Blocking: | Reproduced: 1 Analyzed: 0 | -----------------------------+---------------------- Comment (by matteosistisette):
(And the command to show the available codecs is ffmpeg -codecs)
Hm, interesting. On the non-working box, ffmpeg -codecs shows: D A amrnb Adaptive Multi-Rate NarrowBand D A amrwb Adaptive Multi-Rate WideBand DEA libopencore_amrnb OpenCORE Adaptive Multi-Rate (AMR) Narrow-Band D A libopencore_amrwb OpenCORE Adaptive Multi-Rate (AMR) Wide-Band But how do you explain the difference in the output of -formats? May the problem actually be the amr container and not the codec? Btw on the working boxes, ffmpeg -codecs shows: ffmpeg: missing argument for option '-codecs' :O -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/232#comment:5> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#232: [amrnb @ 0x626e90] dtx mode not implemented. -----------------------------+---------------------- Reporter: matteosistisette | Owner: Type: enhancement | Status: open Priority: wish | Component: avcodec Version: git-master | Resolution: Keywords: amr amrnb | Blocked By: Blocking: | Reproduced: 1 Analyzed: 0 | -----------------------------+---------------------- Comment (by matteosistisette): Replying to [comment:4 cehoyos]:
Please confirm that you also get this output if you configure FFmpeg with --disable-decoder=amrnb (And the command to show the available codecs is ffmpeg -codecs)
YESS!! :)) I mean, no, after configuring it with --disable-decoder=amrnb and recompiling it works!!! Now the question is: should that be necessary? If there is any conflict, shouldn't it be detected? Isn't amrnb supposed to be already disabled? -- Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/232#comment:6> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#232: amrnb dec: dtx mode not implemented. -------------------------------------+------------------------------------- Reporter: | Owner: matteosistisette | Status: open Type: enhancement | Component: avcodec Priority: wish | Resolution: Version: git-master | Blocked By: Keywords: amr amrnb | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Timothy_Gu): Replying to [comment:6 matteosistisette]:
Now the question is: should that be necessary? If there is any conflict, shouldn't it be detected? Isn't amrnb supposed to be already disabled?
The FFmpeg default native amrnb decoder does NOT support dtx, but the libopencore_amrnb does. By disabling the native one at build time, you force ffmpeg to use the opencore one which supports etc. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/232#comment:7> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg