[FFmpeg-devel] [PATCH] Fixed presentation_delayed bug in compute_pkt_fields function

Baptiste Coudurier baptiste.coudurier at gmail.com
Wed Jun 1 08:20:51 CEST 2011


Hi,

On 5/31/11 11:17 PM, zhihang wang wrote:
>>> When the decoded frame is an I frame with pts and dts,  and there are b
>>> frames in the input video sequence, the following lines will run in the
>>> function compute_pkt_fields.
>>
>> when there are B frames in mpeg2 then I frames have pts!=dts
>>
> 
> if the GOP is closed GOP structure in MPEG-2, the pts and dts of I FRAME can
> be the same. Is it right?

No, you still have one frame delay in MPEG-2.

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org


More information about the ffmpeg-devel mailing list