Creates video writer structure.

C# | Visual Basic | Visual C++ |

- filename (String)
- Name of the output video file.
- fourcc (Int32)
- 4-character code of codec used to compress the frames. For example, CV_FOURCC('P','I','M','1') is MPEG-1 codec, CV_FOURCC('M','J','P','G') is motion-jpeg codec etc.
- fps (Double)
- Framerate of the created video stream.
- frameSize (MCvSize)
- Size of video frames.
- isColor (Int32)
- If != 0, the encoder will expect and encode color frames, otherwise it will work with grayscale frames

The video writer