# Source_ReleaseVideoWriter

## Using of command

This command is use for release video writer structure and for close video file. This command is call when ww write last frame to video file. After call this function any frame can be write to video writer structure

## Commands parameters

Command has 1 parameters:

1. Select Video writer: Click on line with this option open combobox with video writer selection. Selected video writer represented video file which we want release . You can select VideoWriter_0 to VideoWriter_9.

## Error codes

1. Error code -11: Bad video writer structure position. This error means that selected video writer index is not in range 0 to 9. Check test program file if command has correct format.
2. Error code -12: Video writer is not inicialize. Error means that video writer was not inicialize before this command. Check if command Source_CreateVideoFile was call before this command, and check if video writer index is same as in Source_CreateVideoFile command.
3. Error code -100: OpenCv error. This error reported OpenCv function cvReleaseVideoWriter. Explanation of this error will be display in result window.