Linux Commands Examples

A great documentation place for Linux commands

avisync

adjust audio synchronisation


see also : aviindex - avifix - avimerge - avisplit - tccat - tcdecode - tcdemux - tcextract - tcprobe - tcscan - transcode

Synopsis

avisync [ -o file -i file -q -n num -b num -a track -f commentfile ]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0

The command

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.


description

avisync shift audio on frame basis.

options

-o name

Specify the name of the output file.

-i file

Specify the name of the input file.

-q

be less verbose.

-n count

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.

-a track

Specify the number of the audio channel to shift.

-b num

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.

-f commentfile

Read AVI tombstone data for header comments from commentfile. See /docs/avi_comments.txt for a sample.

copyright

avisync is Copyright (C) by Thomas Oestreich.


see also

aviindex , avifix , avimerge , avisplit , tccat , tcdecode , tcdemux , tcextract , tcprobe , tcscan , transcode


authors

avisync was written by Thomas Oestreich
<ostreich[:at:]theorie.physik[:dot:]uni-goettingen.de> with contributions from many others. See AUTHORS for details.

How can this site be more helpful to YOU ?


give  feedback