grabX


The video is taken using ffmpeg: http://ffmpeg.mplayerhq.hu/ and should be
compiled with the x11grab support (--enable-x11grab --enable-gpl)
The command line is:
./ffmpeg -f x11grab -s 800x600 -qscale 1 -r 5 -i :0.0 /tmp/out.avi
# do some tests with -qscale 0.1

The parameter used are:
-f to grab from X
-s specify the resolution
-i specify the input source, display.screen number
-qscale set the video quantizer scale
-r specify the frame rate

this give a good quality video, as in:
http://info.iet.unipi.it/~marta/tmp/out.avi (~14M)

To change the codec (and to use one that's surely supported by windows) I used the follow line:
ffmpeg -i out.avi -f avi -vcodec msmpeg4v2 out2.avi
# but need to adjust some parameters, the result seems to have a reduced qscale value

for a full list of parameters use the ffmpeg help:
./ffmpeg 2>&1 |less

and the documentation page:
http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html