Step by Step on Setting Up Virtual Dub's Frame Server

Why Do we need the Frame Server

Hi, Hopefully within a few minutes you should be frame serving from Virtual dub into TMPGENC. First off I'd like to cover why I feel this is needed.

There are 2 main problems with TMPGENC and the way I capture with my Pinnacle PCTV Card. The first one of these is that I prefer to capture using an excellent lossless avi codec called Huffyuv. The disadvantage of this codec is that the capture files are large. AVI has a filesize limit of 2gb on fat16 drives and 4gb on fat32 drives (I don't like or use XP). So this means that if I capture for a reasonable duration (using AVI_IO), I end up with a multiple segmented capture. Now Virtual Dub has no problems merging these segments, but TMPGENC DOES.

So Frame serving allows me to do all the editing effortlessly in Virtual dub, then frame serve this data to TMPGENC directly without having to worry about segments.

Suggested Downloads

For the benefit of this Tutorial you will require the below files in order for Frame serving to work.

PROGRAM Official Location My unofficial location File Size
An Excellent MPEG software encoder.
HomePage Version 2,744,189 bytes.
Virtual Dub
An Excellent Avi editor and Frame server.
HomePage Version 1.5.3 628,357 bytes.
Read AVS addon for TMPGENC HomePage Unknown Version unknown 5,160 bytes.

Once you have downloaded and installed those, we're ready to begin.

What files are required to configure the Frame Server

Lets look at what files are in the folder of Virtual Dub.
Directory Listing of Virtual Dub LEFT : There are not many files for Virtual Dub. The main one we need in a minute is highlighted in BLUE
Directory Listing of Virtual Dub LEFT : We also need two files that modify the Registry. These are found in the AviProxy directory

Ok, now lets get to work and start running some of these.
BELOW : The first thing we will run is the avi proxy registry patch from the aviproxy sub directory. Double click on proxyon.reg from your favorite file manager (for example windows explorer) and you should get something like the below picture (path information will be different, depending on where you unzipped virtual dub).
Running Proxy
BELOW : When you click on YES, you should receive the following prompt to say all went well. So then click on OK.
Running Proxy

BELOW : The next thing we will run is Auxsetup.exe from the Virtual Dub directory. This program will give you a list of choices.

BELOW : You need to select Install Handler. You should see the below picture if you do this correctly.

We now need to run Virtual Dub and set that up

BELOW : You now need to load Virtual Dub, Open the AVI file you wish to frame serve. I have chosen a small avi file for this tutorial. 384 x 288 PAL.
Virtual Dub Loaded

RIGHT : From the Virtual Dub MENU, you need to select Start Frame Server File Menu of Virtual Dub
Server setup LEFT : You will now be presented with the Frame Server Setup screen. I normally Just press Start and accept whatever data it displays. This data will be different because it's based on the machine name and avi filename. So what your frame server setup shows will be completely different to mine.
RIGHT : You now have to create your signpost. This is a very small file of a specific type. It is THIS file that you load in TMPGENC instead of the actual AVI file. So name it something relevant. Server setup
Server status LEFT : Once you select save from the above, you will now have the Frame Server status screen. This screen will show you how many frames have been served

We now need to run TMPGENC

You now need to load TMPGENC. Before you do make sure you have followed all the instructions in readme.txt from the readavs zip file

BELOW : Load TMPGENC and for Video Source select Browse. You will now be given the File Open screen, so to make things easier, click on the pulldown for Files of Types and select AViSynth / Virtual Dub *.avs *.vdr. Then goto the directory where you created your virtual dub signpost. Then load that file. If all goes well TMPGENC will return and the center window will display the first frame of your avi file. You can now go into settings and configure your options for MPEG, then just click START. (For Stream Type, I would recommend System (Video+Audio).

Ok, that's all there is to it. Just make sure that once you have Finished frame serving, by clicking on STOP SERVING, that you run the AUXSETUP.EXE and uninstall the handler, and then double click on PROXYOFF.REG file. If you don't do this when you goto view or watch an AVi file it may not be displayed correctly.

If when you ran TMPGENC it reported that it could not recognize the .VDR file, close down TMPGENC, and go through the readme.txt files that are in the file. Then try it again.

This Web Site, requires
Microsoft Internet Explorer with JavaScript And Frames Support
Best viewed in 1024 x 768 resolution

This Page was Last updated on:
21st June 2oo3

(C) Narler
If you didn't get to this page from my Main Page, Click here