Hey Spizz,
Is the audio out of sync a constant amount or does it go out progressively? If it gets further and further out of sync, trust me, it's gunna be a lot of trouble to fix. If, on the other hand, it's constant, it may or may not be a difficult problem.
Let me guess, you did this:
File -> Open Video File
Video -> Direct Stream Copy
Audio -> Full Processing Mode -> Compression -> No Compression
File -> Save AVI
And when you fed it to DivXtoDVD the result was out of sync? Did you first test the new AVI for sync?
I'll assume you're using VirtualDub MPEG2 version. If the saved (new) AVI is constantly out of sync, load it again and do this:
Audio -> Interleaving -> Audio Skew Correction. It's in milliseconds, try (+) 1000 to delay the audio one second, (-)1000 to play it earlier.
Then File -> Preview output. Adjust as necessary until you think it's correct, and save out another file.
If, OTOH, the audio was in sync in the file you fed to DivXtoDVD, it's more difficult. Try just saving out the audio and compare the timestamp to that of the AVI. If they are not the same, you need to slow down or speed up the audio. An audio editor like Goldwave is best for that. Audacity can do it too and is free, but more difficult to use.
It may come down to a corrupt file and bad frames. If nothing else seems to work, you'll have to scan for bad frames and manually delete them. It's at this point I'd say that it's definitely not worth the trouble.
Good luck.
