Just a quick suggetion for fixing audio-video sync problems with a ripped DVD. After trying all the guides I still had one DVD where this problem (progressive loss of sync) would always occur whatever I tried to prevent or fix it. I eventually managed to get a good results as follows.

1. Normal DVD RIP
2. Create one DVD2AVI per VOB file rather than one big project.
3. Batch encode the individual projects with TMPGEnc
4. Merge the individual .mpg files produced with TMPGEnc.

Results were great.

I then repeated the above, but included extra steps to demux and convert the audio from each vob with vobedit and headac3he respectively. I then used these as the audio inputs to tmpgenc. Results were absolutely perfect.

If nothing else has worked for you give it a try - it doesn't take as long as you might expect if you use batch encode and the DVD2AVI projetcs take only a minute or two per vob file.