Desktop Screen Recorder for UNIX, Linux, Windows or Mac.
Vnc2flv is a cross-platform screen recording tool for UNIX, Windows or Mac. It captures a VNC desktop session (either your own screen or a remote computer) and saves as a Flash Video (FLV) file.
(Vnc2flv is a rewrite of its predecessor, vnc2swf. As FLV format is more prevalent today, vnc2flv is specialized for FLV format and aims at a simpler and more lightweight functionality.)
Demo: (recorded with vnc2flv itself)
http://www.youtube.com/watch?v=DcijI6EagYI
Download:
http://www.unixuser.org/~euske/python/vnc2flv/vnc2flv-20090824.tar.gz
Questions and Comments: (post here!)
http://groups.google.com/group/vnc2flv-users/
setup.py
to install:# python setup.py install
vnc2flv comes with three programs:
flvrec.py
is the main recording program.
It connects to a specified VNC server and
immediately starts recording.
It stops when it receives a SIGINT (or Ctrl-C is pressed).
You need to have a VNC server running on the target machine in advance.
The recorded file is playable via either desktop programs like ffmpeg, VLC or mplayer, or other online Flash-based players.
flvrec.py [options] [host[:port]]
$ x11vnc -quiet -localhost -viewonly -nopw -bg (start up a vnc server) The VNC desktop is: localhost:0 PORT=5900 ****************************************************************************** Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet? The scheme stores pixel data offscreen on the VNC viewer side for faster retrieval. It should work with any VNC viewer. Try it by running: x11vnc -ncache 10 ... more info: http://www.karlrunge.com/x11vnc/#faq-client-caching $ flvrec.py localhost:5900 (Record a local desktop) $ flvrec.py -C 640x480+0-0 remotehost:5900 (Record a remote desktop with a 640x480 window at the bottom left of the screen.) $ flvrec.py -S 'arecord -f cd $BASENAME.wav' (Record a local desktop and capture audio input simultaneously using the ALSA recording utility)
-o filename
-r fps
-K keyframe
-P pwdfile
-N
-e encoding,encoding,...
-B blocksize
-C wxh{+|-}x{+|-}y
-S commandline
$BASENAME
environment variable.
-d
flvcat.py
is a simplistic editing program for a FLV movie.
It supports concatenating multiple movies, clipping a movie's
frame size, re-sampling a movie into a smaller size with auto-panning,
etc.
flvcat.py [options] src1[:ranges1] src2[:ranges2] ... output
For each movie file, you can clip the parts of the movie to add by specifying its ranges. Ranges is comma-separated, hyphenated list of milliseconds. For example,
out.flv:10000-20000
means a 10-second clip from movie out.flv
(0:10-0:20).
Specifying only one end of the range is also supported:
out.flv:10000-
means the entire movie except the first 10 seconds.
When ranges are omitted, the whole movie is used.
$ flvcat.py movie1.flv movie2.flv output.flv (Concatenate movie1.flv and movie2.flv and save it as output.flv) $ flvcat.py -W 640x480 movie1.flv output.flv (Resize the movie1.flv with auto-panning with its window size 640x480 and save it as output.flv) $ flvcat.py movie1.flv:15000-30000 output.flv (Clip the part of movie1.flv from 0:15 to 0:30 and save it as output.flv) $ flvcat.py movie1.flv:2500- output.flv (Chop the first 2.5 seconds off and save it as output.flv)
-r fps
-K keyframe
-B blocksize
-C wxh{+|-}x{+|-}y
-W wxh
-S speed
-f
Add mp3 audio files to a movie.
flvaddmp3.py [options] src mp3file1[:ranges] mp3file2[:ranges] ... output
-f
This program dumps the contents of a FLV file. This is used solely for debugging purposes.
flvdump.py [options] flvfile
flvrec.py
can designate a child process to record audio during recording.
By giving -S
option, the specified command line is executed
when the recording is started. The child process can capture audio input and
encode it as an appropriate format. The process is terminated
when the recording is stopped. To put it onto an FLV movie, the audio needs to be
encoded as MP3 format. After the recording is finished, the user can
use the flvaddmp3.py
command to combine the movie and audio output.
$ flvrec.py -S 'arecord -f cd $BASENAME.wav'
$ lame out200908122312.wav out200908122312.mp3
$ flvaddmp3 out200908122312.flv out200908122312.mp3 final.flv
Copyright (c) 2009 Yusuke Shinyama <yusuke at cs dot nyu dot edu>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.