[FFmpeg-user] FFplay sync ext

Bouke / VideoToolShed bouke at videotoolshed.com
Sat Nov 23 17:41:57 EET 2019

> On 23 Nov 2019, at 16:31, Carl Zwanzig <cpz at tuunq.com> wrote:
> On 11/23/2019 3:48 AM, Bouke / VideoToolShed wrote:
>> Seeking a way to slave video playback to an external clock.
>> (Meaning, jump to specific position and restart playing if the difference between current playback time and external clock is too big.)
> How big is "too big"? A second? Minute? I don't think you're going to get frame-accuracy.

well, subframe accuracy if possible. I have time in samples from the audio,
Why do you think frame accuracy is not possible?

> What do you mean by "playback time" in this context? (The problem may sound simple, but we're left to make a lot of guesses about what you want to do; please fill in some details.)

I meant, if the player shows a wrong playback time, what can I do then?

>> Or is FFplay not the tool for this?
> It may not be. mplayer has a "slave mode" which takes commands, including seek-to-time (in seconds). So does CasparCG, but that's probably overkill for a simple player. Remember that any of these will simply jump to that location in the file and may glitch the picture until a key frame comes along.
> Later,
> z!
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list