I found a workaround for a problem with avisync, which has been reported one year ago from Roy Souther. I ripped a DVD with two soundtracks A and B. B was ok but A was shifted by about 35 frames. When I tried to fix this with avisync, the result was exactly as described in Roy's posting:
>> I have a video that the sound is off by about 0.5 seconds all the way >> through the video so I am trying >> to use avisync to correct this but the out put video has pauses in it that >> are not in the original. >> When I playback the out put video it will about every 4 seconds or so pause >> the video but the sound track >> keeps on going. This causes the sound to progressively get farther and >> farther out of sync as the video plays. The workaround is to split the movie into the two distinct soundtracks and a video without sound: tcextract -i movie.avi -a 0 -x ac3 | tcextract -x ac3 -t raw > audio_A.ac3 tcextract -i movie.avi -a 1 -x ac3 | tcextract -x ac3 -t raw > audio_B.ac3 transcode -i movie.avi -P 1 -y raw,null -o video.avi then adding soundtrack A: avimerge -i video.avi -p audio_A.ac3 -o movie_A.avi then shifting the soundtrack: avisync -i movie_A.avi -o movie_A_35.avi -n -35 and finally adding the second soundtrack: avimerge -i movie_A_35.avi -p audio_B.ac3 -A 1 -o movie_final.avi In the resulting movie_final.avi both soundtracks were perfectly in sync and the video did not show theses strange pauses. So it looks like, that avisync gets confused, if a second soundtrack is present. Edmund