Okay I know how to fix bad frames in divx file using Vdub, but after I do the whole conversion thing my final product is still out of sync where the bad frames were. Ive also converted a movie without bad frames and had no synching problems. Ive come to the conclusion that the audio video sync is coming from files with bad frames in them even after fixing the file. My question:

Is there a better guide out there that tells how to fix the bad frames while still keeping the video and audio in sync? Thanks