http://www.emgu.com
Create a video writer using the specific information. On windows, it will open a codec selection dialog. On linux, it will use the default codec for the specified filename

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

Syntax

C#
public VideoWriter(
	string fileName,
	int fps,
	int width,
	int height,
	bool isColor
)
Visual Basic
Public Sub New ( _
	fileName As String, _
	fps As Integer, _
	width As Integer, _
	height As Integer, _
	isColor As Boolean _
)
Visual C++
public:
VideoWriter(
	String^ fileName, 
	int fps, 
	int width, 
	int height, 
	bool isColor
)

Parameters

fileName
Type: System..::..String
The name of the video file to be written to
fps
Type: System..::..Int32
frame rate per second
width
Type: System..::..Int32
the width of the frame
height
Type: System..::..Int32
the height of the frame
isColor
Type: System..::..Boolean
true if this is a color video, false otherwise

See Also