[FFmpeg-devel] [PATCH] Enable PAFF decoding

Reinhard Nissl rnissl
Sat Oct 13 10:07:41 CEST 2007


Thorsten Jordan wrote:

> Isn't that like with mpeg2? Take any piece out of a continous stream (TV
> broadcast, ...) that starts with a sequence header (mpeg2) or IDR frame
> (h264). In both cases there are B-frames before the I/IDR in
> presentation order. Decoders should skip them as they can't get decoded
> properly - neither with mpeg2 nor with h264....

But in MPEG2, there exists the closed group of pictures flag which
means, that such B frames would only reference the previous I frame and
not any P or I frame of the previous GOP, which is not available for
decoding in such a case.

Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de

More information about the ffmpeg-devel mailing list