Monday, January 15, 2007

linux screen recording

After successful setup of beryl/compiz desktop, I was about to want capture desktop behavior.

Like "Fraps" in windows platform, capable of capturing composite 3d screen is required.

as a conclusion, I didn't find that kind of tool yet.

Followings are my candidate for recording tool.

1. ffmpeg.
satellite:~$sudo apt-get install ffmpeg

satellite:~$ffmpeg -vcodec mpeg4 -b 1000 -r 10 -g 300 -vd x11:0,0 -s 1024x768 ~/test.avi

but ffmpeg can't find grab device x11:0,0.

2. Istanbul
satellite:~$sudo apt-get install istanbul

it is well integrated with gnome desktop and save recording as ogg media.
but interface is not straight and output ogg file cannot be played in totem.

3. recordmydesktop
satellite:~$sudo apt-get install recordmydesktop

satellite:~$sudo apt-get install mplayer (install to encode output ogg media to mpeg4)

satellite:~$recordmydesktop --no-sound --on-the-fly-encoding

output media file named "out.ogg" is created.
now convert this file to mpeg4 format for compatibility.

satellite:~$ mencoder out.ogg -vf scale=640:480 -o title.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4

grabbing and converting done successfully!
But it cannot record the beryl's animation effect.

No comments: