public Open ( string fileName, FourCC fourcc, double fps, Size frameSize, bool isColor = true ) : void | ||
fileName | string | Name of the output video file. |
fourcc | FourCC | 4-character code of codec used to compress the frames. For example, "PIM1" is MPEG-1 codec, "MJPG" is motion-jpeg codec etc. /// Under Win32 it is possible to pass null in order to choose compression method and additional compression parameters from dialog. |
fps | double | Framerate of the created video stream. |
frameSize | Size | Size of video frames. |
isColor | bool | If it is true, the encoder will expect and encode color frames, otherwise it will work with grayscale frames (the flag is currently supported on Windows only). |
return | void |