Outils pour utilisateurs

Outils du site


linux:snapshot (lu 19767 fois)

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
linux:snapshot [20-01-2015 22:20]
edmc73
linux:snapshot [14-04-2021 11:25] (Version actuelle)
edmc73 [PhantomJs]
Ligne 19: Ligne 19:
  
   shutter –help|more   shutter –help|more
 +
 +===== Capture vidéo =====
 +
 +  * http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html : dispo dans les dépots, permet aussi de faire des gif animés, surbrillance du clic
  
 ===== Simple Screen Recorder ===== ===== Simple Screen Recorder =====
Ligne 80: Ligne 84:
  
 ===== Capturer un site web ===== ===== Capturer un site web =====
 +
 +==== CutyCapt ====
  
 Installez **cutycapt** Installez **cutycapt**
Ligne 98: Ligne 104:
 **convert** fait parti de la suite de programme de manipulation d'image **ImageMagick** **convert** fait parti de la suite de programme de manipulation d'image **ImageMagick**
   aptitude install imagemagick   aptitude install imagemagick
 +
 +
 +==== PhantomJs ====
 +
 +Pas besoin de lancer un X pour celui ci.
 +
 +http://phantomjs.org/screen-capture.html
 +
 +Exemple :
 +  phantomjs/bin/phantomjs phantomjs/examples/rasterize.js http://google.fr/ google.png 1920px*1080px
 +
 +Si vous avez le message d'erreur suivant:
 +<code>
 +ReferenceError: Strict mode forbids implicit creation of global property 'pageWidth'
 +
 +  phantomjs://code/rasterize.js:23 in global code
 +</code>
 +
 +Commentez la 1ère ligne du fichier examples/rasterize.js
 +
 +  //"use strict";
 +
 +Après une mise à jour en debian 10, vous avez peut etre le message d'erreur suivant
 +<code>
 +Auto configuration failed
 +139968483847808:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
 +139968483847808:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
 +139968483847808:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf
 +139968483847808:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_conf
 +</code>
 +
 +Ajoutez simplement devant votre ligne de commande
 +
 +  OPENSSL_CONF=/etc/ssl/ phantomjs/bin/phantomjs phantomjs/examples/rasterize.js http://google.fr/ google.png 1920px*1080px
  
 ===== Capturer l'écran en gif ===== ===== Capturer l'écran en gif =====
  
-Best software I ever found to record GIF screencasts is Byzanz.+https://github.com/colinkeenan/silentcast 
 + 
 +Installer les paquets dépendant 
 +  $ sudo apt-get install bash libav-tools imagemagick x11-xserver-utils xdotool wininfo wmctrl python-gobject python-cairo xdg-utils 
 + 
 +et yad => http://www.ubuntuupdates.org/package/webupd8/trusty/main/base/yad (cliquez sur 32 ou 64 bits) 
 + 
 + 
 +For 14.04 and 12.04 run the following commands to install Silentcast (If the PPA/repositories are out of date or for older versions of Ubuntu follow one of the "Any Linux Distro" instructions): 
 + 
 +  $ sudo add-apt-repository ppa:sethj/silentcast   
 +  $ sudo apt-get update 
 +  $ sudo apt-get install silentcast   
 +Or run the following, condensed, command: 
 + 
 +  $ sudo add-apt-repository ppa:sethj/silentcast && sudo apt-get update && sudo apt-get install silentcast  
  
-Byzanz is great because it records directly to GIF, the quality and FPS is impressive while maintaining the size of the files to a minimal.+===== Afficher à l'écran les touches du clavier tapées =====
  
-for 11.10 to 13.10:+https://launchpad.net/screenkey
  
-Unfortunately support has been dropped and you can no longer find any packages for Ubuntu that wont break your system and have missing unsatisfiable dependencies.+exemple : http://www.youtube.com/watch?v=2GqCu0wI-hc
  
-Fortunately Debian still maintains the package for Sid and the GIT repository still exists.+===== Enregistrer le contenu d'un terminal avec script =====
  
-If you want to go ahead and install the .deb file from Sid (works in Ubuntu 11.10, just tested, no warranties!), download it from the Debian packages page and install it with sudo dpkg -i.+**script** est une commande de base dans linux qui permet d'enregistrer dans un fichier tout ce qui s'est passé dans un terminalDe plus on peut enregistrer un fichier de timing qui permettra de rejouer en temps réel ce qu'on a enregistrer grace à la commande **scriptreplay**
  
-Also, one of our esteemed moderators has ported the Debian package to PPA making it easier to install, you can add it to your system and install Byzanz by opening a terminal and typing+Exemple 
 +  # script -t 2>~/upgrade-jessieetape.time -~/upgrade-jessieetape.script
  
-  sudo add-apt-repository ppa:fossfreedom/byzanz +Un message s'affiche et un sous-shell s'ouvre 
-  sudo apt-get update && sudo apt-get install byzanz +  Le script a débuté, le fichier est upgrade-jessieetape.script
-for 14.04 and above:+
  
-Byzanz is now available from the universe repository+Faite maintenant toute ce que vous voulez, quand vous aurez terminé, faite Ctrl+d pour sortir du sous-shell. Ce message confirmera votre sortie 
 +  Script terminé, le fichier est upgrade-jessieetape.script
  
-  sudo apt-get install byzanz 
-When its installed you can run it in a terminal. 
  
-This is a small example I did just now in a vbox with+Visualisez maintenant votre enregistrement 
 +  # scriptreplay ~/upgrade-jessieetape.time ~/upgrade-jessieetape.script
  
-  byzanz-record --duration=15 --x=200 --y=300 --width=700 --height=400 out.gif+Dans un mode moins temps réel, vous pouvez aussi faire  
 +  more upgrade-jessieetape.script
linux/snapshot.1421788805.txt.gz · Dernière modification: 20-01-2015 22:20 de edmc73