[Ffmpeg-devel] [BUG] H.264 crash

Måns Rullgård mru
Wed Jan 18 23:18:26 CET 2006


Guillaume POIRIER <poirierg at gmail.com> writes:

> Hi,
>
> On 1/18/06, Diego Biurrun <diego at biurrun.de> wrote:
>> Hi,
>>
>> I have a sample here that makes the H.264 decoder (MPlayer, MPlayer with
>> lavf demuxer, xine, vlc, ffplay) crash with the following message:
>>
>> [h264 @ 0x106463c8]reference picture missing during reorder
>> [h264 @ 0x106463c8]reference picture missing during reorder
>> [h264 @ 0x106463c8]reference picture missing during reorder
>> mplayer: h264.c:2610: mc_dir_part: Assertion `pic->data[0]' failed.
>>
>> Get the sample from here:
>>
>> ftp://sandman.homedns.org/diego/ffmpeg/killbillclip.avi
>>
>> The crash happens both on my G4 (Debian unstable, gcc 4.0.3) and on my K6
>> (Debian stable, gcc 2.95.4), so it's not platform dependent.
>>
>> The sample may very well be a broken bitstream, but a crash is bad
>> nevertheless.  If you need the backtrace I'll gladly provide it.
>
> Unless I'm badly mistaken, an assertion failure != crash.

When the next line reads "core dumped" it is.

> However, if it was somehow possible to skip the problematic part of a
> video until it can be sanely decoded (like from the next keyframe),
> that would be quite nice.
> ... but is that smth possible with H.264?

In principle, yes.  The current lavc decoder opts to crash instead.
It used to work properly, but has been this way for well over a year,
IIRC.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list