[FFmpeg-trac] #1063(undetermined:new): h263p: crash with high resolution video
FFmpeg
trac at avcodec.org
Tue Mar 13 20:32:06 CET 2012
#1063: h263p: crash with high resolution video
-------------------------------------+-------------------------------------
Reporter: ami_stuff | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
http://ffmpeg.org/trac/ffmpeg/attachment/ticket/1059/599.png
{{{
$ ffmpeg -i 599.png -s 4000x4000 -vcodec h263p out.avi
}}}
{{{
(gdb) r -i out.avi out2.avi
Starting program: d:\mingw\msys\1.0\ffmpeg\ffmpeg_g.exe -i out.avi
out2.avi
[New Thread 2888.0x80c]
ffmpeg version 0.9.1.git Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 10 2012 16:15:15 with gcc 4.6.1
configuration: --disable-yasm --disable-ffprobe
libavutil 51. 42.100 / 51. 42.100
libavcodec 54. 10.100 / 54. 10.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 63.100 / 2. 63.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
Input #0, avi, from 'out.avi':
Metadata:
encoder : Lavf54.2.100
Duration: 00:00:00.04, start: 0.000000, bitrate: 83956 kb/s
Stream #0:0: Video: h263 (H263 / 0x33363248), yuv420p, 4000x4000, 25
tbr, 25
tbn, 25 tbc
[buffer @ 03871c60] w:4000 h:4000 pixfmt:yuv420p tb:1/1000000 sar:0/1
sws_param:
Output #0, avi, to 'out2.avi':
Metadata:
ISFT : Lavf54.2.100
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 4000x4000,
q=2-31, 2
00 kb/s, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (h263 -> mpeg4)
Press [q] to stop, [?] for help
Program received signal SIGSEGV, Segmentation fault.
0x00739e7a in load_input_picture (pic_arg=0x22d9d8, s=0x3e363a0)
at libavcodec/mpegvideo_enc.c:1036
1036 memcpy(dst, src, w);
(gdb) bt
#0 0x00739e7a in load_input_picture (pic_arg=0x22d9d8, s=0x3e363a0)
at libavcodec/mpegvideo_enc.c:1036
#1 ff_MPV_encode_picture (avctx=0x386f8e0, pkt=0x22db40,
pic_arg=0x22d9d8,
got_packet=0x22dc0c) at libavcodec/mpegvideo_enc.c:1429
#2 0x004f945d in avcodec_encode_video2 (avctx=0x386f8e0, avpkt=0x22db40,
frame=0x22d9d8, got_packet_ptr=0x22dc0c) at libavcodec/utils.c:1219
#3 0x00405de0 in do_video_out (s=0x3863320, ost=0x386fcc0,
in_picture=0x3873120, ist=<optimized out>) at ffmpeg.c:1619
#4 0x00407d6c in transcode_video (pkt_pts=<optimized out>,
got_output=<optimized out>, pkt=<optimized out>, ist=<optimized out>)
at ffmpeg.c:2178
#5 output_packet (ist=0x3871f40, ost_table=0x386fcc0, nb_ostreams=1,
pkt=0x22fb28) at ffmpeg.c:2270
#6 0x0040bf3b in transcode (output_files=0x3871940, nb_output_files=1,
input_files=0x38712e0, nb_input_files=1) at ffmpeg.c:3082
#7 0x0022ff48 in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind
further
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1063>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list