It is very handy if you can record your VNC session as a video stream. Such as video stream can be used for many purposes such as research demo and educational video.
There exist several variants of VNC clients, but almost all of them are derived from the original VNC. Thus, most of those clients take to VNC server with the standard RFB (Remote FrameBuffer) protocol.
Use Twribright Lab's enhanced version of vncrec, which is available at http://ronja.twibright.com/utils/vncrec/.
Orignial vncrec (http://www.sodan.org/~penny/vncrec/) can be used, but Twibright version is much easier to use.
Obtain and install ffmpeg from http://. If you build ffmpeg from source archive, make sure all required shared libraries installed.
Connect to your VNC server as:
vncrec -record file.vncrec hostname:5901
All screen updates are recorded in file.vncrec.
vncrec -movie file.vncrec >file.y4m
If you are using yuv4mpeg-compatible player/editor, that's all. If you still want video file in other format, use ffmpeg for conversion.
ffmpeg -i file.y4m file.flv
Note that transcode must have been compiled with yuv4mpeg and ffmpeg support, and ffmpeg must have been properly installed. Since transcode seems not so stable, I recommend you to use yuv4mpeg format.
Hey! The above document had some coding errors, which are explained below:
'=item' outside of any '=over'