[FFmpeg-trac] #1694(avcodec:open): Decoding a possibly damaged aac sample fails from a specific position on
FFmpeg
trac at avcodec.org
Thu Jan 10 12:03:15 CET 2013
#1694: Decoding a possibly damaged aac sample fails from a specific position on
-------------------------------------+-------------------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: open
Priority: important | Component: avcodec
Version: git-master | Resolution:
Keywords: aac | Blocked By:
regression | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by cehoyos):
A user reported a problem with the aac decoder that is also a regression
since 1232723 / 9fb7e14:
http://thread.gmane.org/gmane.comp.video.ffmpeg.libav.user/9641
Sample attached.
{{{
$ ffmpeg -i only_decode_3rd_channel_large.aac out.wav
ffmpeg version N-48693-g452f632 Copyright (c) 2000-2013 the FFmpeg
developers
built on Jan 10 2013 12:00:56 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --disable-indev=jack
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.107 / 54. 59.107
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[aac_latm @ 0x2781780] initializing latmctx
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
[loas @ 0x277b3c0] max_analyze_duration 5000000 reached at 5034667
[loas @ 0x277b3c0] Estimating duration from bitrate, this may be
inaccurate
Input #0, loas, from 'only_decode_3rd_channel_large.aac':
Duration: N/A, bitrate: N/A
Stream #0:0: Audio: aac_latm, 48000 Hz, 5.1, fltp
Output #0, wav, to 'out.wav':
Metadata:
ISFT : Lavf54.59.107
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 5.1,
s16, 4608 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (aac_latm -> pcm_s16le)
Press [q] to stop, [?] for help
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
[aac_latm @ 0x2781780] channel element 0.2 is not allocated
Error while decoding stream #0:0: Operation not permitted
Error while decoding stream #0:0: Invalid data found when processing input
size= 9072kB time=00:00:17.57 bitrate=4227.8kbits/s
video:0kB audio:9072kB subtitle:0 global headers:0kB muxing overhead
0.001098%
}}}
out.wav starts as a 5.1 file with audio on several channels, after a
second, only the center channel is not silent, also reproducible with
ffplay -showmode 1
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1694#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list