[Libav-user] what are pts and dts ? what does this code bit do in ffmpeg.c ?

Jeremy Mordkoff jlm at zeevee.com
Wed May 18 13:57:09 CEST 2011

presentation time stamp and decode time stamp

PTS controls when a frame should be displayed
DTS controls when a frame should be decoded. It is critical when you
have B frames. 


On Wed, 2011-05-18 at 11:08 +0000, Aditya wrote:

> what are pts and dts values. why are they important while transcoding .
> what is the purpose of the below code bit 
> http://pastebin.com/XwNechy2
> in ffmpeg.c 
> http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/ffmpeg_8c-source.html
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110518/947124ac/attachment.html>

More information about the Libav-user mailing list