[FFmpeg-user] Force target DTS == source DTS -- How?

Devin Heitmueller devin.heitmueller at ltnglobal.com
Wed Jan 10 23:50:13 EET 2024


On Wed, Jan 10, 2024 at 4:26 PM Mark Filipak <markfilipak.imdb at gmail.com> wrote:
> The change from 1048560 to 1174560 has to be happening inside the muxer, wouldn't you say? We now
> know that what's going into the muxer is right. Here is what went to the target file in the last run:
>
> 0,    1170806,    1174560,     3753,   640646, 0x900a1a7a, S=1,        1

Try setting -muxdelay 0 on the output options.  If not specified it
defaults to 0.7, and the delta between 1174560 and 1048560 is exactly
1.4 seconds.  I don't know why you're getting exactly 2x the mux delay
rather than just being off by 0.7s, but I suspect it's the muxdelay
that is causing you to get PTS values which are not what you would
expect.

Devin

-- 
Devin Heitmueller, Senior Software Engineer
LTN Global Communications
o: +1 (301) 363-1001
w: https://ltnglobal.com  e: devin.heitmueller at ltnglobal.com


More information about the ffmpeg-user mailing list