Log in

View Full Version : Sync problem (sound trails video) after muxing m2v and ac3


grue
10th November 2002, 20:53
I'm trying to do the most basic thing here (keep main movie only, but reencode at a lower bitrate and keep ac3 audio), but I end up with a sync issue when all is complete.

Here's what I have done:

-Rip DVD with dvd decrypter (files mode)
-use dvd2avi on the main movie VOBs to get a .d2v(for VFAPI) and .ac3
-use VFAPI to create an .avi (for Vegas)
-use Vegas Video to create a .m2v file
-use IFOedit to mux the m2v with the .ac3

The ac3 created by dvd2avi has 0ms delay.

The end result has the sound trailing the video by about 1/2 second.

Any tips?

Thanks!
Tom

dannyv
22nd November 2002, 23:25
Originally posted by grue
I'm trying to do the most basic thing here (keep main movie only, but reencode at a lower bitrate and keep ac3 audio), but I end up with a sync issue when all is complete.

Here's what I have done:

-Rip DVD with dvd decrypter (files mode)
-use dvd2avi on the main movie VOBs to get a .d2v(for VFAPI) and .ac3
-use VFAPI to create an .avi (for Vegas)
-use Vegas Video to create a .m2v file
-use IFOedit to mux the m2v with the .ac3

The ac3 created by dvd2avi has 0ms delay.

The end result has the sound trailing the video by about 1/2 second.

Any tips?

Thanks!
Tom

Is the sound out the same amount in the beginning of the movie as it is at the end. If so this tool should help.

http://www.doom9.org/Soft21/Audio/ac3delay_all.zip

If its out more at the end of the movie then the beginning then it's another problem. I myself have the latter problem and have still not gotten a decent answer on it so if you audio guru's out there care to comment then please do.

himadriatt
3rd January 2007, 05:34
Is the sound out the same amount in the beginning of the movie as it is at the end. If so this tool should help.

http://www.doom9.org/Soft21/Audio/ac3delay_all.zip

If its out more at the end of the movie then the beginning then it's another problem. I myself have the latter problem and have still not gotten a decent answer on it so if you audio guru's out there care to comment then please do.

If delay increases over time, the video may be natively a 29.9fps but flagged as 23.9fps RFF. It means the player is told it is 23.9fps source and to do the "Repeat-First-Frame" on playback...in effect the video slows down (w.r.t. the sound) and as time goes by, the gap/sync increases. If that is the case, try pre-process video (.m2v) using "pulldown.exe" with it's "-norff" option before the mux with same audio (.ac3).

Himadri

blutach
3rd January 2007, 05:56
Wow - reviving a thread that is more than 4 years old.

Regards