Most
of the DVD conversion guides I have found have been a bit
vague, just text and with no pictures to show you what to
do. Hopefully this one will be clearer ;). I've already explained
basically how to use Flask Mpeg so I will now explain the
alternative to Flask Mpeg, Mpeg2Avi and VirtualDub.
Mpeg2Avi
is a little less user friendly but is just as fast as Flask.
Other benefits are that the Mpeg2Avi program tends to make
slightly smaller files than the same settings in Flask Mpeg.
There
is also much less chance of your audio becoming out of synchronization
with the video source because VirtualDub is able to fix these
problems as they appear. You will have to decide which version
converts the DVD CD best. Anyway here is the step by step
guide:
Note
: I didn't realise why Vob Merge and other programs couldn't
handle sticking together the large files I had on my hard
drive. DoD Speed Ripper allows you to append Vob files as
it rips them, but when it gets to 4 gigabytes it stops! The
reason is that Windows 95/98 cannot save a single file larger
than 4 gigabytes. AVI files are even worse I am told that
they are limited to a two gigabytes!
Programs
you will need:
-
DVD Ripping tool
-
AC3-Decode 0.8.1x
-
VirtualDub
-
AVGUI (optional)
-
Divx Codec (3.11alpha or above)
-
Radium MP3 Codec
Note:
Most programs will require that Windows Media Player is installed
and fully up to date ie. install the Media Players latest
upgrade! You will probably also need Direct X 7.0 installed
and Direct X Media (which is different from Direct X and needs
to be installed as well).
Step
1. Ripping the VOB files
This
is simple, use DeCSS or DOD Speed Ripper or VOBDec (with the
GUI, if you want to) or DeMPAA to copy the VOB files from
the DVD CD to your hard drive.
Step
2. Converting the VOB's to Divx
Make
sure you have the Divx Codec installed along with all the
Windows upgrades mentioned at the start. You may as well install
the Radium MP3 Codec here too. Copy the Mpeg2Avi program folder
to your hard disk.
Put
inside the same folder as Mpeg2Avi the AC3DEC and the AVGUI
programs. Don't copy the folders just the programs. Inside
the Mpeg2Avi folder should look something like this:
click
to see picture
Double
click on the green avgui icon and you will see the following
intro screen. Notice that it tells you that both Mpeg2Avi
and ac3dec are found and ready to use:
click
to see picture
Select
the Video tab and put in the following settings I have left
everything else default. When you click on the badly named
button "Give me many Pictures", Avgui will let you browse
for the VOB files on your hard disk. Use the "Output" button
to select where you want to save the Divx video file. If you
have a PAL DVD use 25 as the Frame Rate and 29.970 for NTSC
DVD's.
I always select the output as AVI YUV2 because it is faster,
but I don't think its too important which one is used; RGB
is slowest because it is converted to YUV before it is compressed:
click
to see picture
When
you have finished choosing the correct settings press the
"give me my video" button and it will open the following dialogue
box. Under the Video Codec Select DivX ;-) MPEG-4 Low-Motion.
Press the Configure button for additional settings. I set
the Compression Control to 0 Crispness.
You
can play about with these settings if you like to see how
it turns out. What Data Rate to choose depends on your finished
film length. Obviously the higher the Data Rate the better
the finished result. But to fit everything on a single 650
MB CD requires that we use about 900 kBits/s for a 90 minuet
film. For a 2 hour film you will require about 650 kBits/s.:
click
to see picture
Click
OK and the following window will appear showing the video
compression progress:
click
to see picture
Once
finished click on the Audio tab (there are even less settings
here). Click the "Give me food" button and browse for the
VOB file again. Use the "Output Files" button to tell it
where to save your audio file. Click the large 'give me
my audio' button:
click
to see picture
Up
pops the Audio compression settings. Choose PCM 48.000 Hz
16 Bit, Stereo. Click OK:
click
to see picture
The
following window describes your progress:
Note:
Unless you put a .wav extention on your file the computer
will spend an hour converting the audio and then you will
loose it all! You have now been warned call it something.wav!
Step
3. Sticking them all Together
Run
VirtualDub and open the Divx video file you just made:
click
to see picture
Go
to the Video settings and select Direct stream copy:
click
to see picture
Choose
Frame Rate > Change so video and audio duration's match.
Click OK:
click
to see picture
Go
to the Interleaving options and set it to Preload 1000 ms
of audio and interleave audio after every 500 frames. Click
OK:
click
to see picture
Choose
the Audio Compression option > MPEG Layer-3. Click Show
all formats and select 96 kBit/s, 44,100 Hz, Stereo (you
can also go as high as 128 or as low as 64 kBits/s if you
wish):
click
to see picture
Go
to the Audio settings. Make sure it is set to WAV audio
and select Full processing mode:
click
to see picture
Finally,
choose Save AVI and select where you wish to save it on
your hard disk:
click
to see picture
The
following box will appear showing details of its progress.
In about 10 to 15 minuets your final Divx will be complete.
To speed up this process you can also select a higher priority
in the processing thread priority box (circled in red):
click
to see picture
Congratulations,
you now have a finished Divx video file ;o). Now do the
same to each Vob file you have extracted to make them into
Divx video files.
Joining
the Files
DVD's
usually split the movie on the disk into between 4 and 6
separate gigabyte chunks. People with huge hard disks often
merge the VOB files together before they compress the DVD
to Divx but this is not necessary for us or even desired
because merging large files in Windows can cause difficulty.
We will now use Virtual Dub to merge these finished files
together into a single video file. Virtual Dub is a great
program and you would do well to learn to use it properly.
It is so cool that every programmer seems to be taking its
code and using it to make new applications with! If you
ever come across a problem I'd bet any money your gonna
need Virtual Dub to sort it out ;-P.
Note:
I used to say use Pecks Power Join to merge AVI's, but
I have come to realise that I had only tested it with very
small files - duh! So don't bother with Peck it messes with
large files!
Open
the first .avi file you wish to join ie. file1.avi :
click
to see picture
Now
select Append video segment and then open the second .avi
file you wish to join ie. file2.avi :
click
to see picture
Choose
append video segment again and open the third .avi file
you wish to join ;) and so on until you have selected every
.avi file in order. Next choose Video > Direct stream copy
and Audio > Direct stream copy:
click
to see picture
Now
select Save segmented AVI... and choose where to save it:
click
to see picture
Up
pops the progress box. Choose even higher if you want to
do it faster:
click
to see picture
After
about ten minuets you will have a completely finished Divx
movie small enough to fit on a single CD-R. Phew!
Troubleshooting
Large
Files
Be
careful when dealing with large files! The Windows 95/8
File system cannot handle AVI files larger than two gigabytes!
I have found that the safest way to merge large files together
is to use the Virtual Dub's appending options as described
above. I no longer advocate using Pecks Power Join or any
other joining method for Mpeg-4 files other than using Virtual
Dub to restream them. In my experience there is NOTHING,
no program in existence that can merge large mpeg-4 AVI
in the way Peck Power Join can merge small AVI files….until
someone makes it that is =).
Disappearing
Boxes?!
I
have had so many people email me telling me that as soon
as they press the give me my audio or video button on AVGUI,
the black box flashes up and then disappears again resulting
in no conversions! This is not a problem with the programs
themselves. They are DOS programs and DOS programs usually
cannot read the Windows long filenames. Hence they give
a 'cannot find file' error that will close the program!
The solution is to NEVER name your files or folders with
names longer than eight letters! To be safe you should make
sure that you only use letters and numbers in your names
and also only in lower case. For example, you can safely
rename each vob file to: file1.vob, file2.vob, file3.vob
and so on. You can put them in a folder on your main drive
(usually the C: drive) in a folder called divx or something
like that. Do not put this folder inside any other folders
unless they have eight or less characters in their names!
This should solve all your problems.
Multi-Language
DVD's
Usually
if the DVD is multi-language it will have two or more audio
files saved inside the VOB file. After you have ripped the
VOB to your hard disk all the sound will be messed up and
sound like a severely scratched audio CD, or you may just
hear two voices playing at the same time! Usually ignoring
the apparent problem and just converting the DVD as normal
will do the trick. The ac3dec software will only decode
the audio00 file, which is almost always the English soundtrack.
If
this doesn't work you could try a program called VobSnoopy.
It is simple to use, just open the VOB file and select the
extract Audio option to extract all the audio files. Open
AVGUI as though you were going to convert the audio. Select
the fist file 'audio00' or whatever you called it. Now instead
of converting it choose the 'play audio' button. Is this
the English soundtrack? If not, delete this audio file!
Then open the next and the next until you find the English
sound track. Delete all other soundtracks except English.
You should now be left with the correct audio and video.
Convert the video as normal, but instead of choosing the
VOB file for the audio select the extracted audio file:
click
to see picture
Alternatively,
if this doesn't work, it is likely that the film has been
recorded twice! Some Disney films have been known to do
this. If this is the case do the following:
Use
the program MpegUtils to analyze ALL the VOB's. Use the
Check VOB button and then split by Vob ID. Now look for
the VOB files that have about the same sizes and play a
bit of each. These files usually will contain the same part
of the movie but one will be in another language. One is
for the English version, one is for the French, German and
so on. Delete all the unwanted language VOB's and merge
the rest in the right order using the program Vobmerge.
Remake the DVD structure thusly vts_01_1.vob ; vts_01_2.vob
; vts_01_3.vob etc. Bingo, perfect audio!
Interactive
DVD's
Interactive
DVD's are not too common at the moment but when one such
as The Matrix comes along it presents all kinds of problems.
You must treat them as you would a Multi-Language DVD. You
must use MpegUtils to split the VOB files up and look at
each clip to try and figure out where they should go. Once
you have them in the correct order just VobMerge them together
and bingo! The following example is how The Matrix was solved
thanks to Asyd Rayne:
You
must open each file individually with MPEGUtils and click
"Check File". Then click "Split VOB". Make sure you set
it to Split by VOB ID in the popup window. Then you can
delete your original VOB file. To fix The Matrix just delete
the following files highlighted in Red and you will have
a perfect version.
|