Setting Up

     I'll make this as brief as possible without getting too cryptic. There are quite a few things to do here, but if you know how to download files and install software, you'll manage just fine. The following software is available elsewhere, but to ease the process of acquiring them, and to help guarantee their availability I've taken the liberty (under the terms of the GPL, where applicable) of hosting them here, as well. Please follow along and install each item as I mention it:

Software

7-Zip - source - site
     Several archives we want are in the .7z format, you'll need this to open them.

AviSynth - source - SourceForge project - wiki
     Version 2.5.8 is current as of this writing, and is what I'll be using. When you run the file, choose the "Standard" installation when given the option.

VirtualDub - source - site
     Extract this to a directory of your choice; I use C:\VirtualDub for simplicity's sake.

Lagarith - source - site
     A mathematically lossless codec, this does take quite a bit of disk space to employ, but it works very well with VirtualDub and is well suited to what we're doing here. You can use something else if you'd prefer (and you'll need to if you're going to Youtube), but I highly recommend giving this a shot.

AviSynth MT - source - Doom9 thread
     This package is what adds multi-threading capabilities to this version of AS. Without it, the scripts we'll be running will leave you rendering your videos until the Sun collapses. Extract avisynth.dll to your WINDOWS\system32 directory, overwriting the existing version, then--be careful here, this next part is easy to mess up--extract the plugins directory to your Program Files\AviSynth 2.5 folder, and let it overwrite the three existing .dlls.

CPU-Z - site
     A simple CPU idenfication program that we'll use to choose the proper version of certain AviSynth plugins, as described below.

AviSynth Plugins

     Next up are the various addons to AviSynth that are needed to run the "TempGaussMC" script you'll download presently. You'll need to place all of the DLL files I mention into in your AviSynth plugins directory, which should be C:\Program Files\AviSynth 2.5\plugins, unless you've installed somewhere else. By keeping your plugins in that directory, they'll load automatically when required by any scripts that use them.

MaskTools v2 - source included
     Pull out mt_masktools-25.dll. Make sure you get version 25 (that's two five)! 26 is for the as-yet-unreleased AviSynth 2.6, which we're not using.

MVTools 2 - source included
     There's only one file we want in here, mvtools2.dll.

NNEDI2 - no source available
     Inside the archive is a folder, and inside that is nnedi2.dll, which is what we're after.

RemoveGrain & Repair - source
     We only want two files from this archive; find one version each of RemoveGrain and Repair that suits your CPU extensions. I have a Core2Quad, so I'm using the SSE3 version of each, but there's also an SSE2. If you're not sure, run CPU-Z and check the Instructions field of the CPU tab. If neither of those instruction sets is listed for your processor, or if you just can't get the SSE versions of the DLLs to work, you can just use RemoveGrainS.dll and RepairS.dll (don't miss that S at the end, it's important).

VerticalCleaner - source included
     This is written by the same developer as the RemoveGrain package, and works the same way, just find the VerticalCleaner DLL that matches your processor's abilities.

AviSynth Scripts

     In addition to calling plugins that offer certain functions, AviSynth scripts can be written that themselves provide functionality, and can be called by other scripts. That's what these two are for.

TempGaussMC_beta2
     The big one! This is what does all the heavy lifting for us. Extract TempGaussMC_beta2.avsi to your plugins directory.

SimpleSlugUpscale
     Something of my own design, this takes some of the legwork out of deinterlacing, properly cropping, and scaling your input clips to their new sizes. I'll describe the details of its use later, for now just stick the .avsi file with the rest of the plugins.

Miscellany

dvupscale.avs
     This, as you can tell by the file extension, does not act as a plugin. I've thrown this together simply to serve as a template for your work. Stick it in a working directory, C:\UpscaleTutorial being the destination I'll refer to from now on.

testclip.7z
     Finally, if you need a clip to work with while testing, and you missed the link earlier, go ahead and download the NTSC DV original of the Youtube video I embedded on the previous page. Extract the .avi to the UpscaleTutorial directory.

     That's it! The installation process is finished, arguably the most difficult part of this ordeal. Take a break, stretch your legs, and grab something to drink. Next up we get to the business of throwing some pixels around.