The ClanGrabber utility can be used to perform an animated screen capture of any running application.

This is also known as a "screencast" or a "Screencam"

It was made to assist users of ClanLib to show off there work as animation. But it can be used anywhere.

The source code can be found in ClanLib 2.3 and 2.4 SVN, under "Utilities/ClanGrabber"

It is only available on Microsoft Windows.

See - http://clanlib.org/wiki/ClanGrabber