dreck - desktop recorder
dreck records a part of your desktop using ffmpeg - either a single window, a rectangle, or all of it. Its only dependency is libX11.
Get it from its mercurial repository
If you have any questions, suggestions, bugreports or patches, talk to apo in #suckless on irc.oftc.net.