I have downloaded several movies from the net in divx/xvid format and they play perfectly on the PC, however when I convert to mpeg1 via tmpgenc the sound goes out of sync sometime during the moving. This only occurs on one or two of the movies but it is really annoying me since the divx plays ok.
I have seen posts regarding cutting the bad frames out, which is very time consuming since virtualdub doesn't find them when you ask it to scan the file. It means I have to scan through the mpeg until I find a point when the audio goes out of sync then home in on the same time in virtuldub.
I can't understand why the divx file is handled ok, can't an encoder automatically remove faulty frames and its associated audio, or even insert still frames in its place.
I have thought about playing the divx out to a tvout port and loop it back into a tv capture card and capture in mpeg(sound could also be looped back in). I can imagine this will work but I will obviously be introducing noise and going through a digital-analog-digital conversion will reduce quality.
Is there no way of short-cutting this and have some software that captures a window or defined area to an mpeg file just like these screen capture utilities you see for giving screen prints. Although not an elegant solution it would certainly make life easier than searching for bad frames, cutting them and trying to encode for another hour or so to see if you fixed it.

p.s tried several dvd authoring tools, mainly sonic mydvd, and everyone seems to transcode the tmpgenc encoded file further. Is there a dvd authoring package that takes in avi/divx/xvid files and transcodes in one step at a reasonable speed?