Create a video writer using the specific information

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

Syntax

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

Parameters

fileName
Type: System..::.String
The name of the video file to be written to
compressionCode
Type: System..::.Int32
compression code
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