[Ffmpeg-devel] [BUG] was: FFmpeg crash-- h264.c:2584: mc_dir_part:Assertion `pic->data[0]'

Dennis van Amerongen Dennis.vanAmerongen
Thu Oct 20 12:27:19 CEST 2005


> >Hello,
> >
> >FFmpeg is crashing when I play several movies. I'm not sure if this
is 
> >a bug with my encoding using x264, or a bug decoding using ffmpeg ---

> >hopefully one of you can tell based on the error output.
> >[...]
> >http://zeeman.mit.edu/apache2-default/www/video/killbillclip.avi
> >
> >for your reference. It crashes on my computer immediately (0.9
seconds) 
> >and is
> >282 kB.
> >
> >  
> >
> CVS ffplay and ffmpeg (on amd64) crashes exactly in the same place.
> 
> /ffmpeg -i ~/killbillclip.avi test.avi
> ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice
Bellard
>   configuration:
>   built on Oct 20 2005 03:57:38, gcc: 3.4.3 20041125 (Gentoo Linux
3.4.3-r1, ssp-3.4.3-0, pie-8.7.7) Input #0, avi, from
'/home/banan/killbillclip.avi':
>   Duration: 00:00:03.0, start: 0.000000, bitrate: 770 kb/s
>   Stream #0.0, 23.98 fps: Video: h264, yuv420p, 608x256
>   Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s Output #0, avi,
to 'test.avi':
>   Stream #0.0,   nan fps: Video: mpeg4, yuv420p, 608x256, q=2-31, 200
kb/s
>   Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s Stream mapping:
>   Stream #0.0 -> #0.0
>   Stream #0.1 -> #0.1
> Press [q] to stop encoding
> [h264 @ 0x7eadb0]reference picture missing during reorderkbits/s
> [h264 @ 0x7eadb0]reference picture missing during reorder
> [h264 @ 0x7eadb0]reference picture missing during reorder
> ffmpeg: h264.c:2584: mc_dir_part: Assertion `pic->data[0]' failed.
> Aborted
> 
> MvH
> Benjamin Larsson
> 
> 

Posted a similar crash issue to mailing while back for client ffmpeg
crashes (both vlc and mplayer) when watching h264 (http) livestreams
(vlc x264 encoded). There the ffmpeg crash is also:

vlc: h264.c:2584:mc_dir_part: Assertion `pic->data[0]'

Problem for me seems to exagerate when bandwith isn't sufficient and
packets are lost or retransmitted (TCP streaming), perhaps that also
causes references pictures to be missing/unavailable? 

Have the same crash issue with your sample.

P.S. cannot filedump a sample of my livestream (yet) due to limitations
in client.

Possible related trouble ticket for VLC media player:
https://trac.videolan.org/vlc/ticket/395

Regards,

- D





More information about the ffmpeg-devel mailing list