Pyvnc2swf  est un outil d'enregistrement d'écran.

                voila une petite video exemple

    cette page est la traduction du site officielle

Capture le mouvement d'écran par le protocole de VNC et produit d'un film SWF (Shockwave Flash).


Installation:

    Pour Linux, MacX, Windows :

        Python  (2.3 ou + )
        Pygame (1.6 ou + )

La version ou j'ecries ces lignes est la : pyvnc2swf-0.7.0

Installation pour debian

wget http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf-0.7.0.tar.gz
tar -pzxvf pyvnc2swf-0.7.0.tar.gz
cd pyvnc2swf-0.7.0/

en root
apt-get install python2.3-pygame python2.3-tk


Regarder sur ce site et telecharger la dernière version: http://www.unixuser.org/~euske/vnc2swf/index.htm

Pyvnc2swf est constitué de plusieurs scripts écrient en pyhon:
       
   
vnc2swf.py   :  pour l'enregistrement
    edit.py         :  Pour l'édition modification du fichier généré avec vnc2swf
    play.py    : Pour la lecture



VNC2SWF.PY

Le programme vnc2swf.py capture des sessions VNC et les enregistre dans le format SWF . 
C'est un client VNC qui communique directement avec un serveur de VNC.
Utilisateur doit mettre en marche un serveur de VNC à l'avance.

vnc2swf.py à deux modes de fonctionnement:  GUI et CUI. 

    GUI pour : Graphic User Interface
    CUI pour :
Composite User Interface


VNC2SWF produit deux fichiers :  un fichier swf et un html. 

Le fichier html contient une balise HTML et un code de Javascript pour fournir la fonction de barre de recherche. 

L'utilisateur peut choisir trois méthodes différentes pour coder l'image du film:
 
    shape  : Par défault fournit une taille raisonnable
       video  : Fournit une plus petite taille, mais compatible qu'a partir de la version 7 de flash player
       vnc   : produit un fichier Vnc qui est compatible avec vncrec, un fichier vnc n'est pas un fichier swf mais peut être convertie avec edit.py

Syntax



Options

-n
Console mode (no GUI).

-o outputfile
Specifies the output filename. This option is required in CUI mode. In GUI mode, when not specified it prompts the user for the filename. The movie encoding type is usually inferred from the filename, so the filename should end with either ".swf" or ".vnc". Otherwise, the user need to specify the output movie encoding with -t option (see below.)

-C clipping
Specifies the clipping rectangle. The geometry must be as form of "widthxheight+left+top" (e.g. "400x300+120+0"). Unlike other X11 applications, all rectangular components are required. Negative values are not supported.

-r framerate
Specifies the framerate in fps. (default=12.0)

-t encodingtype
Specifies the output movie encoding method ("shape", "video" or "vnc"). When omitted, the encoding type is automatically inferred from the filename (*.swf = shape, *.vnc = vnc).

-P pwdfile
Specifies the password file. If specified, its content is automatically loaded and supplied as password when a VNC server requires it. The file may only contain the password string and no other string is permitted.

-e vncencodings
Specifies the preferred encodings for VNC image transfer (this is different from movie encoding). Normally you don't need to change this option. Encodings are comma-separated integers (default="5,4,0"). Changing encodings might improve recording performance.

-S subprocess
Set a command to run during recording. This option is useful for recording voice with a separated program. A command line is a space-separated sequence of arguments which are passed to a child process like a usual shell command line. However the command line is not passed to a shell and the arguments are directly passed to the child process without any substitution. A child process is started immediately after recording starts and sent SIGINT after recording finishes.

-d
Increases debug level.


  INDEX du site