[FFmpeg-devel] [PATCH] Enable PAFF decoding

Thorsten Jordan tjordan
Fri Oct 12 09:17:45 CEST 2007


Neil Brown schrieb:
> On Friday October 12, michaelni at gmx.at wrote:
>> no, the first (IDR) frame should be decoded correctly, the "next" B frames
>> are prior to IDR in display order and cannot and should not be displayed 
> 
> Perplexed...
> If those B frames "cannot and should not be displayed", why would they
> be put in the data stream at all, and why does the reference decoder
> decode them correctly?

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....

-- 
Greetings, Thorsten




More information about the ffmpeg-devel mailing list