[FFmpeg-user] Small PTS 'jump' at splice
Mark Filipak
markfilipak.imdb at gmail.com
Wed Aug 7 06:18:20 EEST 2024
Hi,
I've spliced via 2 AVC/M2TS-to-AVC/MP4 trims followed by an '-f concat' splice.
There are 1001 ticks between frames except at the splice. At the splice there's a 'jump': 1044 ticks
instead of 1001 ticks. Look:
frames.frame.133563.pts=133696563
frames.frame.133563.pict_type="B"
frames.frame.133564.pts=133697564 <== is 133696563+1001
frames.frame.133564.pict_type="P"
===== spliced here =====
frames.frame.133565.key_frame=1
frames.frame.133565.pts=133698608 <== is 133697564+1044
frames.frame.133565.pict_type="I"
frames.frame.133566.pts=133699609 <== is 133698608+1001
frames.frame.133566.pict_type="P"
PTS(0) = 0 and all is joy except at the damned splice.
I seek ideas for avoiding the error, or fixing it.
Thanks--Nark.
More information about the ffmpeg-user
mailing list