[FFmpeg-devel] [PATCH] Enable PAFF decoding

Loren Merritt lorenm
Sun Oct 14 04:07:05 CEST 2007

On Sat, 13 Oct 2007, Reinhard Nissl wrote:
> 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.

H264 has a closed GOP flag too: it's called IDR.

--Loren Merritt

More information about the ffmpeg-devel mailing list