[FFmpeg-devel] [PATCH] Add BlockDuration and TrackTimecodeScale fields to matroska streams

Rafaël Carré rafael.carre
Thu Jan 21 17:41:41 CET 2010


Hi,

Track field TrackTimecodeScale is mandatory and represents:

"The scale to apply on this track to work at normal speed in relation
with other tracks (mostly used to adjust video speed when the audio
length differs)."

This patch sets it to the default of 1.0: play at the same speed than
other tracks.


Cluster field BlockDuration is optional but already set for subtitle
streams.

Not sure why it wasn't set for audio/video streams, but it won't harm.

Also it's needed at least for a reference demuxer of Sigmatel Designs.
I was told that "playback takes ages to start without this field being
set".

-- 
Rafa?l Carr?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkv.diff
Type: text/x-patch
Size: 976 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100121/e93a97fb/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100121/e93a97fb/attachment.pgp>



More information about the ffmpeg-devel mailing list