Opened 4 months ago

Last modified 3 months ago

#7113 reopened defect

NO_DATA is discarded from the AMR stream

Reported by: blikjeham Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: amrwb
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Attachments (1)

ffmpeg-silence.awb (10.5 KB) - added by blikjeham 3 months ago.
AMR WB file with silence.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 4 months ago by cehoyos

  • Keywords amrnb added; amr NO_DATA removed
  • Resolution set to needs_more_info
  • Status changed from new to closed

Please reopen this ticket if you can provide a sample.

Changed 3 months ago by blikjeham

AMR WB file with silence.

comment:2 Changed 3 months ago by blikjeham

  • Keywords amrwb added
  • Resolution needs_more_info deleted
  • Status changed from closed to reopened

I have added a sample of AMR WB with silence in it.

comment:3 Changed 3 months ago by cehoyos

  • Keywords amrnb removed
  • Version changed from unspecified to git-master

Can you also provide a file that provides the expected output?

Note: See TracTickets for help on using tickets.