[Ffmpeg-devel] PTS values

Anders Moden ffmpeg
Tue Dec 19 22:57:36 CET 2006

19 dec 2006 kl. 18.32 skrev Paul Curtis:

> Anders Moden wrote:
>> to decode the packages and the pts value is taken from the m_pFrame
>> struct. I only look at the pts values if i have a complete decoded
>> frame.
> In my decode/encode application, I have been using AVStream- 
> >cur_dts (decoder time stamp). This has been ordered properly for  
> both video and audio.
> Do go back and search the Dev list archives from about one year  
> ago .... there was a lengthy discussion on which values (packet  
> versus codec ... PTS versus DTS) to use as a "timestamp" in an  
> application.
> Regards,
> Paul

Thanx Paul.

Is there any docs that explains the various pts values found in the  
stream, the image and the codec. i can find at least 4 pts struct  
members with various values when decoding?

I will try to find the discussion last year...

/Anders Mod?n

More information about the ffmpeg-devel mailing list