SwisTrack/Components/OutputFileAVI

Description
This component allows to write an avi file to record the image. Beware that the place where this component is used has a big influence on the result, as it use the images that are processed. For example, showing the black and white image after the blob selection will show only the selected blobs. As a rule of thumb, the display will corresponds to what is displayed in the last previous component displaying the wanted image.

Input
The gray, the color or the binary image.

Output
A grayscale or a color image

File
Path to the video file to write.

Codec code
Corresponds to the codec used to encode the video file. If set to "Def.", on Windows, it uses CV_FOURCC_PROMPT (open an interface to select the codec, but not working in the current 1.1pre1a version) and on linux, it uses the default coded for the type of file you are saving to (CV_FOURCC_DEFAULT).

You can also use code hidden in the cvcap_ffmpeg.cpp file of the OpenCV, HighGui library, used by the CV_FOURCC function.

Here are some possible codes:

A more extensive list of fourcc codecs can be found on FOURCC.org.

Frame Rate
Frame rate of the resulting avi file. It can be different from the input frame rate.

Input Image
Select the input image to be recorded. You can choose between the gray, the color or the black and white image.

Buffer Frames
Number of frames kept in the buffer. If 1, no buffering is performed at all.