[Ffmpeg-devel] H264 segfault
Nico Sabbi
nsabbi
Fri Jun 3 12:54:29 CEST 2005
Playing that file with mplayer cvs without rescaling I get thousand of
[h264 @ 0x86a8f68]illegal short term buffer state detected% 0.5% 32 0
[h264 @ 0x86a8f68]concealing 8160 DC, 8160 AC, 8160 MV errors
and only a watchable frame at the beginning.
Adding -demuxer 35:
FPS forced to be 25.000 (ftime: 0.040).
Starting playback...
[h264 @ 0x86a8f68]non existing PPS referenced
Error while decoding frame!
[h264 @ 0x86a8f68]non existing PPS referenced 1/ 1 ??% ??% ??,?% 0 0
Error while decoding frame!
[h264 @ 0x86a8f68]non existing PPS referenced2/ 2 ??% ??% ??,?% 0 0
Error while decoding frame!
[h264 @ 0x86a8f68]non existing PPS referenced3/ 3 ??% ??% ??,?% 0 0
Error while decoding frame!
[h264 @ 0x86a8f68]non existing PPS referenced4/ 4 ??% ??% ??,?% 0 0
Error while decoding frame!
and no frame shown.
Using -demuxer 29 -vf scale=720:-2 I can see an initial frame and soon
after:
SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
VO: [xvidix] 720x408 => 720x408 Planar YV12
[h264 @ 0x86a8f68]concealing 6720 DC, 6720 AC, 6720 MV errors
[h264 @ 0x86a8f68]concealing 6720 DC, 6720 AC, 6720 MV errors
[h264 @ 0x86a8f68]concealing 8160 DC, 8160 AC, 8160 MV errors
[h264 @ 0x86a8f68]concealing 8160 DC, 8160 AC, 8160 MV errors
[h264 @ 0x86a8f68]concealing 8160 DC, 8160 AC, 8160 MV errors
[h264 @ 0x86a8f68]concealing 6960 DC, 6960 AC, 6960 MV errors
[h264 @ 0x86a8f68]illegal short term buffer state detected
[h264 @ 0x86a8f68]concealing 6720 DC, 6720 AC, 6720 MV errors
[h264 @ 0x86a8f68]illegal short term buffer state detected
[h264 @ 0x86a8f68]concealing 6720 DC, 6720 AC, 6720 MV errors
[h264 @ 0x86a8f68]illegal short term buffer state detected
[h264 @ 0x86a8f68]concealing 8160 DC, 8160 AC, 8160 MV errors
V:11982.6 10/ 10 ??% ??% ??,?% 0 0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221607296 (LWP 16432)]
0x083d7570 in put_h264_qpel16_mc00_mmx2 (dst=0xb4a64a30 "\001",
src=0xb50416e2 '\200' <repeats 19 times>, stride=1952)
at i386/dsputil_mmx.c:415
415 __asm __volatile(
(gdb) bt
#0 0x083d7570 in put_h264_qpel16_mc00_mmx2 (dst=0xb4a64a30 "\001",
src=0xb50416e2 '\200' <repeats 19 times>, stride=1952)
at i386/dsputil_mmx.c:415
#1 0x0830b891 in mc_part (h=0x8865c00, n=0, square=1, chroma_height=8,
delta=0, dest_y=0xb4a64a30 "\001",
dest_cb=0xb47e1aa8 '\177' <repeats 12 times>,
"~~~~\177\177\177\177", '~' <repeats 20 times>, '\200' <repeats 28
times>, "\177\177\177\177\200\200\200\200", '\177' <repeats 12 times>,
"\200\200\200\200\200\200\200\200\201\201\201\201\200\200\200\200\201\201\201\201\200\200\200\200\200\200\200\200\177\177\177\177\200\200\200\200",
'\177' <repeats 20 times>, '\200' <repeats 20 times>,
"\177\177\177\177\200\200\200\200\177\177\177\177\177\177\177\177~~~~\177\177\177\177~~~~\200\200\200\200\200\200\200\200"...,
dest_cr=0xb475baa8 '\200' <repeats 76 times>,
"\177\177\177\177\200\200\200\200", '\177' <repeats 20 times>, '\200'
<repeats 96 times>..., x_offset=-1258023198, y_offset=0,
qpix_put=0x8866964, chroma_put=0x83f14d0 <put_h264_chroma_mc8_mmx>,
qpix_avg=0x8866a24, chroma_avg=0x83f1630 <avg_h264_chroma_mc8_mmx2>,
weight_op=0x8866ae4, weight_avg=0x8866b0c,
list0=4096, list1=0) at h264.c:2332
#2 0x0831f87d in hl_decode_mb (h=0x8865c00) at h264.c:2500
#3 0x0831ff42 in decode_slice (h=0xf40) at h264.c:6240
#4 0x083225dc in decode_nal_units (h=0x8865c00, buf=0xb70a2008 "",
buf_size=19297) at h264.c:6786
#5 0x08323241 in decode_frame (avctx=0x885bc30, data=0x885bb40,
data_size=0xf40, buf=0xb70a2008 "", buf_size=19297)
at h264.c:6924
#6 0x081fcd31 in avcodec_decode_video (avctx=0x885bc30,
picture=0x885bb40, got_picture_ptr=0xbfffe46c, buf=0xb70a2008 "",
buf_size=19297) at utils.c:612
#7 0x08101a29 in decode (sh=0x87f2db0, data=0xb70a2008, len=19297,
flags=0) at vd_ffmpeg.c:777
#8 0x080fdd93 in decode_video (sh_video=0x87f2db0, start=0xf40 <Address
0xf40 out of bounds>, in_size=3904, drop_frame=0)
at dec_video.c:309
#9 0x080a87d7 in main (argc=9, argv=0xbffff8a4) at mplayer.c:2345
Nico
More information about the ffmpeg-devel
mailing list