A wrapper program for pyvnc2swf and x11vnc.
$Id: recordwin.html,v 1.1 2007/03/31 04:02:15 euske Exp $
recordwin.sh
[-display displayname]
[-name windowtitle]
[-id windowid]
outputname.swf
(Manually specify the window to record) $ recordwin.sh out.swf (Record the window titled "login@giko") $ recordwin.sh -name "login@giko" out.swf
recordwin
allows you to record a specific window in
the current screen instead of the entire display. This is a
wrapper program for vnc2swf.py
and
x11vnc
. First it invokes xwininfo
program to get the position of a target window. If no option is
given, a user is prompted to specify a window with a cross (+)
cursor. Then it runs x11vnc in background and starts
vnc2swf.py
with a proper option to record only the
window you specified.
NOTICE:
The user must be aware that x11vnc
accepts a connection which
is made first by any program running locally. Although this program
only allows to peek the current screen, this is potentially
insecure if the machine is shared by multiple users.
<yusuke at cs dot nyu dot edu>