[FFmpeg-devel] [PATCH] avformat/flvenc: copyts in FLV muxer

Michael Niedermayer michael at niedermayer.cc
Tue Jan 26 22:09:04 CET 2016


On Mon, Jan 25, 2016 at 07:46:11PM +0100, Michael Niedermayer wrote:
> 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 ?

applied

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160126/406f68df/attachment.sig>


More information about the ffmpeg-devel mailing list