diff --git a/index.html b/index.html index abb02e5..bc285ef 100644 --- a/index.html +++ b/index.html @@ -713,6 +713,26 @@ + + + + +
+

Synchronize video and audio streams

+

ffmpeg -i input_file -itsoffset 0.125 -i input_file -map 1:v -map 0:a -c copy output_file

+

A command to slip the video channel approximate 2 frames (0.125 for a 25fps timeline) to align video and audio drift, if generated during video tape capture for example.

+
+
ffmpeg
starts the command
+
-i input_file
path, name and extension of the input file
+
-itsoffset 0.125
uses itsoffset command to set offset to 0.125 of a second. The offset time must be a time duration specification, see FFMPEG Utils Time Duration Syntax.
+
-i input_file
repeat path, name and extension of the input file
+
-map 1:v -map 0:a
selects the video channel for itsoffset command. To slip the audio channel reverse the selection to -map 0:v -map 1:a.
+
-c copy
copies the encode settings of the input_file to the output_file
+
output_file_resync
path, name and extension of the output_file
+
+ +
+