• Ivan's avatar
    avformat/flvenc: copyts in FLV muxer · a0174f67
    Ivan authored
    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.
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    a0174f67
flvenc.c 26 KB