[Ffmpeg-devel] Assertion `pic->data[0]' failed in h264.c

Guillaume POIRIER poirierg
Mon May 9 00:35:34 CEST 2005


Hi there,
I get this kind of error when I try to play a x264 file (which was
generated with a x264 revision from maybe not more than a couple of
weeks) on my machine:

Starting playback...
VDec: vo config request - 608 x 448 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.34:1 - prescaling to correct movie aspect.
VO: [xv] 608x448 => 608x452 Planar YV12  [zoom]
[h264 @ 0x930030]reference picture missing during reorder
mplayer: h264.c:2313: mc_dir_part: Assertion `pic->data[0]' failed.

The first frames are decoded, then it crashes with the above message.

Here's a GDB backtrace, hoping that it may help you out:

Program received signal SIGABRT, Aborted.
[Switching to Thread 182943342384 (LWP 12475)]
0x0000002a9729f81d in raise () from /lib/libc.so.6
(gdb) bt
#0  0x0000002a9729f81d in raise () from /lib/libc.so.6
#1  0x0000002a972a0f4e in abort () from /lib/libc.so.6
#2  0x0000002a97298e51 in __assert_fail () from /lib/libc.so.6
#3  0x0000000000612204 in mc_part (h=0x2a98737010, n=0, square=1,
    chroma_height=8, delta=0, dest_y=0x30bb <Address 0x30bb out of bounds>,
    dest_cb=0x30bb <Address 0x30bb out of bounds>, dest_cr=0x0,
    x_offset=12475, y_offset=6, qpix_put=0x2a98738580,
    chroma_put=0x546b90 <put_h264_chroma_mc8_c>, qpix_avg=0x2a98738700,
    chroma_avg=0x546f80 <avg_h264_chroma_mc8_c>, weight_op=0x206,
    weight_avg=0x8, list0=0, list1=0) at h264.c:2313
#4  0x00000000006232de in hl_decode_mb (h=0x2a98737010) at h264.c:2495
#5  0x0000000000623a81 in decode_slice (h=0x30bb) at h264.c:6241
#6  0x0000000000625c1f in decode_nal_units (h=0x2a98737010, buf=0xbf8460 "",
    buf_size=957) at h264.c:6787
#7  0x0000000000626681 in decode_frame (avctx=0xa5a0a0, data=0xa58e40,
    data_size=0x7fbfffe32c, buf=0xbf8460 "", buf_size=957) at h264.c:6925
#8  0x00000000005207b3 in avcodec_decode_video (avctx=0xa5a0a0,
    picture=0xa58e40, got_picture_ptr=0x7fbfffe32c, buf=0xbf8460 "",
    buf_size=957) at utils.c:612
#9  0x000000000045226f in decode (sh=0xa50bc0, data=0xbf8460, len=957, flags=0)
    at vd_ffmpeg.c:765
#10 0x000000000044edec in decode_video (sh_video=0xa50bc0, start=0xbf8460 "",
    in_size=957, drop_frame=0) at dec_video.c:309
#11 0x000000000040fee9 in main (argc=0, argv=0x0) at mplayer.c:2340

Let me know if you need more informations.


Guillaume





More information about the ffmpeg-devel mailing list