Womble is shareware.
VirtualDub, as Luke suggested, is a much more powerful software, and it's freeware, but it's interface is not user-friendly at all, most people (myself included) freak out at all those options (

) and that's why I didn't mention it in the first place. But if you can master it, Virtualdub will certainly do your thing.