CudaVideoWriter Constructor |
http://www.emgu.com
The constructors initialize video writer.
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntaxpublic CudaVideoWriter(
string fileName,
Size frameSize,
double fps,
CudaVideoWriterSurfaceFormat format = CudaVideoWriterSurfaceFormat.BGR
)
Public Sub New (
fileName As String,
frameSize As Size,
fps As Double,
Optional format As CudaVideoWriterSurfaceFormat = CudaVideoWriterSurfaceFormat.BGR
)
public:
CudaVideoWriter(
String^ fileName,
Size frameSize,
double fps,
CudaVideoWriterSurfaceFormat format = CudaVideoWriterSurfaceFormat::BGR
)
new :
fileName : string *
frameSize : Size *
fps : float *
?format : CudaVideoWriterSurfaceFormat
(* Defaults:
let _format = defaultArg format CudaVideoWriterSurfaceFormat.BGR
*)
-> CudaVideoWriter
Parameters
- fileName
- Type: SystemString
Name of the output video file. Only AVI file format is supported. - frameSize
- Type: System.DrawingSize
Size of the input video frames. - fps
- Type: SystemDouble
Framerate of the created video stream. - format (Optional)
- Type: Emgu.CV.CudaCudaVideoWriterSurfaceFormat
Surface format of input frames. BGR or gray frames will be converted to YV12 format before encoding, frames with other formats will be used as is.
See Also