Capping Setup

I always install programs in Administrator mode in Vista and Windows 7; some programs won’t install correctly if you install them as a normal user. Right-click on the installer exe, and select “Run as administrator”.

Updated October 21, 2010

STEP 1: DOWNLOAD PROGRAMS, SCRIPTS AND FILTERS

Needed – HD (x/h264 re-encodes, VC-1, Bluray, HD DVD)

VirtualDub – I use the latest stable version
ffdhow
Haali Media Splitter – dowload MatroskaSplitter; you’ll find the link on the top right under Downloads.
DirectShowInputDriver – Version 0.5 0.8 is currently the most recent version. If the link doesn’t work, you should be able to find new links in the support thread. You can also let me know by e-mail or by leaving a comment at the bottom of this page, and I’ll find a working link.
tsMuxeRGUI – demuxing Bluray program streams (*.m2ts) and HDTV transport streams which contain h264 coded video (same as Bluray) (*.ts) to elementary streams when needed.
MKVMerge – needed for remuxing the files demuxed with tsMuxerR. Download MKVtoolnix andMKVEXtractGUI

Outdated methods/might work if the current ffdshow-virtualdub-method doesn’t work on a problematic file:

Evodemux – to demux HD DVD discs
DGAVCIndex – to create a project file of h264 streams on HD DVD/Blu-Ray and aired by SKY HD in the UK
Avisynth 2.5 – link below

Needed – MPG2 and DVDs

Avisynth 2.5
DGMPGDec

Optional – All (nice to have but not absolutely essential depending on your source, and whether you process caps during capping or after in ie. Photoshop)

TomsMoComp – for deinterlacing DVDs and MPG2 hd transport streams when needed. All my current caps such as Xena DVD caps are deinterlaced with this.

STEP 2: INSTALL INSTRUCTIONS

  1. Install ffdshow: at the beginning, select all options the installer offers.
  2. Install Haali Media Splitter
  3. Unzip VirtualDub and move the folder to Program Files.
  4. Unzip DirectShowInputDrive and move the file DShowInputDriver.vdplugin to VirtualDub’s plugin folder (Program Files/VirtualDub/plugins/). If it doesn’t exist, create it.
  5. Install tsMuxeR: unzip it to its own folder, move the folder to Program Files, right-click on tsMuxerQUI.exe and create a short-cut to the desktop (send to desktop).
  6. Install MKVMerge: install MKVtoolnix and check that your desktop has a short-cut labelled MKVMerge.
  7. 7. Install Avisynth.
  8. 8. Install DGMPGDec: unzip and move the folder to Program Files. Copy DGDecode.dll to VirtualDub’s plugin folder.

STEP 3: CONFIGURE FFDSHOW

  1. Lauch VFW configuration (Start Up -> Programs -> ddfshow)
  2. Select Decoder-tab and at the very top on the left, select Codecs.
  3. Now in the window in the right, there’s three colums: Format, Decoder and Supported FOURCC/remarks. We are interested in Format and Decoder.
  4. In Format column, find H.264/AVC – if the decoder column reads anything other han “libavcodec”, click on the and from the drop-down box select “libavcoded”.
  5. Again Format column, find VC-1 and change the decoder to “libavcodec” if needed.
  6. Click OK and close the program.

Windows 7

NOTE:  October 21, 2010 – when I reinstalled from scratch on this date, I did not need to follow STEP 4below. I’m assuming that because my computer is all up-to-date with Microsoft and Windows updates, that something has changed somewhere that makes Step 4 unnecessary. So, when you get to this point, and you have Windows 7 (32bit or 64bit), now test if you can open a VC-1 and h264 MKV in VirtualDub – if you can, all is well and you can move on to Step 5. If you can’t, continue with Step 4.

Other Windows Versions

If you have another Windows version such as Vista or XP, you should be able to open vc-1/h/x264 MKV in VirtualDub normally. If you need to learn how to make a MKV, go to Step 5.

STEP 4: WINDOWS 7

By default, Windows 7 does not allow user to choose a third-party filter to use, so the get the ffdshow working in VirtualDub we first have to make a few changes to the default Windows 7 configuration. Don’t worry, this is easy!

  1. 1. Download shark007′s Windows 7 codecs from http://shark007.net/index.html NOTE: if you have 64-bit windows, also download the addons from http://shark007.net/x64components.html
  2. Install and then run as administrator (=important!)
  3. In the small window, go to the h264 tab
  4. Set the options like they are in the screenshots below; first one is for 32-bit Windows and the second, for 64-bit Windows.
  5.  Once you’ve done it, click on Exit. If you messed up or things don’t work correctly, you can restore the default Windows 7 configuration by clicking on “Reset All”.

64-bit Window:

 

STEP 5: HOW TO MAKE AN MKV

The Easy Way

Currently the easiest way to make an MKV for capping purposes is to use MakeMKV.

  1. Download MakeMKV and install it
  2. View -> Preferences -> Language -> Preferred Language [select which language audio and subtitles you want to be selected automatically for ripping. If you don’t set Preferred Language, all audio and subtitle streams are selected by default which means if there’s 50 of each included, all 50 of each will be ripped unless you manually unselect them before starting the ripping. Save by clicking Apply.
  3. Still in Preferences, go to Video -> Minimum title length = I have this set to 2 and it seems to work well.
  4. Save the changes you made to Preferences by clicking on OK.
  5. Open your Bluray in MakeMKV (when the Bluray has already been ripped to the hard drive): File -> Open Files ->your Bluray folder -> Stream -> BDMV -> index.bdmv
  6. Open your Bluray in MakeMKV (when the Bluray is in Bluray drive): File -> Open Disc -> Select your Bluray Drive
  7. After MakeMKV finishes reading the disc, you’ll see a list of titles. If you have a movie, there’s usually one big (20GB or bigger) title. If you have tv series disc, there’s normally 4-6 titles of size varying between 5,5 and 13GB. Sometimes the episodes are in chronological order, and sometimes are aren’t. So you’ll just have to rip the titles untill you get the episode you want.
  8. Hover over the “Bluray disc” test and right-click on it – > Unselect all. This unselects all the Titles so you don’t have to unselect all the unwanted menu, extras etc. manually.
  9. Now select only the title(s) you want. There’s a little tiny arrow in front of each Title: click it and you’ll see a list of streams belonging to that particular title. Either some or all are already selected for you; depends on your purpose whether you want to rip all of them. I myself mostly use MakeMKV to make MKVs for capping so I tend to unselect everything but the “Video” line
  10. Next go to Output Folder -> either browse to the folder where you want to save the resulting MKV by clicking on the little orange button, or copy/paste the path (example: C:\\Videos) there.
  11. Click the button beneath “Make MKV”. When it finishes, you should be able to open the MKV in VirtualDub.

Sometimes it happens that for whatever reason, MKVs made with MakeMKV are all pixelated when you look at them in VirtualDub. In this case, you’ll need to do make the MKV in the old fashioned way which I have described below.

This is necessary because I can’t remember how I made the m2ts-files open in VirtualDub as-is (if I ever indeed managed that, could be I remember wrong). So we have to change the container to mkv which opens without problems in VirtualDub.

  1. Locate the m2ts file (or pixelated MKV file) holding the episode or movie you want. Open it in tsMuxerGUI – the interface is quite simple, just click on “Add”.
    In the window below, you’ll see a listing of streams in that particular m2ts file: we are intersted in the high definition video stream. You can ID this by looking at the “Track Info” column: we want the one that says “Resolution: 1920x1080p” among other things. I usually just want to demux the video stream, so I unselect all other streams but this one. You can also choose to demux other streams, ie. audio – in that case, leave that selected.
  2. In the “Output” section, tick “Demux” and in the space below, locate the folder you want to demux in and give the file a name you want. Then click “Start muxing”.
  3. Once the demuxing completes, close the program
  4. Open MKVMerge. Open your desired *.264/*.vc1 file by clicking on “Add” and choosing it.
  5. Go to the Output section, and locate the directory you want to save the mkv in and give the file a name. Then click on “Start muxing”. There’ll be a pop up warning about specifying a correct framerate, and that if you don’t, the assumed framerate will be the default. Just click OK – you don’t need to worry about the framerate when you’re making a mkv just for capping – only if you’re making a mkv for watching. Once the program finishes, you should be able to open that mkv file in VirtualDub.

 

Leave a Reply

Your email address will not be published. Required fields are marked *