Gordian Knot encoding tutorial
there are two things i am goin to assume you know already :
I am going to assume that you know how to decode (.VOB) files off a dvd, so I'm skipping this step. (you can use dvd fab or dvd shrink or dvd decrypter)
I also have revamped this site in a generic way so that I don't infringe on any laws. lol
you need one and only one software ->> gordian knot (latest version)
do search on google (use search string = "gordian knot rip pack" in google )
Step 1: Initial VOB preparations
Open up the Gordian knot if you have not.
In this step we are basically creating an index file called a (.d2v), which is created with DGIndex.
This file contains all the necessary info such as aspect ratio, vob location and a detailed decoding
of the movie frame data.
Under “2-Prepare the VOB’s”, click the button to open up DGIndex.
DGIndex is now open.
Open the decrypted vob’s as shown below.
By holding down left mouse button and going over all files in window you can select all files at once, instead of adding them one by one.
Now the app goes to this file list. Make sure all the vob’s are in sequential order. Click ok
Now we have to determine the frame rate we’ll use and to make sure of the aspect ratio, by running a preview.
To do this press the F5 button and let it run for a couple minutes or until the app states under Video Type, Film
of 95% or better. After either thing is determined press Esc button.
If “Video Type” is Film 95% or better you must check “Forced Film” as shown below. If “Video Type” is NTSC or Video, make sure “Honor Pulldown Flags” is checked below. NTSC is equal to 29.97 fps and Film is equal to 23.976 fps.
Also make sure to demux all audio tracks as shown below.
Now you can save your project as a (.d2v) by pressing F4 button and naming the file.
Press save and get a cup of coffee or go to bathroom, this can take between 3-10 min. When finished close the app out.
Step 2: Setting up the encoder
A. Opening up (.d2v)
As shown below, go to lower left hand corner and press open button.
Open (.d2v) as shown below.
The window below pops up. Don’t close it! You will need it later to finish process. Either minimize it or click on window of main app.
Shown below, we’re back to main app interface.
B. Setting up resolution
This and Bitrate can really be anything within certain parameters. For the sake of this tutorial I’m using my home media center set up. This is where you have to know aspect ratio. Under input resolution, make sure its NTSC. Under input pixel aspect ratio, make sure the proper NTSC setting is applied. In this case I’m using 16:9, only check one of top two until you have a grasp of app and want to experiment. Under output resolution, move the slider and get a resolution you’re shooting for. This again can be anything within proper height and width standards. As you’ll see below this is the highest resolution I can use for my media center project, but as you’ll see at the end of tutorial this will be a sizable file.
C. Bitrate configuration
Click bitrate tab to open interface shown below.
- Go to folder that has VOB’s (shown below) and see what the demuxed (.ac3) audio file bitrate is. In this case it’s 384 kbs. In the drop down of “audio A” click appropriate bitrate.
2. Check what codec you want to use under codec, I use Xvid.
3. Under “Total Size”, make sure “Number Cd” is 1/3 cd/dvd, and “1 cd =” is set to either 700 mb or 4479 mb. The bigger one is so you have ability to make big files.
4. Under “Total Size” again, and under “total file size”, give the file size you want to get. I’m making a High Def file so under “Video” watch the “Average Bitrate” while increasing the total file size until you reach your target Bitrate; in my file it’s going to be 3000 kbs.
5. At the bottom of app make sure “bits/ (pixel*frame)” is above 0.20, if not the window will turn yellow or red if set to low.
6. Under “Container” check proper setting. Most people will use AVI.
Step 3: Saving current settings and Avisynth settings
Maximize or bring to the top, the window that was minimized at the beginning of last step. It looks like the below example.
Press “Save & Encode” button and see below example.
Under “Field Operations” you can check a filter or opt for “none”. Next, press “Preview” button to make sure the aspect ratio is correct, as shown below.This brings up the media player and will show you the video with the filters you’ve selected virtually applied. It is normal to hear no audio, because we’ve removed the audio track and put it to the side so to speak. Press stop and close the media player when satisfied by result.
Now press “Save & Encode” and you will see the below
Name and save file. This is main settings file the encoder uses for passes.
Now the next example shows you what pops up next.
As you can see at the top of this example, all the settings are displayed.
Now we must choose the audio track we want to use by pressing “Select” button.
Shown below is what you’ll see.
Depending on the ripping process you used, you could have 1 or more tracks. Pick the file you originally projected for this project and open it. The “Audio 1” tab is all that’s necessary to use for now. Shown below is what you opened. Because you used 384 kbs to calculate the total file size initially it is suggested you enter that value as shown below under “Mp3 Average Bitrate”.
Now click on “Xvid” or “Divx” tab and you will see the below tab display.
In this window all you have to set up is the pass settings. Shown below is what the “First pass” and “Second Pass” buttons will bring up.
I don’t suggest changing anything here until you have some experience, but you may want to press the “more” button on the line
of [email protected]
and you’ll see the below. Under "Quantization type", you can change this from default "H.263" Matrix to
"MPEG" Matrix or any custom matrix you like.
You may want to use “Quarter Pixel” or “Global Motion Compensation” settings at some point for enhanced results, but these settings will drag out process by 2-3 additional hours. So for now just press “ok” without setting anything here and “ok” again on main “Xvid” settings and do the same with the “Second Pass” button. Now you press “Add Job to Encoding Queue” button and you’ll see the below come up.
Select “Yes” to begin encoding process. You will see the next example.
This command line app starts minimized, so if you want to see it you must click on the toolbar to make it visible.
This step transcodes the (.Ac3) file to a (.Mp3) file. Below you’ll see the end of this process adding a smart gain in decibels.
This is actually called a “Hybrid Gain”.
VirtualdubMod is called up and will encode the first and second passes in the same fashion. If you want to see the
progress in these steps you must maximize the VirtualdubMod app and open the status window as shown below.
In a nutshell this is the process. It may seem highly complex to go through all these settings, but will yield better end results. The biggest difference between the Gordian knot and all other encoding apps is its separate audio and video handling feature. It is beneficial because coding audio and video together may cause errors in either file, more isolation will ensure errors are minimal.