[FFmpeg-devel] [PATCH v2 2/2] ffmpeg: add option -isync

Anton Khirnov anton at khirnov.net
Fri Jul 1 13:03:48 EEST 2022


Quoting Gyan Doshi (2022-06-25 10:29:51)
> This is a per-file input option that adjusts an input's timestamps
> with reference to another input, so that emitted packet timestamps
> account for the difference between the start times of the two inputs.
> 
> Typical use case is to sync two or more live inputs such as from capture
> devices. Both the target and reference input source timestamps should be
> based on the same clock source.

If both streams are using the same clock, then why is any extra
synchronization needed?

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list