Click or drag to resize

VideoCaptureFromFile Method

Allocates and initialized the CvCapture structure for reading the video stream from the specified file. After the allocated structure is not used any more it should be released by cvReleaseCapture function.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static VideoCapture FromFile(
	string fileName
)

Parameters

fileName
Type: SystemString
Name of the video file.

Return Value

Type: VideoCapture
See Also