[FFmpeg-trac] #1458(avfilter:open): aconvert crashes on channel count change (was: FFMPEG Crashing on converting AC3 to AAC)
FFmpeg
trac at avcodec.org
Sun Jun 17 21:10:08 CEST 2012
#1458: aconvert crashes on channel count change
-------------------------------------+------------------------------------
Reporter: ramitbhalla | Owner:
Type: defect | Status: open
Priority: important | Component: avfilter
Version: git-master | Resolution:
Keywords: aconvert | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Changes (by cehoyos):
* status: new => open
* reproduced: 0 => 1
* component: undetermined => avfilter
* version: unspecified => git-master
* keywords: => aconvert
Comment:
{{{
(gdb) r -async 1 -i channelschange.ac3 -f null -
Starting program: /home/cehoyos/Projects/FFmpeg/ffmpeg_g -async 1 -i
channelschange.ac3 -f null -
[Thread debugging using libthread_db enabled]
ffmpeg version N-41656-g1125606 Copyright (c) 2000-2012 the FFmpeg
developers
built on Jun 17 2012 21:02:16 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl
libavutil 51. 58.100 / 51. 58.100
libavcodec 54. 25.100 / 54. 25.100
libavformat 54. 6.101 / 54. 6.101
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 81.100 / 2. 81.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[ac3 @ 0x14b2120] max_analyze_duration 5000000 reached at 5024000
[ac3 @ 0x14b2120] Estimating duration from bitrate, this may be inaccurate
Input #0, ac3, from 'channelschange.ac3':
Duration: 00:00:07.84, start: 0.000000, bitrate: 192 kb/s
Stream #0:0: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
-async is forwarded to lavfi similarly to -af
aresample=min_comp=0.001:min_hard_comp=0.100000.
[aresample @ 0x14b2d40] chl:stereo fmt:s16 r:48000Hz -> chl:stereo fmt:s16
r:48000Hz
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf54.6.101
Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (ac3 -> pcm_s16le)
Press [q] to stop, [?] for help
Input stream #0:0 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 @ 0x14b77a0] chl:5.1(side) fmt:s16 r:48000Hz -> chl:stereo
fmt:s16 r:48000Hz
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff66b0a37 in memcpy () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff66b0a37 in memcpy () from /lib64/libc.so.6
#1 0x0000000000aa8f33 in swr_convert (s=0x14fc280, out_arg=<value
optimized out>, out_count=0,
in_arg=<value optimized out>, in_count=296448) at
libswresample/swresample.c:710
#2 0x0000000000aa959b in swr_inject_silence (s=0x14fc280, count=296448)
at libswresample/swresample.c:750
#3 0x0000000000aa9721 in swr_next_pts (s=0x14fc280, pts=<value optimized
out>)
at libswresample/swresample.c:767
#4 0x000000000044e3b2 in filter_samples (inlink=0x14b2c80,
insamplesref=0x14e2160)
at libavfilter/af_aresample.c:182
#5 0x000000000041f1f3 in ff_filter_samples (link=0x14b2c80,
samplesref=<value optimized out>)
at libavfilter/audio.c:214
#6 0x0000000000423caa in request_frame (link=0x14b2c80) at
libavfilter/buffersrc.c:445
#7 0x00000000004211ce in ff_request_frame (link=<value optimized out>) at
libavfilter/avfilter.c:325
#8 avfilter_request_frame (link=<value optimized out>) at
libavfilter/avfilter.c:594
#9 0x000000000044e203 in request_frame (outlink=0x14b8280) at
libavfilter/af_aresample.c:214
#10 0x0000000000420370 in ff_request_frame (link=<value optimized out>) at
libavfilter/avfilter.c:325
#11 0x00000000004237c2 in av_buffersink_read (ctx=0x14b2b40,
buf=0x7fffffffcb90)
at libavfilter/buffersink.c:109
#12 0x000000000040d152 in poll_filters () at ffmpeg.c:1927
#13 0x0000000000410e83 in transcode () at ffmpeg.c:3608
#14 0x00000000004151b4 in main (argc=<value optimized out>, argv=<value
optimized out>) at ffmpeg.c:5917
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1458#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list