View Full Version : [ubuntu] how can i fix video-sound sync ? sound comes 3 second late

February 5th, 2009, 10:55 AM
i have a video which have video-sound sync problem.
the sound comes 3 second after the video. how to fix this ? can ffmpeg do this ? what shoul be the command ?

February 5th, 2009, 11:33 AM
Looks like ffmpeg can provide this feature...

`-itsoffset offset'
Set the input time offset in seconds. [-]hh:mm:ss[.xxx] syntax is also supported. This option affects all the input files that follow it. The offset is added to the timestamps of the input files. Specifying a positive offset means that the corresponding streams are delayed by 'offset' seconds.

Too lazy to search youself?;)

February 7th, 2009, 05:13 PM
what is the command

ffmpeg hv.flv -itsoffset offset 3

this it not working

February 8th, 2009, 05:02 PM
ffmpeg hv.flv -itsoffset 3

February 8th, 2009, 08:45 PM
thank you but i got this ;

File 'hv.flv' already exists. Overwrite ? [y/N] y
Must supply at least one input file

February 9th, 2009, 12:49 PM
You must supply an input file. Do it like this:

ffmpeg -itsoffset 3 -i hv.flv output.flv

February 9th, 2009, 03:37 PM
thank you. works perfectly.