Posts

Showing posts from September, 2013

Using GLC to capture game video on Ubuntu

DAMN, this has been a total pain in the backside. I wanted to record a video of my latest game writing developments with commentary.   (Ubuntu 12.0.3 LTS, with KDE desktop) The normal desktop recording applications failed to cope with OpenGL, which is understandable, really.  So then I found glc . glc looked like it would do everything I wanted, and after a couple of frustrating hours, it turns out it actually will.  This is good. The bad is that the documentation is non-existent, and figuring it out has got me VERY CROSS, with quite a tension-headache to boot. Command line which finally worked: glc-capture -o blah.glc -j -a 'sysdefault:CARD=camera,48000,1' java -jar MyGame.jar Gotcha 1: It doesn't tell you how to specify the application part (java -jar MyGame.jar).  It took me ages to realise that it cannot deal with quotes .  Just put the application in as you would type it normally in the command line. Gotcha 2: Finding the ALSA device name for my webcam m