1. Handling DVD

Since the majority of DVDs are interlaced and most software will not import VOB files directly, you will need to convert the video to AVI to use with your editing software. This section will explain how to decrypt then index VOB files, and how to use scripts to convert them to AVI.

IMPORTANT: Make sure the full path of the directory that you work out of does not contain any unicode characters as it will cause errors when using AviSynth!

Need the software mentioned in this guide? Visit the Setup Guide for more information.

Footage Handling Steps:

  1. Decrypt DVD with MakeMKV
  2. Create D2V File
    1. DGIndex (Windows Only)
    2. D2VWitch
  3. Convert to AVI
    1. AviSynth (Windows Only)
    2. VapourSynth

I. Decrypt DVD with MakeMKV

  1. Insert disc and Open MakeMKV.
    (NOTE: Make sure to “Run as administrator” or it may not be able to access the disc drive!)
  2. When the disc scanning is complete, click on the large disc drive icon with the DVD logo.
  3. After the disc is processed click the Stream button, which is the fourth icon at the top left and is an image of a disc with two curved red lines above it.
  4. In the bottom dialog box you will see the line “Streaming server started, web server address is http://X.X.X.X:51000 or http://localhost:51000“, click the address link to open it in your web browser.
  5. On this page you will see a link that says “web/titles”, click that link to view the titles page.
  6. On the titles page you will have links to several more pages and those pages will contain links to .vob files that you will need to download.
  7. Create a new directory and save each title#.vob file to this location.

Result:
You will have title#.vob which will need further processing.

II. Create D2V

A. DGIndex

  1. Open DGIndex, then go to File > Open.
  2. Browse to the directory where title#.vob is located and open it.
  3. A box called “File List” will come up, click the OK button.
  4. Go to Audio > Output Method > Disable
  5. Go to Video > Field Operation > Honor Pulldown Flags
  6. Go to File > Save Project
    (Important: DGIndex will bring up an information dialog box while it is processing your VOB. Among this information it will list the Aspect Ratio of your footage; make a note of it as you will need it in step 17, and may need it later in the editing process.)
  7. Browse to the new directory then save the project file as “DVD.d2v”
    (HELPFUL TIP: If the VOB files are move to another directory then you will need to create a new d2v project file.)
  8. Open AvsPmod then go to File > New tab and then go to File > Save script as…
  9. Browse to the directory where DVD.d2v is stored then save the script as Video.avs.

Result:
You will have title#.d2v which will need further processing.

B. D2VWitch

  1. Open D2VWitch and in the main window click the “Add Files” button.
  2. Browse to the directory where title#.vob is located and open it.
  3. In the main window click the “Engage” button.

Result:
You will have title#.vob.d2v which will need further processing.

III. Convert to AVI

A. AviSynth (Windows Only)

  1. In AvsPmod use one of the examples that corresponds to the aspect ratio of your video:
    Video.avs Fullscreen Example (4:3 Aspect Ratio)

    #Input video
    MPEG2Source("DVD.d2v")
    #Restores progressive frames
    tfm() 
    #Restores framerate to 23.976fps by removing duplicate frames
    tdecimate(mode=1)
    #Changes Aspect Ratio to Fullscreen
    Spline36Resize(640,480)
    

    Video.avs Widescreen Example (16:9 Aspect Ratio)

    #Input video
    MPEG2Source("DVD.d2v")
    #Restores progressive frames
    tfm() 
    #Restores framerate to 23.976fps by removing duplicate frames
    tdecimate(mode=1)
    #Changes Aspect Ratio to Widescreen
    Spline36Resize(848,480)
    

    (HELPFUL TIP: It is recommended that you visit the Using Script Filters section before proceeding to learn more about using additional plugins to clean up the video.)

  2. After the script is finished go to File > Save script, then close AvsPmod.
  3. Open VirtualDub, then go to File > Open.
  4. Set “Files of type:” to “AVIFile Input Driver”
  5. Browse to the directory where video.avs is located and open it.
  6. Go to Video then select “Fast recompress”
  7. Go to Video > Compression…
  8. In the “Select video compression” box, select “UtVideo YUV420 BT.601 (HLY0) VCM” and click the OK button.
  9. Go to File > Save as AVI…
  10. Browse to the directory where you wish to save your output and save the video as video.avi

Result:
You will have video.avi which will be usable with any editing software.

B. VapourSynth

  1. In VapourSynth Editor use one of the examples that corresponds to the aspect ratio of your video:
    Video.vpy Fullscreen Example (4:3 Aspect Ratio)

    #Import VapourSynth Core
    import vapoursynth as vs
    core = vs.get_core()
    #Import Video
    video = core.d2v.Source(r’title#.d2v’)
    #Restores Progressive Frames
    video = core.vivtc.VFM(video, order=1, cthresh=10)
    #Restores framerate to 23.976fps by removing duplicate frames
    video = core.vivtc.VDecimate(video)
    #Changes Aspect Ratio to Fullscreen
    video = video.resize.Spline36(640,480)
    #Sets Video Output
    video.set_output()
    

    Video.vpy Widescreen Example (16:9 Aspect Ratio)

    #Import VapourSynth Core
    import vapoursynth as vs
    core = vs.get_core()
    #Import Video
    video = core.d2v.Source(r’title#.d2v’)
    #Restores Progressive Frames
    video = core.vivtc.VFM(video, order=1, cthresh=10)
    #Restores framerate to 23.976fps by removing duplicate frames
    video = core.vivtc.VDecimate(video)
    #Changes Aspect Ratio to Fullscreen
    video = video.resize.Spline36(640,480)
    #Sets Video Output
    video.set_output()
    

    (HELPFUL TIP: It is recommended that you visit the Using Script Filters section before proceeding to learn more about using additional plugins to clean up the video.)

  2. After the script is finished go to File > Save script, then close VapourSynth Editor.
  3. Open the AMVtool and in the main window click the “Add” button.
  4. Browse to the directory where video.vpy is located and open it.
  5. In the main window click the “Configure All” button.
  6. In the Configure dialog box change “Container” to AVI and click “OK”.
  7. In the main window click the “START” button.
  8. Once the process finishes you can exit the AMVtool application.

Result:
You will have video.avi which will be usable with any editing software.

Advertisements