Open AVI file.
Namespace:
AForge.Video.VFWAssembly: 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
Exception | Condition |
---|---|
System.IO..::.IOException | Failed opening the specified file. |
AForge.Video..::.VideoException | A error occurred while opening the video file. See exception message. |