#7113(avcodec:new): NO_DATA is discarded from the AMR stream
#7113: NO_DATA is discarded from the AMR stream -------------------------------------+------------------------------------- Reporter: blikjeham | Type: defect Status: new | Priority: normal Component: avcodec | Version: Keywords: amr NO_DATA | unspecified Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- NO_DATA is discarded from the AMR streams, resulting in no silence between audio segments. How to reproduce: {{{ % ffmpeg -y -f amr -i input.awb output.au ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers built on Jun 17 2014 01:25:46 with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-16) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libdc1394 --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp- buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC' --disable- stripping libavutil 52. 66.100 / 52. 66.100 libavcodec 55. 52.102 / 55. 52.102 libavformat 55. 33.100 / 55. 33.100 libavdevice 55. 10.100 / 55. 10.100 libavfilter 4. 2.100 / 4. 2.100 libswscale 2. 5.102 / 2. 5.102 libswresample 0. 18.100 / 0. 18.100 libpostproc 52. 3.100 / 52. 3.100 [amr @ 0x1e8a9c0] Estimating duration from bitrate, this may be inaccurate Input #0, amr, from 'input.awb': Duration: 00:01:03.75, bitrate: 7 kb/s Stream #0:0: Audio: amr_wb (sawb / 0x62776173), 16000 Hz, mono, flt, 7 kb/s Output #0, au, to 'output.au': Metadata: encoder : Lavf55.33.100 Stream #0:0: Audio: pcm_s16be ([3][0][0][0] / 0x0003), 16000 Hz, mono, s16, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (amrwb -> pcm_s16be) Press [q] to stop, [?] for help [amrwb @ 0x1e93720] Invalid mode 15 Error while decoding stream #0:0: Invalid data found when processing input }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/7113> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7113: NO_DATA is discarded from the AMR stream -------------------------------------+------------------------------------- Reporter: blikjeham | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: unspecified | Resolution: Keywords: amrnb | needs_more_info Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: amr NO_DATA => amrnb * status: new => closed * resolution: => needs_more_info Comment: Please reopen this ticket if you can provide a sample. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7113#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7113: NO_DATA is discarded from the AMR stream -------------------------------------+------------------------------------ Reporter: blikjeham | Owner: Type: defect | Status: reopened Priority: normal | Component: avcodec Version: unspecified | Resolution: Keywords: amrnb amrwb | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by blikjeham): * keywords: amrnb => amrnb amrwb * status: closed => reopened * resolution: needs_more_info => Comment: I have added a sample of AMR WB with silence in it. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7113#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7113: NO_DATA is discarded from the AMR stream ------------------------------------+------------------------------------ Reporter: blikjeham | Owner: Type: defect | Status: reopened Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: amrwb | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: amrnb amrwb => amrwb * version: unspecified => git-master Comment: Can you also provide a file that provides the expected output? -- Ticket URL: <https://trac.ffmpeg.org/ticket/7113#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7113: NO_DATA is discarded from the AMR stream ------------------------------------+------------------------------------ Reporter: blikjeham | Owner: Type: defect | Status: reopened Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: amrwb | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by blikjeham): Replying to [comment:3 cehoyos]:
Can you also provide a file that provides the expected output?
The expected output is hard to obtain, because I do not know of a way to produce the correct output from the AMR WB file. This is a bit of a catch 22; you need a file of expected output to produce a fix, but I need FFMEG to create a file with expected output. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7113#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7113: NO_DATA is discarded from the AMR stream ------------------------------------+------------------------------------ Reporter: blikjeham | Owner: Type: defect | Status: reopened Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: amrwb | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): If all decoders that support AMR-WB create the same output as FFmpeg, maybe there is no bug or missing feature that can be implemented? -- Ticket URL: <https://trac.ffmpeg.org/ticket/7113#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7113: NO_DATA is discarded from the AMR stream ------------------------------------+------------------------------------ Reporter: blikjeham | Owner: Type: defect | Status: reopened Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: amrwb | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by cehoyos): Expected output attached. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7113#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7113: NO_DATA is discarded from the AMR stream ------------------------------------+----------------------------------- Reporter: blikjeham | Owner: Type: defect | Status: closed Priority: normal | Component: avcodec Version: git-master | Resolution: fixed Keywords: amrwb | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * status: reopened => closed * resolution: => fixed * reproduced: 0 => 1 Comment: The sample sounds significantly more similar to the refrerence output since e426f71c96e9fac3ff87f51cfe7df603220fbd5d The decoder still does not output comfort noise though (but silence). -- Ticket URL: <https://trac.ffmpeg.org/ticket/7113#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg