[FFmpeg-user] How can I force a 360kHz time base?

Gyan Doshi ffmpeg at gyani.pro
Sat Feb 27 06:14:27 EET 2021



On 27-02-2021 06:54 am, Mark Filipak (ffmpeg) wrote:
>
>
> 'ffmpeg -i input.mkv -vf "showinfo" -codec:a copy -codec:s copy -dn 
> output.mkv'
>
> [Parsed_showinfo_0 @ 0000013c877124c0] n:   1 pts:     33 
> pts_time:0.033   pos:    10052 fmt:yuv420p sar:32/27 s:240x236 i:P 
> iskey:0 type:B checksum:3CF10BFE plane_checksum:[64208370 00B13226 
> C5775659] mean:[25 126 131 ] stdev:[12.8 6.1 1.6 ]

A PTS of 33 with a time_base.den of 1000 assigns pts time of 0.033ms 
exactly.

0.033 x 1/360000 = 11880, as you observed. The Matroska timebase is 
insufficient to precisely store 29.97 fps timestamps. Nothing to do with 
ffmpeg.

Regards,
Gyan


More information about the ffmpeg-user mailing list