Documentation du Dr FRAPPE

Ce wiki regroupe les résultats de mes expériences en informatique accumulés au cours de mes recherches sur le net.

Dans la mesure du possible, j'ai cité mes sources ; il en manque certainement… :-)

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édentesRévision précédente
Prochaine révision
Révision précédente
logiciel:internet:dokuwiki:plugins:jcapture [2021/02/17 10:07] – ↷ Page déplacée de fr:logiciel:internet:dokuwiki:plugins:jcapture à logiciel:internet:dokuwiki:plugins:jcapture adminlogiciel:internet:dokuwiki:plugins:jcapture [2022/08/13 22:14] (Version actuelle) – modification externe 127.0.0.1
Ligne 9: Ligne 9:
   * License : LGPL   * License : LGPL
  
-====== Introduction ======+===== Introduction =====
  
-====== Pré-requis ======+===== Pré-requis =====
  
   * [[http://www.oracle.com/technetwork/java/javase/overview/index.html|Java]] 6 mise à jour 10 ou supérieure.   * [[http://www.oracle.com/technetwork/java/javase/overview/index.html|Java]] 6 mise à jour 10 ou supérieure.
Ligne 19: Ligne 19:
   * en cas de non fonctionnement, réinstaller java puis jcapture   * en cas de non fonctionnement, réinstaller java puis jcapture
  
-====== Installation ======+===== Installation =====
  
 Téléchargez et installez le plug-in à l'aide du gestionnaire de plug-in et de l'URL [[http://www.hammurapi.com/dokuwiki/products/jcapture/jcapture.zip]] ou [[http://www.hammurapi.com/products/jcapture/jcapture.zip]]. Téléchargez et installez le plug-in à l'aide du gestionnaire de plug-in et de l'URL [[http://www.hammurapi.com/dokuwiki/products/jcapture/jcapture.zip]] ou [[http://www.hammurapi.com/products/jcapture/jcapture.zip]].
Ligne 29: Ligne 29:
 </WRAP> </WRAP>
  
-===== Building from sources =====+==== Building from sources ====
  
 Below is an Ant build file to compile sources, create a jar file and sign jars. Keystore password is passed to the signjar task through storepass property. This article describes how to create a keystore and a key. Below is an Ant build file to compile sources, create a jar file and sign jars. Keystore password is passed to the signjar task through storepass property. This article describes how to create a keystore and a key.
Ligne 92: Ligne 92:
 </code> </code>
  
-====== Configuration ======+===== Configuration =====
  
 Les options de configuration sont conservées dans un fichier local du répertoire de l'utilisateur et sont chargées au démarrage de l'applet. Les options de configuration sont conservées dans un fichier local du répertoire de l'utilisateur et sont chargées au démarrage de l'applet.
  
-===== Video =====+==== Video ====
  
 Options on this tab apply to the video part of recordings. Some options also apply to screenshot capturing. Options on this tab apply to the video part of recordings. Some options also apply to screenshot capturing.
  
-  Frames Per Second+  Frames Per Second
   : frames per second during recording. If this option is set to a too high value, jCapture will record as fast as it is possible and then will use actual FPS, i.e. number of frames divided by recording time, during movie rendering.   : frames per second during recording. If this option is set to a too high value, jCapture will record as fast as it is possible and then will use actual FPS, i.e. number of frames divided by recording time, during movie rendering.
-  Border+  Border
   : if true then recordings and captures will have a 1 pixel grey border.   : if true then recordings and captures will have a 1 pixel grey border.
-  Toolbar+  Toolbar
   : if true then recordings will have a toolbar with a start/stop button, progress bar and volume control.   : if true then recordings will have a toolbar with a start/stop button, progress bar and volume control.
-  Image Format+  Image Format
   : applies to captures and recordings. Any Java-supported image format for captures, JPEG, PNG, or BMP for recording.   : applies to captures and recordings. Any Java-supported image format for captures, JPEG, PNG, or BMP for recording.
-  Mouse+  Mouse
   : if true, then mouse movements will be recorded and shown in the movie. jCapture records only mouse movements, but it doesn't record clicks/double-clicks and it doesn't record mouse pointer shape and uses a pre-defined mouse pointer shape.   : if true, then mouse movements will be recorded and shown in the movie. jCapture records only mouse movements, but it doesn't record clicks/double-clicks and it doesn't record mouse pointer shape and uses a pre-defined mouse pointer shape.
-  Loop+  Loop
   : if true, the movie does not stop at the end but cycles to the beginning.   : if true, the movie does not stop at the end but cycles to the beginning.
-  Play+  Play
   : if true, the movie does not stop in the first frame, but starts playing after loading.   : if true, the movie does not stop in the first frame, but starts playing after loading.
-  Video format+  Video format
   : select video format, see below how to add video encoders to jCapture.   : select video format, see below how to add video encoders to jCapture.
-  Scaling+  Scaling
   :   :
-    Graphics+    Graphics
     : Scale factor for captured images (capture and recording modes).     : Scale factor for captured images (capture and recording modes).
-    Speed+    Speed
     : Scale factor for the movie speed, i.e. how much faster the movie shall be comparing to recording time. E.g. if recording FPS is 10 and scaling is 150%, then movie FPS will b 15. Speed scaling is enabled only audio recording is disabled.     : Scale factor for the movie speed, i.e. how much faster the movie shall be comparing to recording time. E.g. if recording FPS is 10 and scaling is 150%, then movie FPS will b 15. Speed scaling is enabled only audio recording is disabled.
-  Inactivity processing+  Inactivity processing
   : this panel is enabled only when audio recording is disabled.   : this panel is enabled only when audio recording is disabled.
-    Remove inactivity+    Remove inactivity
     : if true, then inactivity (frames where there are no visual changes and no mouse movements withing recording rectangle) are discarded.     : if true, then inactivity (frames where there are no visual changes and no mouse movements withing recording rectangle) are discarded.
-    Inactivity interval+    Inactivity interval
     : time interval since last activity after which inactive frames shall be discarded.     : time interval since last activity after which inactive frames shall be discarded.
  
-===== Audio =====+==== Audio ====
  
 This tab applies only to recordings. This tab applies only to recordings.
  
-  Record sound+  Record sound
   : if true, recordings will contain sound.   : if true, recordings will contain sound.
-  Sample rate+  Sample rate
   : Sound sample rate.   : Sound sample rate.
-  Stereo.+  Stereo.
   : Sample size in bits.   : Sample size in bits.
-  Source+  Source
   : sound source.   : sound source.
-  WAV2MP3 command+  WAV2MP3 command
   : jCapture records sound in WAV format.   : jCapture records sound in WAV format.
   : To convert sound to MP3 provide a command line which takes two arguments {0} as input file (wav) and {1} as output file (mp3).   : To convert sound to MP3 provide a command line which takes two arguments {0} as input file (wav) and {1} as output file (mp3).
   : If you don't have a command-line mp3 encoder, take a look at Lame, binary builds are available at RareWares.   : If you don't have a command-line mp3 encoder, take a look at Lame, binary builds are available at RareWares.
  
-===== Editor =====+==== Editor ====
  
 Post-recording editor allows to delete “noise” from the movie such as: Post-recording editor allows to delete “noise” from the movie such as:
Ligne 158: Ligne 158:
 The dialog consists of the following parts: The dialog consists of the following parts:
  
-==== Frame image ====+=== Frame image ===
  
 Shows frame which has focus in the timeline. Frame image scales when editor is resized, preserving aspect ratio. Shows frame which has focus in the timeline. Frame image scales when editor is resized, preserving aspect ratio.
  
-==== Timeline ====+=== Timeline ===
  
 Timeline has two rows: Timeline has two rows:
Ligne 180: Ligne 180:
 To delete/undelete a group of frames, select them, right click, and then select “Delete frames” or “Undelete frames” in the context menu. To delete/undelete a group of frames, select them, right click, and then select “Delete frames” or “Undelete frames” in the context menu.
  
-==== Volume normalization ====+=== Volume normalization ===
  
 If “Normalize volume” check box is selected, then recorded audio volume is normalized to make the highest amplitude in the recording to be 0.95 of maximum possible amplitude for the given audio format. If “Normalize volume” check box is selected, then recorded audio volume is normalized to make the highest amplitude in the recording to be 0.95 of maximum possible amplitude for the given audio format.
Ligne 186: Ligne 186:
 Number in parentheses after “Normalize volumen” shows volume increase in decibels if normalization is applied. Number in parentheses after “Normalize volumen” shows volume increase in decibels if normalization is applied.
  
-==== Splash frame ====+=== Splash frame ===
  
 One of frames in the movie (including frames marked for deletion) can be selected to be the “spash frame”. The splash frame is the first frame in the movie which is shown as a still picture on a web page, before movie starts playing. Splash frame allows to communicate the main point of the movie as a picture. One of frames in the movie (including frames marked for deletion) can be selected to be the “spash frame”. The splash frame is the first frame in the movie which is shown as a still picture on a web page, before movie starts playing. Splash frame allows to communicate the main point of the movie as a picture.
Ligne 194: Ligne 194:
 The splash frame is decorated with a little green rectangle in the timeline. The splash frame is decorated with a little green rectangle in the timeline.
  
-==== Playing movie ====+=== Playing movie ===
  
 Movie editor can play a movie from the current position or play current selection. To play from the current position, select a single frame, right click and choose “Play” from the context menu. To play a range of frames, select several frames, right click and select “Play”. Movie editor can play a movie from the current position or play current selection. To play from the current position, select a single frame, right click and choose “Play” from the context menu. To play a range of frames, select several frames, right click and select “Play”.
Ligne 219: Ligne 219:
 You can use policytool or edit .java.policy file directly. You can use policytool or edit .java.policy file directly.
  
-==== Image format ====+=== Image format ===
  
 Default image format is PNG. You can change image format either through the Options dialog or by changing file extension of the capture. The plug-in capitalizes the extension and passes it as image format parameter to javax.imageio.ImageIO.write() method. Therefore, all formats supported by this class are supported by the plug-in. On Java 6 update 21 supported formats are: BMP, JPG, JPEG, PNG, WBMP, GIF. We tested gif, jpeg, and png extensions - it works fine! Default image format is PNG. You can change image format either through the Options dialog or by changing file extension of the capture. The plug-in capitalizes the extension and passes it as image format parameter to javax.imageio.ImageIO.write() method. Therefore, all formats supported by this class are supported by the plug-in. On Java 6 update 21 supported formats are: BMP, JPG, JPEG, PNG, WBMP, GIF. We tested gif, jpeg, and png extensions - it works fine!
  
-====== Utilisation ======+===== Utilisation =====
  
 Une fois le plug-in installé, un nouvel élément de la barre d’outils apparaît, comme indiqué ci-dessous. Une fois le plug-in installé, un nouvel élément de la barre d’outils apparaît, comme indiqué ci-dessous.
Ligne 250: Ligne 250:
 D'autres exemples de vidéos et d'images capturées sont ici. D'autres exemples de vidéos et d'images capturées sont ici.
  
-===== Commandes d'enregistrement =====+==== Commandes d'enregistrement ====
  
-    Pause+    Pause
     : met en pause l'enregistrement.     : met en pause l'enregistrement.
-    Stop+    Stop
     : arrête l'enregistrement, convertit les captures d'écran et l'audio enregistrés en fichier SWF, les télécharge sur DokuWiki et insère une balise multimédia au niveau du curseur.     : arrête l'enregistrement, convertit les captures d'écran et l'audio enregistrés en fichier SWF, les télécharge sur DokuWiki et insère une balise multimédia au niveau du curseur.
-    Cancel+    Cancel
     : annule l'enregistrement.     : annule l'enregistrement.
  
-===== Troubleshooting =====+==== Troubleshooting ====
  
 If the plug-in doesn't work, check Java console and Error console (if you are using FireFox). You can also use a web debugger like Fiddler to trace interaction between the browser/applet and the server. If the plug-in doesn't work, check Java console and Error console (if you are using FireFox). You can also use a web debugger like Fiddler to trace interaction between the browser/applet and the server.
Ligne 266: Ligne 266:
 Tips & Tricks Tips & Tricks
  
-If you use plugins..:..:dokuwikilogiciel:internet:dokuwiki:plugins{{ }} tag to embed down-scaled videos into the page, adding &direct parameter will create a direct link to the file. This approach works well with Image Box plug-in.+If you use plugins..:..:dokuwikilogiciel:internet:dokuwiki:pluginsfr:logiciel:internet:dokuwiki:plugins{{ }} tag to embed down-scaled videos into the page, adding &direct parameter will create a direct link to the file. This approach works well with Image Box plug-in.
  
-==== Memory issues ====+=== Memory issues ===
  
 During recording jCapture caches audio on disk, screenshots are stored in memory using soft references and in a temporary file from which screenshot images are loaded if garbage collector clears image reference. Composition of SWF file happens in-memory. Therefore, it is possible to run into OutOfMemoryError that for long recordings. If it happens, go to the Control Panel, open Java configuration and add -Xmx<max heap size> runtime JVM parameter. For example -Xmx800m sets the maximum heap size to 800 Megabytes. During recording jCapture caches audio on disk, screenshots are stored in memory using soft references and in a temporary file from which screenshot images are loaded if garbage collector clears image reference. Composition of SWF file happens in-memory. Therefore, it is possible to run into OutOfMemoryError that for long recordings. If it happens, go to the Control Panel, open Java configuration and add -Xmx<max heap size> runtime JVM parameter. For example -Xmx800m sets the maximum heap size to 800 Megabytes.
Ligne 274: Ligne 274:
 You can check amount of free/max memory available to the applet JVM in jCapture Options/About tab: You can check amount of free/max memory available to the applet JVM in jCapture Options/About tab:
  
-==== Video encoders ====+=== Video encoders ===
  
 jCapture comes with SWF video encoder. Additional encoders can be added in the following way: jCapture comes with SWF video encoder. Additional encoders can be added in the following way:
Ligne 303: Ligne 303:
 Applet parameters Applet parameters
  
-  uploadUrl+  uploadUrl
   : URL to upload file.   : URL to upload file.
-  sectok, opaque+  sectok, opaque
   : these parameters are “pass-through” - their values, if provided, are passed to the upload request.   : these parameters are “pass-through” - their values, if provided, are passed to the upload request.
  
 Additional upload request parameters Additional upload request parameters
  
-  ow+  ow
   : always “1”;   : always “1”;
-  Filename+  Filename
   : file name without namespace, i.e. the part after the last colon.   : file name without namespace, i.e. the part after the last colon.
-  ns+  ns
   : namespace, the part before the last colon, if filename contains colon, colon otherwise.   : namespace, the part before the last colon, if filename contains colon, colon otherwise.
-  Filedata+  Filedata
   : binary file data.   : binary file data.
  
Ligne 399: Ligne 399:
 Such integration requires no changes in the jCapture Java code. See source code for more details. Such integration requires no changes in the jCapture Java code. See source code for more details.
  
-====== Désinstallation ======+===== Désinstallation =====
  
-====== Voir aussi ======+===== Voir aussi =====
  
   * **(en)** [[http://]]   * **(en)** [[http://]]