[FFmpeg-devel] Inconsistent handling of initial_padding and PTS adjustment

Anton Khirnov anton at khirnov.net
Mon Jul 27 13:09:24 EEST 2020


Quoting Kieran Kunhya (2020-07-26 01:51:22)
> Hi,
> 
> I notice that some encoders adjust the PTS with initial_padding and some
> don't.
> Is this intentional and should we decide that all encoders should do this?

Which ones don't?

I don't think this is a matter of opinion really - if encoder adds
padding and doesn't adjust the timestamps then the output timestamps are
just plain wrong.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list