Guides -> How to convert a multi-feature DVD+/-R to DivX/XviD with ease using free software (DDTool guide)


Quick Introduction

Lots of devices play DivX/XviD these days, from PDAs to games consoles and an ever increasing number of people are choosing to stream their own media. However, it was only a few years ago that everyone started to replace their VCRs with standalone DVD recorders and were recording things to DVD+/-R.

As people tend to record multiple features (or "episodes") onto one DVD+/-R, it can be a bit of a bore to convert each of those features one by one. This guide will take you through the process of converting a whole DVD+/-R at a time, allowing you to convert your DVD+/-R collection to DivX/XviD with relative ease.


Essential Tools:

You need these tools in order to follow this guide, so if you don't have them already, go and download them:

DVD Demuxer Tool (DDTool) 2.21 (or later)

This tool is a GUI for PgcDemux and mplex, allowing you automate the process of demuxing multiple features.

PgcDemux (or later)

This tool is required by DDTool.

mplex (part of MJPEG Tools)

This tool is required by DDTool.

AutoGK 2.55 (or later)

Auto Gordian Knot (or AutoGK as it's also known) is the software we'll use for conversion to DivX/XviD.

Optional Tools:

These tools will not be covered specifically in this guide, so you are not obliged to download them in order to follow this guide, but they are worth a quick mention as they may help you:

VLC media player 0.9.9 (or later)

You can use VLC to play the VOB file to make sure you have extracted the right parts of the DVD. VLC will play many file types and is highly respected.

The Guide

In this guide we will focus on converting the features to XviD (instead of DivX). However, it is easy to convert the files to DivX using this guide, if you prefer, by changing a simple setting within the "Advanced Options" of the software we are going to use (AutoGK).

STEP 0 - Configuring the tools before first use

If you haven't already done so, install all the essential tools now!

You only need to configure the tools the first time you use them (or if you've messed with the settings since you last followed this guide). So, if you already have the tools configured skip to STEP 1.

Configuring DDTool

Before you use DDTool for the first time, go to the 'Settings' tab and ensure everything is set correctly:

Once you've configured everything on the settings tab, click 'Save as default'.

STEP 1 - Checking you have enough free space

Before you start ripping a DVD, you should ensure you have enough free space on the hard drive to which you are going to rip the DVD. I recommend you have at least three times as much space free than the total size of the DVD. So if you have a 4.35GB DVD, you should have at least 13GB free. If you have an 8GB DVD you should have at least 24GB free. If you have more than one DVD to convert to DivX/XviD (as AutoGK can convert more than one DVD using it's "Job queue", which you'll see later) then you will need to check you have enough free space for more than one DVD. Just remember you need at least three times as much space free than the total size of each DVD.

To see what the total size of a DVD is you must insert it into the DVD drive, then open "My Computer", right-click on the drive with the DVD in it and select "Properties". As you can see, this DVD is about 8GB:

You can see how much space you have free on any given hard drive by opening "My Computer", right-clicking on the hard drive and selecting "Properties". As you can see I have over 46GB of free space on this hard drive:

STEP 2 - Interpreting the DVD structure

If the DVD you wish to convert isn't already in the DVD drive insert it into the DVD drive now.

Start DDTool (if it isn't already running) and click the "Run PgcDemux" button. PgcDemux should start.

Once PgcDemux starts, you can use it to check the structure of the DVD in your DVD drive. You must take note of the DVD structure before you can use DDTool.

Now, by clicking the "Browse" button, under 'Input IFO' and going through each of the .IFO files that make up the DVD, you should be able to locate the features you want by the listed play lengths.

Next you need to make note of how they are structured:

Sometimes all the PGCs (one for each feature) will be under the same VTS, like this:

Note: If your DVD has 'multiple PGCs per one VTS' like this, you'll need to use PGC Mode (in the next step).

Other times they might be under different VTSes (i.e. each VTS has one PGC):

Note: If your DVD has 'One PGC per multiple VTSs' like this, you'll need to use VTS Mode (in the next step).

STEP 3 - Setting up a job in DDTool

Before we continue, you may find it useful to keep PgcDemux open (after following the previous step) so that you can refer to the information it provides about the structure of the DVD, whilst they enter the details into DDTool (in this step). It's probably a good idea to close PgcDemux before the actual ripping takes place though!

Start DDTool (if it isn't already running) and ensure you're on the "Job Details" tab.


Depending on the DVD structure you saw in the previous step, will have to select the corresponding mode in DDTool:

Series Name

Enter the name of the series (e.g. "Christmas Home Videos").


Depending on the mode selected, you will be required to complete a different set of options.

Details applicable to all modes (follow this no matter which mode you selected)

Details applicable to PGC mode (only follow this if you selected PGC mode)

Once you've entered these details, click "Proceed" and skip to STEP 4.

Details applicable to VTS mode (only follow this if you selected VTS mode)

Once you've entered these details, click "Proceed" and skip to STEP 4.

Details applicable to Manual mode (only follow this if you selected Manual mode)

Once you've completed the "Basic Details" section, click "Proceed".

Next complete the details for each feature:

Once you've entered the details for a feature, click "Next" and enter the details for the next feature.

Once you've entered details for all features, click "Finish".

STEP 4 - Run the job

Once you've completed the previous step, you should be presented with the "Job progress" window. Take a few moments to revise the details on this screen to ensure they are correct.

If the details are not correct, click "Close" and re-enter the details.

If the details are correct, click "Go!" and DDTool will create the relevant directories within the destination directory and then start to rip the DVD to those directories.

It may take a while for DDTool to complete and in that time DVD Decrypter will pop up as it rips each feature.

Once the DVD has been ripped, DDTool will generate a .ddmfr2 file within the directory that holds the ripped files. The .ddmfr2 file can be used if you ever want to re-run the same job (using the "Load job" button in DDTool).

You can now close DDTool and continue to the next step.

STEP 5 - Converting the .VOB file (DVD Video) to DivX/XviD using Auto Gordian Knot

Once you have ripped all the features to their respective folders, start AutoGK:

Firstly click the "Input file" browse icon (that's the little folder with the green arrow pointing towards it) and locate the .VOB for the first feature. This will be somewhere in your destination bas path (as per DDTool). Once you have located the .VOB, highlight it and click "Open":

This will load the file into AutoGK:

Next, under "Select output size" click on the "Custom size (MB)" option. Note: selecting this option will cause AutoGK to encode the video using a 2-pass method. This means it will read the feature from the .VOB file twice, to improve its final quality.

Now you must enter a size (in MB) that you wish the final DivX/XviD file to be. You can enter anything here, but I tend to enter values that will let me get 2 or 3 features (or about 1 hour of video) on one 700MB CD-R. For example:

After a while you will get an idea of the sort of number you want to enter here. If you are uncertain, you could always just convert one feature for now and see how it turns out before you convert the rest.

Note: you only have to set the "Custom size (MB)" for the first feature. The same values will be used for the other files you add.

Next click the "Advanced Settings" button.

You are free to enter whatever details you wish here, but I recommend the following:

Once you have done this, you can click "OK".

Note: Every time you use AutoGK from now on it should retain the Advanced Options. You will have select the "Custom size (MB)" option and set the value (on the main AutoGK screen) every time you start AutoGK, though.

Finally click "Add Job" and this job will be added to the "Job queue".

Next, you can either add the remaining features to the Job queue, or you can just click "Start" to convert the first file and see how it comes out.

If you want to add the second feature, simply do the following:

Repeat this for the remaining features you wish to convert and then click the "Start" button.

AutoGK will run a series of applications (which will appear on your task bar) to convert each feature to a XviD/DivX .AVI file. It can take anywhere between 20 minutes and 2 hours to convert each feature (depending on the specifications of your computer). The output will be located in the "Output file" folders you specified earlier.

Now you can just sit back/have a coffee/go to work/go to sleep (delete as appropriate) until AutoGK has completed the job queue.

Once the conversion is complete you can delete the "agk_tmp" folder (and its contents), the .LOG file, the .VOB file and any other files, leaving just the XviD/DivX .AVI file for each feature:

...and that's it! :-)

Note: whilst AutoGK is converting a series of features to DivX/XviD, you can rip the next DVD you want to convert (using DDTool) and load the ripped files into the AutoGK Job Queue. Once it has completed the first series of features, it will continue to convert any additional features you have added to the queue.

If this is one of the first features you have converted to DivX/XviD by following this guide, you should probably check the output to ensure the quality meets your satisfaction. If it doesn't you should adjust the quality setting in AutoGK ("Custom size (MB)") and try again.


"Too many pictures per GOP (>=500). DGIndex will terminate." error message in AutoGK

If you see this DGIndex error message when AutoGK is trying to convert a .VOB:

This means that PgcDemux didn't rip the feature properly. If you have another go, it should be ok. If you get the same error you could either try another DVD drive.

"FastWriteStream: couldn't open "C:\???\???.avi": The operation completed successfully." -or- "FastWriteStream: couldn't open "C:\???\???.avi": The process cannot access the file because it is being used by another process." -or- similar error message from VirtualDubMod

It seems this error is related to having Symantec AntiVirus installed on your system. See this thread for full details:

It seems you either need to replace the VirtualDubMod.exe with a fixed one, or possibly replace Symantec AntiVirus with another anti-virus package.

Audio problems (no audio -or- audio is 'jumpy')

Firstly, you should check the .VOBs contained audio by playing them in a .VOB-compatible media player, such as VLC media player. If you cannot hear any audio when playing the .VOBs, you may need to install AC3Filter. If that doesn't work, try re-ripping the .VOBs after AC3Filter has been installed.

If the .VOBs contained audio and your certain you chose a valid audio track in AutoGK, you should note that although this guide suggest you use VBR audio (as it's generally more efficient), some players cannot process VBR audio very well (if at all). So, if you experience any problems with the audio of your .AVI files, try setting the "Output audio type" to: CBR MP3, kbps [128] (under "Advanced Options" in AutoGK). Thanks to MaxBlack for the tip-off.


Feedback is always welcome! Please post your comments, suggestions or questions to the forum.

Thanks for reading!

Page updated: 13 June 2009