AVI files reading using Video for Windows.

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 class AVIReader : IDisposable

Remarks

The class allows to read AVI files using Video for Windows API.

Sample usage:

CopyC#
// instantiate AVI reader
AVIReader reader = new AVIReader( );
// open video file
reader.Open( "test.avi" );
// read the video file
while ( reader.Position - reader.Start < reader.Length )
{
    // get next frame
    Bitmap image = reader.GetNextFrame( );
    // .. process the frame somehow or display it
}
reader.Close( );

Inheritance Hierarchy

System..::.Object
  AForge.Video.VFW..::.AVIReader

See Also