VideoWriter Constructor (String, Int32, Int32, Size, Boolean) |
http://www.emgu.com
Create a video writer using the specific information
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntaxpublic VideoWriter(
string fileName,
int compressionCode,
int fps,
Size size,
bool isColor
)
Public Sub New (
fileName As String,
compressionCode As Integer,
fps As Integer,
size As Size,
isColor As Boolean
)
public:
VideoWriter(
String^ fileName,
int compressionCode,
int fps,
Size size,
bool isColor
)
new :
fileName : string *
compressionCode : int *
fps : int *
size : Size *
isColor : bool -> VideoWriter
Parameters
- fileName
- Type: SystemString
The name of the video file to be written to - 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: SystemInt32
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