Table of Contents

Class CudaVideoReader

Namespace
Emgu.CV.Cuda
Assembly
Emgu.CV.dll

Cuda video reader

public class CudaVideoReader : SharedPtrObject, IDisposable
Inheritance
CudaVideoReader
Implements
Inherited Members

Constructors

CudaVideoReader(string)

Creates video reader.

public CudaVideoReader(string fileName)

Parameters

fileName string

Name of the input video file.

Properties

Format

Get the information about video file format.

public CudaVideoReader.FormatInfo Format { get; }

Property Value

CudaVideoReader.FormatInfo

Methods

DisposeObject()

Release the unmanaged memory associated with this VideoReader

protected override void DisposeObject()

NextFrame(GpuMat, Stream)

Grabs, decodes and returns the next video frame.

public bool NextFrame(GpuMat frame, Stream stream = null)

Parameters

frame GpuMat

The frame

stream Stream

Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).

Returns

bool

If no frames has been grabbed (there are no more frames in video file), the methods return false .