recordwin

Wapper program for vnc2swf and x11vnc.

$Id: recordwin.html,v 1.1 2004/04/17 04:59:10 yusuke Exp $

Syntax

recordwin [ -display display_name ] [ -name window_title ] [ -id window_id ] swf_filename

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 and x11vnc. x11vnc acts is a VNC server which sends the images of the current X11 screen to vnc2swf.

First it invokes xwininfo program to get the position of a target window. If no option is given, it prompts a user to specify a window with a cross cursor. Then recordwin runs x11vnc in background with the following command line:

x11vnc -mouse -viewonly -deferupdate 10 -wait 10 -defer 10

Finally recordwin starts vnc2swf with -clippinggeometry option, which instructs the program to record only the window you specified.

Bugs

See Also


Yusuke Shinyama