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

Benjamin Larsson banan
Mon Jan 31 10:31:51 CET 2011

On 01/28/2011 09:02 PM, Baptiste Coudurier wrote:
> On 01/28/2011 04:54 AM, Benjamin Larsson wrote:
>> 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.
> Delaying the header and waiting for the first timestamps to come seems
> more appropriate than this hack.
> I'm not sure I understand what the problem is. Can you please
> elaborate ? Is flash player behaving in a weird way ?

More information about the ffmpeg-devel mailing list