Click or drag to resize
Accord.NET (logo)

AVIReaderGetNextFrame Method

Get next frame of opened video stream.

Namespace:  Accord.Video.VFW
Assembly:  Accord.Video.VFW (in Accord.Video.VFW.dll) Version: 3.8.0
Syntax
public Bitmap GetNextFrame()
Request Example View Source

Return Value

Type: Bitmap
Returns next frame as a bitmap.
Exceptions
ExceptionCondition
IOExceptionThrown if no video file was open.
VideoExceptionA error occurred while reading next video frame. See exception message.
Remarks

The method reads and returns the next video frame in the opened video stream at the position, which is set in Position property.

See Also