http://www.emgu.com
Creates video writer structure.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static IntPtr cvCreateVideoWriter(
	string filename,
	int fourcc,
	double fps,
	Size frameSize,
	int isColor
)
Visual Basic
Public Shared Function cvCreateVideoWriter ( 
	filename As String,
	fourcc As Integer,
	fps As Double,
	frameSize As Size,
	isColor As Integer
) As IntPtr
Visual C++
public:
static IntPtr cvCreateVideoWriter(
	String^ filename, 
	int fourcc, 
	double fps, 
	Size frameSize, 
	int isColor
)
F#
static member cvCreateVideoWriter : 
        filename : string * 
        fourcc : int * 
        fps : float * 
        frameSize : Size * 
        isColor : int -> 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..::..Int32
If != 0, the encoder will expect and encode color frames, otherwise it will work with grayscale frames

Return Value

Type: IntPtr
The video writer

See Also