I have heard many mention VirtualDub for this. I have never used it for capture, but it may be what you're looking for. It won't hurt to try.
http://www.virtualdub.org/
Hello everyone!
I was curious as to whether there are any good freeware or open source video capture agents.
I want a program that will let me capture videos when I play games. Most of the programs I have seen so far are limited trials. Is there any good software to capture what you see on our screen that is free?
Thanks!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic