Create a video writer using the specific information

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

Syntax

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

Parameters

fileName
String
The name of the video file to be written to
compressionCode
Int32
Compression code. Usually computed using CvInvoke.CV_FOURCC. On windows use -1 to open a codec selection dialog. On Linux, use CvInvoke.CV_FOURCC('I', 'Y', 'U', 'V') for default codec for the specific file name.
fps
Int32
frame rate per second
width
Int32
the width of the frame
height
Int32
the height of the frame
isColor
Boolean
true if this is a color video, false otherwise

See Also