Opened 13 years ago
Closed 13 years ago
#1366 closed defect (fixed)
aac enc crash
Reported by: | ami_stuff | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | unspecified | Keywords: | aac |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
http://samples.mplayerhq.hu/V-codecs/PIM1/PIM1.avi
(gdb) r -acodec ac3 -i PIM1.avi -vn -acodec aac -strict -2 -f null - Starting program: d:\mingw\msys\1.0\ffmpeg-head-ab7d6cb\ffmpeg_g.exe -acodec ac3 -i PIM1.avi -vn -acodec aac -strict -2 -f null - [New Thread 3568.0xdf4] ffmpeg version 0.10.2.git-ab7d6cb Copyright (c) 2000-2012 the FFmpeg developers built on May 27 2012 11:57:57 with gcc 4.6.1 configuration: --disable-ffprobe --enable-gpl libavutil 51. 55.100 / 51. 55.100 libavcodec 54. 23.100 / 54. 23.100 libavformat 54. 6.101 / 54. 6.101 libavdevice 54. 0.100 / 54. 0.100 libavfilter 2. 77.100 / 2. 77.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 [avi @ 03bc2340] non-interleaved AVI Input #0, avi, from 'PIM1.avi': Duration: 00:04:11.23, start: 0.000000, bitrate: 66 kb/s Stream #0:0: Video: mpeg1video (PIM1 / 0x314D4950), yuv420p, 352x288 [SAR 49 :33 DAR 49:27], 4783 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc Stream #0:1: Audio: ac3 ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 80 k b/s (karaoke) [aformat @ 03bd3cc0] auto-inserting filter 'auto-inserted resampler 0' between t he filter 'src' and the filter 'aformat' [aresample @ 03bd3f60] chl:stereo fmt:s16 r:48000Hz -> chl:stereo fmt:flt r:4800 0Hz Output #0, null, to 'pipe:': Metadata: encoder : Lavf54.6.101 Stream #0:0: Audio: aac, 48000 Hz, stereo, flt, 128 kb/s (karaoke) Stream mapping: Stream #0:1 -> #0:0 (ac3 -> aac) Press [q] to stop, [?] for help [ac3 @ 04136900] frame sync error Error while decoding stream #0:1 [ac3 @ 04136900] frame CRC mismatch DTS 18479, next:831773 st:1 invalid dropping PTS 18479, next:831773 invalid dropping st:1 [ac3 @ 04136900] frame sync error Error while decoding stream #0:1 [ac3 @ 04136900] frame CRC mismatch Input stream #0:1 frame changed from rate:48000 fmt:s16 ch:2 chl:stereo to rate: 24000 fmt:s16 ch:2 chl:stereo [aformat @ 03bd5a20] auto-inserting filter 'auto-inserted resampler 0' between t he filter 'src' and the filter 'aformat' [aresample @ 03bd67c0] chl:stereo fmt:s16 r:24000Hz -> chl:stereo fmt:flt r:4800 0Hz Program received signal SIGSEGV, Segmentation fault. 0x00a07a40 in quantize_and_encode_band_cost_template (BT_ESC=0, BT_PAIR=1, BT_UNSIGNED=1, BT_ZERO=0, bits=0x0, uplim=inf, lambda=0, cb=7, scale_idx=68, size=4, scaled=<optimized out>, in=0x4168820, pb=0x0, s=0x4218020) at libavcodec/aaccoder.c:153 153 curbits = ff_aac_spectral_bits[cb-1][curidx]; (gdb) bt #0 0x00a07a40 in quantize_and_encode_band_cost_template (BT_ESC=0, BT_PAIR=1, BT_UNSIGNED=1, BT_ZERO=0, bits=0x0, uplim=inf, lambda=0, cb=7, scale_idx=68, size=4, scaled=<optimized out>, in=0x4168820, pb=0x0, s=0x4218020) at libavcodec/aaccoder.c:153 #1 quantize_and_encode_band_cost_UPAIR (s=0x4218020, pb=0x0, in=0x4168820, scaled=0x42193e0, size=4, scale_idx=68, cb=7, lambda=0, uplim=inf, bits=0x0) at libavcodec/aaccoder.c:227 #2 0x00a05897 in quantize_band_cost (bits=0x0, uplim=inf, lambda=0, cb=7, scale_idx=<optimized out>, size=4, scaled=0x42193e0, in=0x4168820, s=0x4218020) at libavcodec/aaccoder.c:262 #3 codebook_trellis_rate (s=0x4218020, sce=0x4166d60, win=1, group_len=3, lambda=1706.66663) at libavcodec/aaccoder.c:473 #4 0x0088922a in encode_band_info (sce=<optimized out>, s=<optimized out>) at libavcodec/aacenc.c:367 #5 encode_individual_channel (common_window=<optimized out>, sce=0x4166d60, s=0x4218020, avctx=0x3bcfb60) at libavcodec/aacenc.c:446 #6 aac_encode_frame (avctx=0x3bcfb60, avpkt=0x22e6b0, frame=0x3bd5120, got_packet_ptr=0x22e8bc) at libavcodec/aacenc.c:636 #7 0x00541533 in avcodec_encode_audio2 (avctx=0x3bcfb60, avpkt=0x22e6b0, frame=<optimized out>, got_packet_ptr=0x22e8bc) at libavcodec/utils.c:1106 #8 0x00407224 in do_audio_out (frame=<optimized out>, ost=<optimized out>, s=<optimized out>) at ffmpeg.c:1765 #9 poll_filters () at ffmpeg.c:2175 #10 0x0040e730 in transcode () at ffmpeg.c:3662 #11 0x00b14ee2 in main (argc=13, argv=0x3bd0e50) at ffmpeg.c:5926 (gdb)
Change History (4)
comment:1 by , 13 years ago
Component: | undetermined → avcodec |
---|---|
Keywords: | aac added |
Note:
See TracTickets
for help on using tickets.
Can you reproduce with current git head?
I see no issue with valgrind here.