PDA

View Full Version : vob-video and ac3-sound: sound with huge delay ... what to do now?


samisupidupi
13th September 2004, 17:15
hi everyone

i have a vob-file extracted from a dvd with smart ripper. its not an entire dvd, but only one chapter. i demuxed the audio to an .ac3-file with besweet. now i'd like to play the file with the following script:

LoadPlugin("MPEGDecoder.dll")
LoadPlugin("ac3source.dll")

video = MPEGSource("amovie.vob")
return AC3source(video, "amovie.ac3")

It works okay, but the audio is about 10 seconds delayed, during the whole video. the strange thing is, that audio seems to start at the same time like the video, but already the first words afer a few seconds are much too late...

when i demux the audio to a wav-file, the problem stays the same. however, the length of the soundfile is told by the media player to have the exact same length.

i think the problem might be caused by the following: i'm working on a pal-system here, and the dvd i ripped was from america (so ntsc?). i tried the option ntsc->pal in besweet, but that only makes it worse!
i did the whole extracting-and-playing-with-an-avs also with a pal-dvd, but there it works fine! also, if i play the above vob-file directly with, say, powerdvd, there's no delay at all!

does anyone have an idea how to fix that?

the problem is, that i have a few hundred of these vob-files, so a solution is better if i can automatize it ;-)

thanks a LOT for your answers.

Wilbert
13th September 2004, 17:28
\begin{automode}
Don't use AC3Source, because it downmixes incorrectly.
\end{automode}

use DirectShowSource for example.

samisupidupi
13th September 2004, 20:30
Thanks Wilbert!

it does not get any better with directshowsource.
i also tried

v = MPEGSource("movie.vob")
a = WavSource("movie.wav")
AudioDub(v,a)

v = DirectShowSource("movie.vob",audio=false)
a = WavSource("movie.wav")
AudioDub(v,a)

without success.
Any other ideas?

Mug Funky
14th September 2004, 04:57
try demuxing with "save project" in DVD2AVI (or the new DGdecode which is the same thing but bugfixed). it'll output the ac3 from the vob and append the correct delay figure to the filename.

all you need to do then is delay the audio in avisynth (or add an appropriate delay if you're muxing the ac3 raw into the avi)

eb
14th September 2004, 16:39
demux this vob in ProjectX then remux resulted files using ReJig or whatever program you are using for DVD authoring.

eb

samisupidupi
14th September 2004, 18:02
@mug funky

dvd2avi tells me it has a delay of some 200 ms. i wouldn't care for 200ms if there weren't 10000ms more :(

@eb

thanks, i'm gonna try. do you think projectX will demux the files somehow better than besweet?
problem is, i don't know a program that is able to batch remux these files. i have about 500 vob's which have to result in 500 "real" video files...

eb
14th September 2004, 18:38
try to add as many as posible your vobs to ProjectX /simply drag and drop/, and as result you will receive single video, one or more different audio and may be subtitles

eb
PS.Having numbered your files accordingly you can use DVD2AVIT3 and files will be added automaticly after pointing/adding the first file.
sorry,this is way if you are going to make .avi