[FFmpeg-trac] #1458(undetermined:new): FFMPEG Crashing on converting AC3 to AAC
FFmpeg
trac at avcodec.org
Sun Jun 17 14:52:45 CEST 2012
#1458: FFMPEG Crashing on converting AC3 to AAC
-------------------------------------+-------------------------------------
Reporter: ramitbhalla | Owner:
Type: defect | Status: new
Priority: important | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Changes (by ami_stuff):
* cc: ami_stuff@… (added)
Comment:
I have no libvo_aacenc build to test, but crashes (same effect with git-
a5c1a0c 13-Jun-2012) here with:
{{{
(gdb) r -async 1 -i "RemuxSup Fail H264.ts" -vn out.wav
Starting program: d:\mingw\msys\1.0\ffmpeg-head-ab7d6cb\ffmpeg_g.exe
-async 1 -i
"RemuxSup Fail H264.ts" -vn out.wav
[New Thread 3120.0xca4]
ffmpeg version 0.10.2.git-ab7d6cb Copyright (c) 2000-2012 the FFmpeg
developers
built on May 30 2012 13:37:47 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
[mpeg2video @ 041180e0] Warning: not compiled with thread support, using
thread
emulation
[ac3 @ 041184c0] Warning: not compiled with thread support, using thread
emulati
on
Input #0, mpegts, from 'RemuxSup Fail H264.ts':
Duration: 00:01:00.76, start: 1.400000, bitrate: 13806 kb/s
Program 1
Metadata:
service_name : Canal+ Comedia HD
service_provider: Canal+ Comedia HD
Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420
p, 1920x1080 [SAR 1:1 DAR 16:9], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50
tbc
Stream #0:1[0x101](dos): Audio: ac3 ([129][0][0][0] / 0x0081), 48000
Hz, ste
reo, s16, 192 kb/s
-async is forwarded to lavfi similarly to -af
aresample=min_comp=0.001:min_hard_
comp=0.100000.
[aresample @ 03bcbf40] chl:stereo fmt:s16 r:48000Hz -> chl:stereo fmt:s16
r:4800
0Hz
[pcm_s16le @ 03bbc7c0] Warning: not compiled with thread support, using
thread e
mulation
[ac3 @ 041184c0] Warning: not compiled with thread support, using thread
emulati
on
Output #0, wav, to 'out.wav':
Metadata:
encoder : Lavf54.6.101
Stream #0:0(dos): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
stereo
, s16, 1536 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (ac3 -> pcm_s16le)
Press [q] to stop, [?] for help
Input stream #0:1 frame changed from rate:48000 fmt:s16 ch:2 chl:stereo to
rate:
48000 fmt:s16 ch:6 chl:5.1(side)
-async is forwarded to lavfi similarly to -af
aresample=min_comp=0.001:min_hard_
comp=0.100000.
[aresample @ 03bcd620] chl:5.1(side) fmt:s16 r:48000Hz -> chl:stereo
fmt:s16 r:4
8000Hz
Program received signal SIGSEGV, Segmentation fault.
0x00aa35f8 in copy (out=0x22de88, in=0x413890c, count=2312856)
at libswresample/swresample.c:385
385 memcpy(out->ch[0], in->ch[0],
count*out->ch_count*out->bps);
(gdb) bt
#0 0x00aa35f8 in copy (out=0x22de88, in=0x413890c, count=2312856)
at libswresample/swresample.c:385
#1 0x00aa56ed in swr_convert (s=0x4138880, out_arg=0x0, out_count=0,
in_arg=0x22e090, in_count=2312856) at libswresample/swresample.c:710
#2 0x00aa5c91 in swr_inject_silence (s=0x4138880, count=2312856)
at libswresample/swresample.c:750
#3 0x00aa5e59 in swr_next_pts (s=0x4138880, pts=111017113600)
at libswresample/swresample.c:767
#4 0x00422a4c in filter_samples (inlink=0x3bce4a0,
insamplesref=0x3bced20)
at libavfilter/af_aresample.c:182
#5 0x0042089c in ff_filter_samples (link=0x3bce4a0, samplesref=0x3bced20)
at libavfilter/audio.c:217
#6 0x0041cad0 in request_frame (link=0x3bce4a0)
at libavfilter/buffersrc.c:392
#7 0x00419d93 in avfilter_request_frame (link=0x3bce4a0)
at libavfilter/avfilter.c:275
#8 0x00422811 in request_frame (outlink=0x3bce540)
at libavfilter/af_aresample.c:214
#9 0x00419d93 in avfilter_request_frame (link=0x3bcd560)
at libavfilter/avfilter.c:275
#10 0x0041be80 in av_buffersink_read (ctx=0x3bcd900, buf=0x22e8b4)
at libavfilter/buffersink.c:108
#11 0x00406e83 in poll_filters () at ffmpeg.c:2129
#12 0x0040e730 in transcode () at ffmpeg.c:3662
#13 0x00b12f42 in main (argc=7, argv=0x3bc0dc0) at ffmpeg.c:5926
(gdb)
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1458#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list