FUNCTION REFERENCE

hasFrame

Determine whether a VideoReader has another frame.

Determine whether a VideoReader has another frame.

Syntax

available = hasFrame(v)

Syntax

available = v.hasFrame()

Returns a logical scalar. CurrentTime equal to Duration means no more frames. A zero-size AVI drop frame remains a frame and repeats its predecessor.

Example

f=VideoReader.getFileFormats(); f(1).ContainsVideo   % true

Differences from MATLAB: audio is ignored.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.