For the past three weeks or so I have been trying to watch a beautiful Xvid that I encoded to DVD but unfortunately It was out of sync. I finally got it to work using the following information that I obtained from the forum.


How the audio was handled
1. scanned stream for errors using virtual dub and the deleted the bad frames

2. used virtual dub mod to save out a compressed wav. It didn't work when I saved out the ac3 file directly. You can find virtual dub mod in the tools section to the left.

3. converted the wav to ac3 using ac3 machine. I followed a guide at www.doom9.org under the format conversion section and then under cce. There it tells you the correct settings for ac3 machine in order to properly convert the wav that you got from virtual dub mod to ac3.

How the video was handled.
1. I used CCE to convert the avi to mpeg2 and i only encoded the video. Again there is a nice guide at under www.doom9.org that describes the method. I'm sure TMPGE would also be fine for encoding the avi to mpeg2 but you can increase the bitrate settings so that TMPGE says that you are going to create a file that about 137% over the standard dvd limit. This is because the audio file that TMPGE will be an uncompressed wav which wastes space and you won't use it anyways, instead you will use the ac3 created in the first section above. There may be a way to convert avi to mpeg2 with TMPGE without converting the audio but i couldn't figure it out.

2. I then used bbmpeg to create a streaming mpeg from the mpv file that came from CCE. bbmpeg also performed the 3:2 pulldown on the mpv file since it had the 23.976fps frame rate. This step was new to me because the authoring program that i'm using required mpeg video not the mpv file that cce puts out.

3. I then authored with DVDA. I added ther mpeg and the ac3 and the whole thing was in sync. I was so happy.

The part that was critical in the steps that i listed above was using virtualdub mod to extract the compressed wav and then converting it to ac3 using ac3 machine. All of the other methods that I used to extract the audio including goldwave, nandub and virtual dub produced resulting dvd's that had sync. problems.

I hope these crude instructions can help you because they sure helped me and i apologize for not putting pictures and lots of URL's because I don't know how to insert pictures and am too lazy to hunt down all of the URL's.

I can provide more detail if anyone has a question.

Good luck,

VC