Skip to main content

Video sample grabber usage

Products: Video Capture SDK .Net, Video Edit SDK .Net, Media Player SDK .Net

You can get video frames from live sources or files using the OnVideoFrameBuffer and OnVideoFrameBitmap events.

The OnVideoFrameBuffer event is faster and provides the unmanaged memory pointer for the decoded frame. The OnVideoFrameBitmap event is slower, but you get the decoded frame as the Bitmap class object.

Frame event args contain the resolution, image format, timestamp, and other information.

Required redists

  • SDK redist

Visit our GitHub page to get more code samples.