Tool for video capture in pygame on Linux

This is a tool I made a few PyWeeks ago to record high quality (lossless) gameplay video of a pygame-based game on Linux. Example video.

I've posted about it before, but now it has a permanent home in my source repo. I made this because I always have trouble getting good quality video with normal tools like recordmydesktop. If you try it, let me know if you have any trouble or feature requests!