If the only problem is that the audio starts slightly later than the video, and there are no additional dropped video OR audio frames, then the correct and reliable way to deal with this is to use avidemux to resync the audio. Because you really need to be able to preview the effect on random places in the film to be certain that there is only an initial offset and not an additonal offset at every scene transition.
Kushara Navaratne wrote: > The problem being encoutered is more to do with audio lagging the video. Not > a case of frames being dropped intermittently throughout the movie. Someone > suggested adding a few frames to the start of the audio track to compensate > for the audio lagging the vidoe. > > I have not tried seperatng the audio and video tracks and then using > transcode. Will give this a try and let you know the result. > > --- On Fri, 15/1/10, Phil Ehrens <p...@slug.org> wrote: > > From: Phil Ehrens <p...@slug.org> > Subject: Re: [transcode-users] avisync > To: "transcode Users Mailing List" <transcode-users@exit1.org> > Date: Friday, 15 January, 2010, 17:37 > > Is dvd::rip really this bad? Or is it that people don't > know how to use it? Did you know that all you need to > do to rip a dvd is this: > > tccat -i /dev/dvd -T 1,-1 >mymovie.mpg > > You will get the video, all audio tracks, and all > subtitle tracks (for title 1, in this example). > > If you are transcoding from dvd/vob/mpeg2 and > getting sync problems, it means that you are > dropping audio or video frames, so you need to > change the options that you are using to do hard > frame duplication, (copy null frames) instead of > soft (frame dropping). > > Also, I haven't pointed this out for a long time > here, so let me reiterate: > > Video transcoding is hard to do right. > There is no magic tool that will do > what you want reliably 100% of the time. > > Ciao. > > Kushara Navaratne wrote: > > Can you explain the steps in using avimerge and avisync?. forgive my lack > > of knowledge in this area. > > > > Basically, there are several .vob files that DVD::rip creates. I woud like > > to make a .avi with the audio and video in sync. So are you saying use > > DVD::Rip to trancode the .vob files to a .avi then de-multiples to create a > > .avi (without sound) and use tcextract to create the .mp3 audio track, then > > use avimerge?. > > > > I am assuming avisync can be used directly on the transcoded file that > > DVD::Rip creates but then we have to insert a value to sync the audio to > > the video, and this is guesswork. > > > > BTW: can I acess this thread directly on a webpage? > > > > --- On Thu, 14/1/10, Edmund Mergl <e.me...@bawue.de> wrote: > > > > From: Edmund Mergl <e.me...@bawue.de> > > Subject: [transcode-users] avisync > > To: "transcode Users Mailing List" <transcode-users@exit1.org> > > Date: Thursday, 14 January, 2010, 20:59 > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > I'm using DVD::Rip and transcode to make avis from DVDs. The have always > > two sound-tracks. > > Sometimes the second sound-track is out of sync. If I use avisync to > > correct this, the result > > is very often unusable. Both sound-tracks are stuttering. > > What I have to do is to de-multiplex the movie with transcode -i > > movie..avi -P 1 -y raw,null -o video.avi > > and with tcextract -i movie.avi -a 0 -x mp3 | tcextract -x mp3 -t raw > > > audio.mp3. > > After this I have to multiplex the whole thing with avimerge and now I can > > successfully use avisync. > > Why is this so complicated ? Why is it not possible to use avisync directly > > ? > > > > -- Phil Ehrens <p...@slug.org> | Fun stuff: The SilverLake Linux Users Group | http://www.ralphmag.org 3428 Winslow Drive | http://www.tokyotosho.com Silverlake, CA 90026 | http://www.slug.org