3.24. Video Rendering File

<video_rendering_file> ‐ The control of the output of a video file based on the ffmpeg library.

3.24.1. Attributes

NameTypeDefaults
idSTRINGEmpty string
beginINTEGER0
endINTEGER10
stepINTEGER1

3.24.2. Description

This element defines the files that are used for storing the video file streamed from the bitmaps of OpenGL output.

The string value of the id attribute defines the prefix of the video file names. There are as many video films as open windows. If the film is named my_film.avi, and if there are two open windows, two video films will be generated, named my_film00.avi and my_film01.avi. The file extension is used to guess the video format by the ffmpeg library. The video output is active if and only if this string is not empty.

The integer values of the begin and end attributes define the frame numbers between which video output files are produced. The integer value step of the step attribute defines the output rate: a file is produced every step frames.

3.24.3. Expected content

None.

3.24.4. Example

The example below will produce Video files named videoXX.avi in which XX represents a window number starting from 0 and left padded with 0s. The video files are produced at each frame between frame number 1000 and frame number 1500.

<video_rendering_file begin="1000" end="1500" step="1" 
  id="video.avi" />