PDA

View Full Version : Tmpg Multiplexing Audio Sync Problem


tony140
10th February 2003, 08:09
Here is what I'm doing. I'm burning 3 movies onto dvd. I'm using dvd workshop to build menus and author, but not to burn. Here is my process. All three movies are divx.

1. use virtualdub and save the wav file
2. Open the divx file in Tmpg and create a NTSC dvd project file.
3. Open tmpg project file with VFAPI and frameserve.
4. Encode with Cinema Craft Encoder
5. Convert the wav I saved in step one to Mp2 using Tmpg and toolame
6. Use Tmpg simple multiplex to join the encoded Mpeg2 from CCE and the mp2 from Tmpg.

For two of the movies, this process worked fine. However, one of the movies starts with the audio in sync with the video, then gradually the audio becomes out of sync and by the end of the movie, the audio is out of sync by about 3 seconds.

When I open the multiplexed Mpeg2 files with Mpeg Properties, all three movies bring up an error message that says "ERROR in audio packet header". This tells me that something is wrong with the way I am going about this process, but somehow the audio ended up in sync with two of the movies.

My question is where am I going wrong? What could be making the audio out of sync and how can I fix it?

Also, I'm sure some of you have attempted what I am doing. Please post your method; I'd like to know if there is a better way to put these movies onto dvd.

frank
10th February 2003, 17:31
Lost frames in that crap file.

Correct it with ce2000. 3 secs of correction is not audible.

tony140
10th February 2003, 19:36
Thanks for the reply, but could you be a little more specific. Does ce2000 stand for cool edit, and if so, could you give me a little short summary of how to fix it? this is my first time trying to fix audio.

Also, is there a way to tell if an audio file has bad frames before I go through the whole process of encoding to mpeg? The original divx file plays fine without audio sync problems.

Thanks,
Anthony

EDIT:

I opened the wav file of the movie that I saved using Virtualdub in cool edit pro 2.0, and it shows the audio length as only 50 minutes, but it is actually 1hr and 54 min long. When I play it with windows media player, it plays for 1hr and 54 min. what does this tell you and how can i fix it

frank
11th February 2003, 15:51
50 min vs. 1 h 54 min?? Not 3 s difference?

Very strange.
May be something wrong with processing of NTSC pull-down frames, or wrong headers.
No clue. I live in the PAL world.

Ask in the DIVX forum.

tony140
11th February 2003, 16:44
Well, Cool Edit is the only program showing that it is 50 minutes long, and every time I load it up in cool edit, it shows a different value. Very strange but to hell with cool edit, at least for now.

I've figured out that the original divx file I am using has bad frames. Right now, I'm in the process of removing the bad frames and trying to multiplex again.

tony140
11th February 2003, 22:52
I had bad frames in the original divx file. So, I deleted the bad frames using virtualdub-mp3 and then repeated my original process. Success, no more sync problems.

Thanks for the replies
Anthony