<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY>
presentation time stamp and decode time stamp<BR>
<BR>
PTS controls when a frame should be displayed<BR>
DTS controls when a frame should be decoded. It is critical when you have B frames. <BR>
<BR>
JLM<BR>
<BR>
On Wed, 2011-05-18 at 11:08 +0000, Aditya wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
what are pts and dts values. why are they important while transcoding .
what is the purpose of the below code bit 
<A HREF="http://pastebin.com/XwNechy2">http://pastebin.com/XwNechy2</A>
in ffmpeg.c 
<A HREF="http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/ffmpeg_8c-source.html">http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/ffmpeg_8c-source.html</A>

_______________________________________________
Libav-user mailing list
<A HREF="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</A>
<A HREF="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>