Screen capture video program?

hi i know how 2 take a sceen shot if ne 1 doesnt know how to do that thier a nub ne ways i was just wondering how to take a video of ur screen.
like say im playing a game i would like the program to record a video of the game so i can make pwnage videos and catch haxors