http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Create a video writer using the specific information
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public VideoWriter( string fileName, int compressionCode, int fps, int width, int height, bool isColor ) |
Visual Basic |
---|
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. 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: 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