Creates video writer structure.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static CvVideoWriter CreateVideoWriter( string filename, string fourcc, double fps, CvSize frameSize )
Parameters
- filename
- Type: SystemString
Name of the output video file. - fourcc
- Type: SystemString
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
- Type: SystemDouble
Framerate of the created video stream. - frameSize
- Type: OpenCvSharpCvSize
Size of video frames.
Return Value
Type: CvVideoWriter[Missing <returns> documentation for "M:OpenCvSharp.Cv.CreateVideoWriter(System.String,System.String,System.Double,OpenCvSharp.CvSize)"]
See Also