Wapper program for vnc2swf and x11vnc.
$Id: recordwin.html,v 1.2 2005/10/29 05:22:06 euske Exp $
recordwin
[-display display_name]
[-name window_title]
[-id window_id]
swf_filename
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 -localhost -mouse -viewonly -deferupdate 10 -wait 10 -defer 10
"
in background and starts vnc2swf with
-clippinggeometry
and -nowindow
option, which instructs the program
to record only the window you specified.