Creates video writer structure.
Namespace:
Emgu.CV
Assembly:
Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function cvCreateVideoWriter ( _
filename As String, _
fourcc As Integer, _
fps As Double, _
frameSize As Size, _
isColor As Boolean _
) As IntPtr |
Parameters
- filename
- Type: System..::.String
Name of the output video file.
- fourcc
- Type: System..::.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
- Type: System..::.Double
Framerate of the created video stream.
- frameSize
- Type: System.Drawing..::.Size
Size of video frames.
- isColor
- Type: System..::.Boolean
If it is true, the encoder will expect and encode color frames, otherwise it will work with grayscale frames
Return Value
The video writer
See Also