In the addition to the Animation and Sweeping on timestamps Post-Pro module provides a possibility of recording AVI clips of user actions. This functionality is available at any time for all contents of the VTK Viewer.
To start the video recording session, click "Start" button. You will see a standard dialog box allowing to input the file name for the AVI clip and browse for the location.
"Start" button
Then you'll be asked to define Recording Properties:
- Settings:
-
Save to file - you can change the name of the file you've chosen for saving.
-
Mode - allows to choose from two recording regimes:
-
Recording all displayed frames - records exactly at the FPS rate specified by the user.
-
Recording at a given FPS - records only when the contents of the viewer change (some activity is performed). In the AVI file non-recorded images are substituted with the copies of the latest recorded image, which produces files with lower quality but requires less system resources.
-
FPS - allows to define the FPS (frames per second) rate for the clip. Set greater value for better quality.
-
Quality - allows to set the quality of the clip in the interval between 0 and 100.
-
Progressive - allows to record a progressive API file.
After you click OK, the recording will start and all your actions in the viewer will be recorded.
Note that if you change the size of the 3D viewer window, the avi file would be corrupt.
Press Stop button to finish video recording or Pause button to suspend it. If the recording is just paused, you can always continue it by clicking Play button.
"Stop" button
"Pause" button
"Play" button- Note:
- This functionality works only if there is jpeg2yuv utility installed on your computer. If this third-party product is missing, the Recording buttons will be disabled. This utility is a part of mjpegtool package, which can be downloaded from http://mjpeg.sourceforge.net/. Run "which jpeg2yuv" to check whether this tool has been installed and the path to it was properly added to your PATH variable. If not, you need to activate mjpegtools indicating its location in the variable PATH. The syntax of the command should be as follows: export PATH=${INSTALL_ROOT}/mjpegtools-1.8.0/bin:${PATH}.