[FFmpeg-devel] [PATCH]Assume STRICT for h264.c

Carl Eugen Hoyos cehoyos
Sun Nov 8 02:58:58 CET 2009


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > It seems that has_b_frames is too small for some samples, how can this be
> fixed?
> 
> We should have code that increases has_b_frames in h264.c, ive not looked at
> this issue at all, but if you want to work on this, try to find out why this
> code doesnt increase has_b_frames or if it does why it isnt enough

has_b_frames is increased as long as cross_idr==0, for the stream in question,
cross_idr gets 1 after a few frames, because h->delayed_pic[0]->key_frame gets 1
(and stays 1).

Any idea?

Carl Eugen




More information about the ffmpeg-devel mailing list