[Vnc2swf-users] Some mouse tracking.
Status: Alpha
Brought to you by:
euske
From: Edouard T. <edo...@lo...> - 2009-01-07 23:01:11
|
Dear Yusuke, dear vnc2swf-users. Attached is a script I use to make some pyvnc2swf based screencasts, that follow mouse cursor. Once you have recorded a "in.swf" with great screen size, you can use this script to generate a smaller movie, following mouse cursor : # generate the Makefile that calls edit.py python track_mouse.py in.swf out.swf 640x480 > Makefile # invoke make (use -j N with N your count of CPUs) make -j 2 all # remove temporary files make clean This script is not as elegant as it should : - It does generate Makefile instead of directly calling movie.py and output.py stuff directly, in some separate threads. - Some better algorithm could be found to decide clipping region according to mouse moves. The one currently used only tries to minimize count of chunks. I also tried to use python-cluster with no real success. I will certainly not find time for those enhancements, as it just fit my need for the moment. Please feel free... Best regards, and Happy New Year ! Edouard -- LOLITech - TBI sarl 24, rue Pierre Evrat 88100 Saint-Dié des Vosges tel: +33 6 10 49 76 41 fax: +33 3 29 58 93 16 edo...@lo... <mailto:edo...@lo...> http://www.lolitech.fr <http://www.lolitech.fr> |