Fraps & VirtualDub: How to save disk space and enjoy good quality, small file size HD video clips

The biggest problem most of us face while recording gameplay clips with Fraps is its disk space usage. Fraps records everything uncompressed, continuously (free version is limited to 30 sec.) and sequential. Meaning from start till stop the "whole" clip is split into single 4GB files (For FAT32 filesystem user convenience).
The length of a single 4 GB clip depends on the resolution and the in-game scene you record it in. For example, for me a 4 GB clip has about 90 sec. worth of gameplay in 1920x1200 resolution.
Because of this uncompressed real-time recording your frame-rates drops significantly while playing. There is NO way to keep up 40+fps with Fraps running unless you have one hell of a monster system.
Imagine what happens when you want to capture a 30+ min gameplay clip. Either you buy yourself a Terabyte HDD or you use a very simple trick: recording in half-size, upscaling and sharpening. Read the How-To guide!
This guide is intended for 16:10 and 16:9 resolutions. It should not be used for 4:3 resolutions. One cannot upscale a 4:3 resolution into a 16:9, i.e. true 720p or 1080p, without the end result either having black bars left and right or being over-stretched/-squeezed.
Recording in Half-screen/size
Before we start with VirtualDub transcoding, upscaling and sharpening, we first have to record our gameplay. We do not record our gameplay in full-screen/size mode, as usual, but in half-screen/size:

This means if you have a game running at 1920x1200 resolution, Fraps will record it at 960x600, or if you run it at 1280x1024, Fraps will record 640x512, etc. Which in turn translates into much more gameplay time in each 4 GB file.
Another example: While recording in 1920x1200, I only got about 90 sec. (1:30 min) per 4 GB file, recording in half the resolution (i.e. 960x600) resulted in about 360 sec. (6 min) per 4 GB file. Whole 270 sec. more!
Upscaling and Sharpening
We want HD Quality, so we're going to upscale and sharpen our recorded clip. Start up VirtualDub, open the uncompressed file, change in "Video" -> "Full Processing Mode" and "Audio" -> "Full Processing Mode", then set your VirtualDub according to this screenshot:
Save your settings via "File" -> "Save processing settings" or Ctrl+S, so you can simply load them in the future. Saves a lot of time!
Addendum: Regarding "Threads"; QuadCores = 6, DualCores = 3.
You'll need VirtualDub and the H.264 codec, which you can get here. Get the VFW-version, and pay attention if you're downloading x86(32bit) or x86_64(64bit).
The settings in the screenshot are the same ones like in "VirtualDub 720p HD settings for YouTube! [Good quality, small file size]", what differs, however, is that we are also going to use the "sharpen" filter. If you want a very detailed explanation what each option in the x264 codec does, check this pdf out!
We call the method to resize a lower resolution (960x600) to a higher resolution (1280x720, in this case), UPSCALING (sometimes also refereed to as up-converting). For your information, 1280x720 is the Standard HD (720p) resolution. The other is Ultra-HD or Full-HD (1080p, 1920x1080).
However due the upscaling method we lose quality, which is where the filter "sharpen" comes in. Upscaling from lower to higher resolutions causes the image to "blur" (A more detailed explanation). Sharpen counteract this.
You'll have to experiment with the slider in preview mode around a bit, until you find the result best to your liking. I found myself settling down between 23-30, depending on each clip.
When everything is set, start transcoding via "File" -> "Save as AVI".
Now on the other hand, if you UPSCALE from a lower resolution to HD resolution the video is not really HD material anymore, because you lose quality during upscaling. Just saying. It's at best pseudo HD.
Two important VirtualDub settings you should not forget:
"Options" -> "Preferences" -> "Threading": Set the "Video Compression Threads" to 1. This is important if you have a multi-core CPU to make use of the multiple cores and in turn speed up the transcoding process.
Since VirtualDub Version 1.9.4 there's an option to use your GPU as part of the transcoding process. Make use of it to additionally speed up your transcoding process. "Options" -> "Preferences" -> "3D accel", hack in the box.
Addendum 16.05.2010:
I've been getting mixed messages. Apparently using "3d accel" causes it to render slower than usual on some systems. I can confirm that. With 3d accel turned on, a 10min video takes about 1 hour 10-20 minutes, while turned off it takes about 1 hour max. You'll have to experiment on your system!
Addendum 23.10.2009:
There’s currently a problem causing VirtualDub 1.9.4 - 1.9.9, crashing under Windows 7. The culprit is 3D accel! Turn it off under “Preferences” -> “3D accel” and enjoy VirtualDub once again!
Update 24.08.2010:
Updated Setting screenshot


November 21st, 2009 - 17:56
THATS TRUE AND AFTER THAT YOU CANB JUST CONVERT IT IN WINDOWS MOVIE MAKER AND IT WILL BE JUST 15 MB
December 14th, 2009 - 16:17
how big are 2-3 minute clips created this way? I'm having trouble getting clips below 200MB, which is way too big for me.
December 14th, 2009 - 22:09
Depending on quality settings about 200mb for 5min.
December 25th, 2009 - 08:28
A kind of useful knowledge
February 8th, 2010 - 01:25
Hey, great article! You may want to add a note about multi-threading regarding the H264 settings. You show in your H264 settings screenshot "6" in the "threads" field but I assume that's because you have a quad-core. It wasn't until I watched your video on youtube that I realized my threads should be set at 3 because mine is a dual core. Anyway just an FYI, thanks again for sharing this info!
February 8th, 2010 - 02:14
Yes, that's covered in this article:
http://www.donsalva.com/virtualdub-720p-hd-settin...
February 9th, 2010 - 01:16
Hey Don I'm curious about this, I saw on your youtube page that you cap in Fraps at 29.97 fps. Just wondering why you cap at that framerate instead of just 30fps say. I understand 29.97fps as it relates to NTSC standards but just wondering you are capturing video that won't be played on a tv at that fps?
February 9th, 2010 - 02:11
Force of habit. Because of NTSC
. Don't have to be 29.97. Can be 30 even 45. Usually I go with 30 fps.
February 9th, 2010 - 03:23
Got it, thanks for the quick response.
March 9th, 2010 - 05:59
I have just installed VirtualDub, and I am following your directions. I created the resize filter, but there is no sharpen filter, along with other filters in the screenshot that are also not there. I have installed the full K-Lite codec package, which I was already familiar with. I would provide a screenshot for proof, but can't.
March 9th, 2010 - 06:04
Also, I do not see the list of codecs in VirtualDub after I have installed and restarted Windows 7 64-bit. I have restarted, and I am getting nothing.
March 9th, 2010 - 06:04
I'm sorry, I mean after installing K-Lite and restarting Windows.
March 9th, 2010 - 10:42
Then you must've a different version because those filters I showed are an integral part of VirtualDub.
I'm guessing you're using the 64-Bit version of VirtualDub? I'm not, perhaps the 64-Bit version hasn't got the filter because they aren't 64bit compatible?
Try using the 32Bit VirtualDub. If you ARE using 32Bit VDub, then I'm at loss too.
March 24th, 2010 - 06:32
Yes, I was using the 64-bit. I'll try the 32-bit when I get the chance.
March 25th, 2010 - 23:20
Looks like I got it now. I had to choose “Lots of stuff” in the K-Lite install. There was no “mega” option.
March 26th, 2010 - 01:15
Nope, they are not there. I see Divx, Cinepak, Helix, Xvid, and other, but not the x264 that you are using.
April 11th, 2010 - 16:57
Brandon, you have to select it manually:
http://www.abload.de/image.php?img=greenshot_2010-04-11_1ucz9.png
April 11th, 2010 - 17:59
Where exactly did you get your H.264 Codec? I've installed the K-Lite Mega Codec Pack and I still do not show the codec under my Video Compression settings.
June 18th, 2010 - 15:02
Ok, ok. But you can try the other way. It is like this:
To select half-size, and disable sound recording. The video will be around
5 mins. – 800MB. Then you can put in Movie Maker, and add some music. If you
do not want – you do not need. I just made a proposal! And now I will try with Virtual Dub. I hope it's better!
July 12th, 2010 - 15:19
Hi,
great tutorial, processed videos are awesome and of small size – really great.
But I'm having problem to upload them on YouTube – I'm always getting "Failed" error due to unrecognizeable format – any help, please?
Thank you.
July 12th, 2010 - 15:30
Yes, I'm guessing you're using the Mega K-Lite Codec Pack 6.1.0? If yes, go back to 6.0.4 if this error still appears try 6.0.0 or even 5.9.0.
Apparently 6.1.0 has a faulty h264 codec. 6.0.4 works for me, but for some it doesn't.
July 12th, 2010 - 18:40
Thanks, I'll give it a try and will report back.
July 15th, 2010 - 10:18
Bummer… No older versions of K-Lite Mega (except of 6.1.0) are provided any more… Or I cannot find any, at least…
But there’s a new version 6.2.0 with x264 [revision 1666] VFW video codec – do you think it will work?
July 15th, 2010 - 11:27
I finally managed to upload my video on YouTube.
I used the newest 6.2.0 version of K-Lite Mega – it has a lot different x264 VFW codec settings window with less options to change but after a playing with them I’m quite sattisfied with the results…
Thanks again, man, good work (at least, I learned something about processing a raw video
)
July 15th, 2010 - 11:56
So,
I reinstalled K-Lite back to 6.0.4 version and still getting the same error message after uploading a video on YouTube: "Failed (unable to convert video file)"
Since the video quality after following your instructions is really great, this "Failed" thing is making me sad a bit…
Unfortunately I'm not yet very good in video editting, have no idea where could be a problem and so need a help. Will you, please?
July 15th, 2010 - 12:02
Like I said try 6.0.0 and 5.9.0. You're saving and uploading the video files in .avi, aren't you?
July 15th, 2010 - 12:05
Yes I am.
Ok, I'll try those even older versions of K-Lite….
July 15th, 2010 - 12:20
Never mind, found a site with all older versions…
July 30th, 2010 - 01:25
VirtualDub is such a piece of crap, I don’t think anyone could ever “enjoy” it…
August 20th, 2010 - 21:02
So use AviDemux, or if you have money go buy Sony Vegas Movie Studio or Adobe Premiere.
August 26th, 2010 - 02:25
Pretty nice post. I just stumbled upon your blog and wanted to say that I have really enjoyed browsing your blog posts. In any case I’ll be subscribing to your feed and I hope you write again soon!
August 28th, 2010 - 14:07
Hi.
This seems a nice guide, I’m trying to follow it but I have a problem just from the beginning. When I try to open the .avi file from fraps, Virtualdb shows the message:
“Could not locate decompressor for format ‘FPS1′ (unknown)”
I’m doing anything wrong?
(I use Win7 x64)
H.264 codec configuration seems to be fine, with the same values you use.
Also in the Virtualdb Audio options cant find the AC3 ACM codec (have downloaded and installed it, but still doesn’t appear on the list)
August 28th, 2010 - 14:22
Huh, I have no experience with Win7 64Bit. But the error you get, that’s due Fraps codec not being installed (properly). You should solve it by uninstalling and reinstalling Fraps.
Don’t know about your AC3 ACM codec, but the one I’m using is this one. I’m also not sure if it runs on 64Bit Win7. But according to the AC3 ACM changelog, it should.
Otherwise use the Lame MP3 codec.
August 28th, 2010 - 18:59
Finally it works!
Thank you so much for the help