Converting DivX Using TMPGEnc Audio Problem

Need Help,

This only happens with some DivX movies but when i Start the encoding process in TMPGEnc (converting to Mpeg 1 or 2) it comes up with this error "An Error Has Occured When Audio Was Decoded"

I tried making a Wav file of the movies audio in Virtua Dub and that started TMPGEnc but when it was finished the audio was out of sync.

Is there anything i can do to fix this problem.
 
Unfortunately when the person made the original DivX, things didnt go right so they run a fix it program that changes the Audio frequency from 44,100 Hz to say 44,102 to fix the lip synce probs. Thats okay for a DivX that you play on your PC, but a VCD or SVCD has to comply to strick standards. This is why it happens in some DivX conversions.

However, all lip synce probs can be fixed, just a long winded process and I'm sure this is not the olny way. Its one I use and it works for me.

I de-mux the MPG file, load the Audio mp2 or mpa file into Goldwave, then adjust the frequency from 44100 to, say, 44102 if audio trails Video, then resample back to 44.1. Save as WAV 16bit Stereo, convert wav to mpa with BeSweet and re-mux back to the video m2v or mpv file. Done.

The main problem with the above if calculating the increase or decrease in frequency. If the movie is in perfect sync at the start but audio trails video exactly 2 seconds at the 90min mark, then it will be 41000 + 2/(90x60)

I've done it that many times now I'm able to "guess" the figure but sometimes I have to repeat the process to get it spot on.
 
Top