Carl Eugen Hoyos <[email protected]> added the comment:
Another avfilter-related regression (works fine with --disable-avfilter).
I was able to reproduce the exact original segfault, but this one is
significantly simpler to reproduce:
(gdb) r -i tests/data/lavf/lavf.dv -s 720x576 test.avi -s 512x288 test2.avi
FFmpeg version SVN-r24514, Copyright (c) 2000-2010 the FFmpeg developers
built on Jul 27 2010 17:58:19 with gcc 4.4.4
configuration: --disable-optimizations --cc=/usr/local/gcc-4.4.4/bin/gcc
libavutil 50.23. 0 / 50.23. 0
libavcore 0. 0. 0 / 0. 0. 0
libavcodec 52.84. 0 / 52.84. 0
libavformat 52.77. 0 / 52.77. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.26. 1 / 1.26. 1
libswscale 0.11. 0 / 0.11. 0
[dv @ 0x11fe470] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from 'tests/data/lavf/lavf.dv':
Duration: 00:00:01.00, start: 0.000000, bitrate: 28800 kb/s
Stream #0.0: Video: dvvideo, yuv420p, 720x576, 28800 kb/s, PAR 59:54 DAR
295:216, 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[buffer @ 0x12066d0] w:720 h:576 pixfmt:yuv420p
[buffer @ 0x1206b00] w:720 h:576 pixfmt:yuv420p
[scale @ 0x124b630] w:720 h:576 fmt:yuv420p -> w:512 h:288 fmt:yuv420p
flags:0xa0000004
Output #0, avi, to 'test.avi':
Metadata:
ISFT : Lavf52.77.0
Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 59:54 DAR 295:216], q=2-31,
200 kb/s, 25 tbn, 25 tbc
Stream #0.1: Audio: mp2, 48000 Hz, 2 channels, s16, 64 kb/s
Output #1, avi, to 'test2.avi':
Metadata:
ISFT : Lavf52.77.0
Stream #1.0: Video: mpeg4, yuv420p, 512x288 [PAR 179:233 DAR 2864:2097],
q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream #1.1: Audio: mp2, 48000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Stream #0.0 -> #1.0
Stream #0.1 -> #1.1
Press [q] to stop encoding
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6f9e6c3 in memcpy () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff6f9e6c3 in memcpy () from /lib64/libc.so.6
#1 0x000000000067be68 in load_input_picture (s=0x12da970,
pic_arg=0x7fffffffc950) at libavcodec/mpegvideo_enc.c:892
#2 0x000000000067d7a6 in MPV_encode_picture (avctx=0x1203510,
buf=0x7ffff68b2010 "", buf_size=2488520, data=0x7fffffffc950) at
libavcodec/mpegvideo_enc.c:1245
#3 0x0000000000725a9e in avcodec_encode_video (avctx=0x1203510,
buf=0x7ffff68b2010 "", buf_size=2488520, pict=0x7fffffffc950) at
libavcodec/utils.c:561
#4 0x000000000040765d in do_video_out (s=0x12022b0, ost=0x1205f30,
ist=0x1205e00, in_picture=0x7fffffffcff0, frame_size=0x7fffffffcf68) at
ffmpeg.c:1300
#5 0x00000000004090f8 in output_packet (ist=0x1205e00, ist_index=0,
ost_table=0x1205f00, nb_ostreams=4, pkt=0x7fffffffd260) at ffmpeg.c:1705
#6 0x000000000040cb63 in transcode (output_files=0xcac640, nb_output_files=2,
input_files=0xca42e0, nb_input_files=1, stream_maps=0xcb0800, nb_stream_maps=0)
at ffmpeg.c:2608
#7 0x0000000000411258 in main (argc=9, argv=0x7fffffffdde8) at ffmpeg.c:4357
----------
priority: normal -> important
status: new -> open
substatus: new -> reproduced
topic: +regression
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2129>
________________________________________________