Fraps is a universal Windows application that can be used with games using DirectX or OpenGL graphic technology.
Capture screenshots or the output as AVI and free layers can be a trick....Maybe not the best solution but itĀ“s cheap and powerful.
http://www.fraps.com/