You could also try http://www.fraps.com/. It is Windows only and works with DirectX and OpenGL. As far as i know, the free version comes with a watermark on screen captures and videos and resolutions are limited.

Edit: I was too slow