[FFmpeg-user] Setting -output_ts_offset always adds 2 frames

Ted Park kumowoon1025 at gmail.com
Thu Feb 7 16:52:07 EET 2019


> On Feb 6, 2019, at 5:17 PM, Julien De Luca <julien.deluca at synchronized.tv> wrote:
> 
> I'm trying to set the initial pkt_pts_time using output_ts_offset. On
> streams encoded using ffmpeg, it always sets the offset + 0.08s, which is 2
> frames.

The encoder must be setting the starting timestamp to 0.08s, and then the 10s offset being added to it. You could add 9.92 if it’s important? Or if the start is different for other files you could use setpts=expr=10-STARTPTS+PTS as a filter.


More information about the ffmpeg-user mailing list