[FFmpeg-devel] [PATCH] flv muxer timestamp fix

Benjamin Larsson banan
Fri Jan 28 13:54:43 CET 2011


When streaming flv's with ffserver there is a timestamp jump in the
beginning of the stream caused by the timestamp in the header to always
start at 0. This patch fixes this by measuring between the current and
previous timestamp and if it is to large it biases the timestamp so they
are offset by a constant and thus removing the jump in timestamp.

MvH
Benjamin Larsson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flvenc.diff
Type: text/x-patch
Size: 1000 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110128/ccf958ff/attachment.bin>



More information about the ffmpeg-devel mailing list