What can be going wrong?

I used DVD Decrypter to copy vob files to my harddrive, then I use DVD2AVI to prepare the files so that tmpgenc can read all the vob files and not only one vob, then use tmpgenc to encode it (using cyberimage's template which lets me put the entire movie in one cd). But the end result was having some audio problems, also at the end of encode, I got this buffer overflow error but the video still played fine after a simple multiplex.

I use cyberimage's template to conver my downloaded DIVX to XVCD as well so I can watch em on my DVD player and I didnt have any audio synch problems at all. Last night I tried to copy directly from DVD then convert to XVCD using the template and got this audio problems.

Any idea?