Original: http://users.softlab.ece.ntua.gr/~ttsiod/tricks.html#x11swf
=======================
To generate an XVID AVI
=======================
First, run the server:
vncserver -geometry 640x480
Then connect to it, and produce the recording file:
vncrec -record samples.vncrec
(e.g. when asked, connect to localhost:1)
Hit F8 to bring up the menu to Stop.
Then, check it with:
vncrec -play samples.vncrec
and encode it (at 64kbps) with:
transcode -i samples.vncrec -x vnc -z -y xvid \
-g 1024x768 -o mitsos.avi -w 64
View it with:
mplayer -vo x11 -fs mitsos.avi
=======================================
To create an SWF that works for the Web
=======================================
vncserver -geometry 640x480
vnc2swf video.swf localhost:1
F9 to start recording
F8 to bring up menu and quit
cp ../track.mp3 .
edit_vnc2swf.py -o final.swf -a track.mp3 video.swf