recordwin

A wrapper program for pyvnc2swf and x11vnc.

$Id: recordwin.html,v 1.1 2005/11/11 04:58:33 euske Exp $


Syntax

recordwin.sh [-display displayname] [-name windowtitle] [-id windowid] outputname.swf

Example

(Manually specify the window to record)
$ recordwin.sh out.swf

(Record the window titled "login@giko")
$ recordwin.sh -name "login@giko" out.swf

Description

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.

Bugs

See Also


Yusuke Shinyama
<yusuke at cs dot nyu dot edu>