avisync − adjust audio synchronisation
avisync [ -o file -i file -q -n num -b num -a track -f commentfile ]
avisync is Copyright (C) by Thomas Östreich.
avisync shift audio on frame basis.
Specify the name of the output file.
Specify the name of the input file.
be less verbose.
shift audio by count frames. If count is positive, audio starts with audio frame count at the beginning of the AVI-file. If count is negative, audio is prepended count padding frames.
Specify the number of the audio channel to shift.
Specify if avisync should write an VBR mp3 header into the AVI file. Default is 1 because it does not hurt. num is either 1 or 0.
Read AVI tombstone data for header comments from commentfile. See /docs/avi_comments.txt for a sample.
avisync -i my_file1.avi -o out.avi -n -10
puts 10 audio frames at the beginning of the AVI-file.
E.g. if the audio is delayed about 200 ms (0.2 seconds) and you’re working with a 25 frames per second AVI-File, you need to shift the audio 200/40 = 5 frames since one frame is 40 ms long.
was written by Thomas Östreich
<ostreich [AT] theorie.de> with contributions from many others. See AUTHORS for details.