[FFmpeg-trac] #574(avcodec:new): latm_aac decoding regression (corrupted audio)

FFmpeg trac at avcodec.org
Thu Oct 20 19:21:20 CEST 2011


#574: latm_aac decoding regression (corrupted audio)
-----------------------------------+--------------------------------------
             Reporter:  heleppkes  |                     Type:  defect
               Status:  new        |                 Priority:  normal
            Component:  avcodec    |                  Version:  git-master
             Keywords:  latm aac   |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+--------------------------------------
 Hi,

 Attached latm_aac file decodes rather corrupted after the fix for
 Ticket200. Its a recoding from DVB-T, demuxed from mpeg-ts.

 Reverting the change in question fixes the problem.
 For reference, this commit:
 http://git.videolan.org/?p=ffmpeg.git;a=commit;h=0bc5d4fd8bbb63be172978e888834a88a1e64fb0

 FWIW, i rather similar change was applied before, and reverted after,
 because it also broke decoding of some samples, see here:
 http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=d6f66edd65992c1275f8e4271be212e1a4808425

 ffmpeg log:


 command:ffmpeg -i Issue200Regression.latm out.ac3

 ffmpeg version 0.8.5.git, Copyright (c) 2000-2011 the FFmpeg developers
   built on Oct 18 2011 17:47:31 with gcc 4.6.1
   configuration: --extra-cflags='-mmmx -msse' --enable-shared --enable-
 memalign-hack --enable-gpl --enable-w32threads --
 enable-runtime-cpudetect --enable-asm --disable-postproc --enable-zlib
 --disable-static --disable-altivec --enable-muxer
 s --enable-encoders --enable-debug --enable-ffplay --disable-avconv
 --disable-ffserver --enable-ffmpeg --enable-ffprobe
 --disable-devices --disable-filters --disable-avfilter --enable-swscale
 --disable-avdevice --disable-hwaccels --enable-b
 sfs --disable-network --arch=x86 --cpu=i686 --target-os=mingw32
   libavutil    51. 21. 0 / 51. 21. 0
   libavcodec   53. 21. 0 / 53. 21. 0
   libavformat  53. 16. 1 / 53. 16. 1
   libswscale    2.  1. 0 /  2.  1. 0
 [loas @ 00499040] max_analyze_duration 5000000 reached at 5034667
 [loas @ 00499040] Estimating duration from bitrate, this may be inaccurate
 Input #0, loas, from 'Issue200Regression.latm':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Audio: aac_latm, 48000 Hz, 2 channels (FC), s16
 Incompatible sample format 's16' for codec 'ac3', auto-selecting format
 'flt'
 [ac3 @ 00680a60] channel_layout not specified
 [ac3 @ 00680a60] No channel layout specified. The encoder will guess the
 layout, but it might be incorrect.
 Output #0, ac3, to 'out.ac3':
   Metadata:
     encoder         : Lavf53.16.1
     Stream #0:0: Audio: ac3, 48000 Hz, stereo, flt, 128 kb/s
 Stream mapping:
   Stream #0.0 -> #0.0 (aac_latm -> ac3)
 Press [q] to stop, [?] for help
 [SWR @ 00670ec0] Input channel layout has a different number of channels
 than there actually is, ignoring layout
 size=     212kB time=00:00:13.56 bitrate= 128.0kbits/s
 video:0kB audio:212kB global headers:0kB muxing overhead 0.000000%

-- 
Ticket URL: <http://www.avcodec.org/trac/ffmpeg/ticket/574>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list