Log in

View Full Version : Multi-DVD movie problem


Buzz Lightyear
7th May 2004, 12:35
I want to do a XviD encode of the movie "Godfather Part2" with GKnot.
Unfortunately the movie is that big, that they've put it on 2 DVDs. I ripped them both to my harddisk, and discovered, that there is a 8-10 sec break (nothing but blackness) at the end of DVD 1. So if I just load all the .VOBs from DVD1 and DVD2 into DVD2AVI and make a project out of this, I have 10sec blackness in the middle of the movie.
Is there a way of "cutting out" that few seconds at the end of DVD1 before encoding it to XviD, or do I have to cut that part out after encoding, and hope that the keyframes are at the right spot?

(I know that's not really a GKnot question, but I didn't know where to put it.)

jggimi
7th May 2004, 12:54
You've got more than just that one particular issue -- the sound in the second half will not be in sync if you attempt to concatenate the vobs in DVD2AVI.

Let's take care of the black stuff first. My guess is that it is a chapter in the PGC at the end of disc 1, or a chapter at the beginning of disc 2, or both. If so, merely re-rip, excluding the chapter(s).

Now lets discuss audio. In order to keep the audio in sync, you have 2 choices: You can convert the audio to .wav and concatenation in AviSynth, or, you can concatenate the vob sets using VobEdit.

I've done both, and due to ease of use, I prefer VobEdit, but it consumes double the disk space, as VobEdit writes a new set of vobs.

If you're limited on disk space, then use AviSynth. It is more complicated, but takes no additional disk space. A sample script is shown in this post:
http://forum.doom9.org/showthread.php?s=&postid=433185&highlight=concatenate#post433185

To use the script within Gknot, first open the .avs with VdubMod and use Streams.. Save WAV to extract the audio track, and then edit the script and add KillAudio() at the end to eliminate the uncompressed audio during video encoding. Do not use the script that Gknot creates, as AviSynth currently does not work with nested scripts in the YV12 colorspace used by DVDs. Instead, take the cropping, resizing, and any other filters out of the Gknot generated script and use them in your own -- or, use ConvertToYUY2() in your script to support nested scripting. Encoding, in that manner, while easier, will be slower.

Now you can see why I recommend VobEdit. Merely place all the vobs in the same directory (with the disc 2 vobs renumbered), open the first vob in VobEdit, and then use File...Join Clips.

Buzz Lightyear
10th May 2004, 10:07
Uhhhhh...
That sounds not sooooo trivial after all. :)
Thanks for explaining. I'll try to use VobEdit because disk space is not a problem.