Capturing SL Sessions on Linux with glc

There’s a new program to capture OpenGL Sessions with Linux, glc. I did some simple tests with it today, and it seems to work very well.

glc-capture  -n  -s  -f 20 -g -o sl2.glc ./secondlife

creates a 800MByte file for a few minutes in SL.

# extract the audio stream

glc-play sl2.glc -o – -a 1 | lame -hV2 – /tmp/audio.mp3

# and make a 2 pass transcoding to a mp3/h264 avi.

glc-play sl2.glc  -o – -y 1 | mencoder -demuxer y4m – -nosound -ovc x264 -x264encopts qp=18:pass=1 -of avi -o /tmp/video.avi

glc-play sl2.glc -o – -y 1 | mencoder -demuxer y4m – -audiofile /tmp/audio.mp3 -oac copy -ovc x264 -x264encopts qp=18:pass=2 -of avi -o /tmp/video.avi

(70MByte for a 2:45 818×636 video)

But we can do better:

ffmpeg2theora /tmp/video.avi -o /tmp/video.ogv

This creates a file of half the size, and directly compatible to the new builtin video support for Firefox3.1 , Ogg/Theora.


You can tweet this article (that's what I would do^^). You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply



Technorati Profile