Open AVI file.

Namespace:  AForge.Video.VFW
Assembly:  AForge.Video.VFW (in AForge.Video.VFW.dll) Version: 2.2.4.0 (2.2.4.0)

Syntax

C#
public void Open(
	string fileName
)

Parameters

fileName
Type: System..::.String
AVI file name to open.

Remarks

The method opens a video file and prepares the stream and decoder for reading video frames with the help of GetNextFrame()()() method.

Exceptions

ExceptionCondition
System.IO..::.IOExceptionFailed opening the specified file.
AForge.Video..::.VideoExceptionA error occurred while opening the video file. See exception message.

See Also