VideoWriter Constructor (String, Int32, Int32, Double, Size, Boolean) |
http://www.emgu.com
Create a video writer using the specific information
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic VideoWriter(
string fileName,
int apiPreference,
int compressionCode,
double fps,
Size size,
bool isColor
)
Public Sub New (
fileName As String,
apiPreference As Integer,
compressionCode As Integer,
fps As Double,
size As Size,
isColor As Boolean
)
public:
VideoWriter(
String^ fileName,
int apiPreference,
int compressionCode,
double fps,
Size size,
bool isColor
)
new :
fileName : string *
apiPreference : int *
compressionCode : int *
fps : float *
size : Size *
isColor : bool -> VideoWriter
Parameters
- fileName
- Type: SystemString
The name of the video file to be written to - apiPreference
- Type: SystemInt32
Allows to specify API backends to use. - compressionCode
- Type: SystemInt32
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
- Type: SystemDouble
frame rate per second - size
- Type: System.DrawingSize
the size of the frame - isColor
- Type: SystemBoolean
true if this is a color video, false otherwise
See Also