[FFmpeg-devel] [RFC/PATCH] matroska timestamps not always pts

Uoti Urpala uoti.urpala
Tue Nov 20 23:42:42 CET 2007


On Sun, 2007-11-18 at 23:11 +0100, elupus wrote:
> Apperently the timestamps stored in matroska container can mean different 
> things. For native tracks they normally mean pts, while for others this 
> isn't always the case.
> 
> The case i'm trying to nail here is the ms compatibility case. In this case, 
> timestamps should correspond to the frame numbers in avi. This patch makes 
> demuxer only set the correct timestamp (dts/pts) in the packet.

Does some spec say they "should correspond" to frame numbers? Or are you
only saying this because you've seen (invalid?) files generated by
someone which do this?





More information about the ffmpeg-devel mailing list