[FFmpeg-user] [FFMPEG] Audio/Video Syncing

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jan 13 14:49:04 CET 2016

x <94dlve1izy52e5t <at> gmail.com> writes:

> ffmpeg -y -i 
> -itsoffset 1.0 -i 
> -map 0:0 -map 1:0 test.mp4

Complete, uncut console output missing.
> However, I would like to make the synchronization 
> automatic. Say, compare the timestamps from each 
> stream and find their difference, then use the 
> difference as parameter to the "*itsoffset*" option?

What you describe (apart from itsoffset) is the 
default behaviour of FFmpeg (except that you don't 
have to specify itsoffset).

Unfortunately, I suspect your http sources do not 
provide timestamps, so there is no easy solution;-(

Carl Eugen

More information about the ffmpeg-user mailing list