VideoFrameReader Methods

Methods

DisposeReleases all resources used by this instance.
GetEnumerator Returns an enumerator that iterates through the frames in the video.
GetFrame Gets the frame at current position as Image. Every call returns a new Image instance which should be disposed by the caller.
Read Reads and decodes the next frame from the video. If successful, then GetFrame can be called to get a Image instance.
Seek(Double)Seeks the video to the given time position in seconds.
Seek(TimeSpan)Seeks the video to the given time position in seconds.
SetFrameHeight Set the frame height to be used for Image instances returned by GetFrame. The width will be automatically calculated according to the video aspect ratio. This method can be called if a different frame size is required than the original video frame size.
SetFrameSize(Int32) Set the frame size to be used for Image instances returned by GetFrame. This method can be called if a different frame size is required than the original video frame size.
SetFrameSize(Int32, Int32) Set the frame size to be used for Image instances returned by GetFrame. This method can be called if a different frame size is required than the original video frame size.
SetFrameWidth Set the frame width to be used for Image instances returned by GetFrame. The height will be automatically calculated according to the video aspect ratio. This method can be called if a different frame size is required than the original video frame size.

See Also