Log in

View Full Version : GK has no synch issues?


fitzov
8th February 2004, 16:26
Or maybe I just messed-up somewhere. Let me fill you in on my procedure so far (the film is LOTRIIext.):

1. Ripped both discs to HD.
2. Renamed VOBs in sequence (13)
3. Merged VOBs with VOBedit.
4. Created IFO with IFOedit.
5. continued the backup process according to xvid guide.

The audio is either too fast, or the video is too slow. As the movie progresses the video lags behind the sound more and more, until the end where it is off by about two or three seconds.

I checked the original IFOs against the new one and there were no appreciable differences as far as I could tell.

I haven't tried remuxing the audio yet. The video came out fairly decent for a 4hr long movie on 1400MB of space (including audio--128vbr Mp3).

I did notice that during the audio encoding process in BeSweet, the delay was unspecified. I'm wondering if that has something to do with it. Any suggestions?

jggimi
8th February 2004, 22:57
I've successfully "merged" LOTR extended editions using two different techniques. Since DVD2AVI only reads the .VOB files, the IFOedit step won't help you. And, my techniques have not included VOBedit.

The issue:

Concatenating VOB sets in DVD2AVI will cause audio synch errors, since the audio delays will not account for the concatenation.

Technique #1 - Used with LOTR:FOTR EE: Rip the VOB sets to separate folders, excepting "dvd transition" chapter at end of Part 1. Use the ADD button to concatenate and create a single .d2v. Notice that the sound is notably ahead of the video in the second half. Edit the .avs script, adding Trim() command to excise extra black frames that "magically appeared" when the .vob files were concatenated. Note that the sound seems to be in sync.Technique #2 - Used with LOTR:TTT EE: Rip the VOB sets to separate folders, excepting "dvd transition" chapter at end of Part 1. Create separate .d2v files Convert audio tracks to .wav format with BeSweet. In .avs, open the .d2v and .wav files as 4 separate clips with mpeg2source() and wavsource() filters. Delay the audio as described by their .ac3 file names with Delayaudio(). Combine each audio and video track with AudioDub(). Combine the two parts with "++" which is equivalent to AlignedSplice(). Open the .avs and "Save WAV" to extract the audio. Convert the audio from WAV to preferred compressed soundtrack format (.mp3, .ogg, ...). Open .avs in Gknot. I found that AVISource() had trouble with the .avs I had it open, as the colorspace was YV12. I've reported the bug to the AviSynth SourceForge project. Until it is fixed, there are two circumventions -- adding ConverttoYUY2() to one's concatenation script, or replacing the AVISource() with the concatenation script. Don't forget to add a KillAudio() to the source script regardless, as your audio will be managed separately.Of these two methods, I preferred #2.

fitzov
8th February 2004, 23:22
Thanks for the info. I don't remember having to go through all this trouble when I did LOTRI, but I can't for the life of me remember what I did do it was so long ago. I guess this is a testament to taking notes. I've been thinking of an alternative method:

1. Calculate the total size of VOBs from each disc separately (excluding the credits on the second).
2. Make two proportional sized AVIs according to the above so that they add up to 1400MB.
3. Join and split.

manono
9th February 2004, 02:49
Hi-

Your new way is no good if you care at all about having equal quality throughout the whole movie.

Here's another way (very similar to jggimi's Technique #1 :)):

Rip the DVDs to separate folders (the whole DVDs-all chapters). Then use the Add button to get them all into DVD2AVI, and make the .d2v project file and get the AC3 audio. Make the .avs normally. Open it in VDubMod and hit Edit->End and take note of the exact length of the movie. Open the AC3 in HeadAC3he (http://www.doom9.org/Soft21/Audio/headac3he-0.23a.rar). It'll tell you the exact length of the source audio, where BeSweet won't. Subtract the audio length from the video length and that's how much time you have to cut from the video. Translate that time into number of frames, and then use the Trim Command to get rid of the correct number of frames from the black frames where the 2 DVDs join.

A variation of your way would be to run compression tests on the 2 DVDs and then assign a file size to each so that each has the same percentage compressibility. Then join and split. Except for one thing. You'll still get asynch audio in the second half of the movie as soon as you join them, which is what you're trying to avoid.

Shandra
15th February 2004, 17:12
By the way - wouldn't it be less trouble to encode both DVDs seperatly with GK and later merge them with VDMod ?

recephasan1
19th February 2004, 04:03
I've had a similar problem encoding a single DVD movie where the audio is in sync in the beginning of the movie and progressively goes out of sync. the final is ~30sec out of sync.
tried it with autogk and with gk separately
virtualdubmod reports the audio to be of shorter length than the movie by the amount lagging at the end of the movie.
it seems that the audio needs "stretching"

since I am not joining two files, there are no black frames to delete.

how would I go around this problem?