[FFmpeg-devel] [PATCH] avformat/flvenc: copyts in FLV muxer
michael at niedermayer.cc
Mon Jan 25 19:46:11 CET 2016
On Mon, Jan 25, 2016 at 02:43:40PM +0200, Ivan wrote:
> The purpose of this patch is to preserve timestamps when using ffmpeg for publishing RTMP streams, e.g. ffmpeg -i rtmp://source/stream -f flv rtmp://target/stream.
> There is a setting "copyts" for that purpose. Unfortunately it doesn't work with FLV muxer because it has its own timestamp correction which makes global setting "copyts" ineffective.
> This patch removes timestamp correction in FLV muxer. This means FLV will rely on ffmpeg timestamp correction which makes it possible to use copyts.
indeed, avoid_negative_ts should handle this
i intend to apply this, unless someone sees a case for which this
code is still needed ?
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel