Interface VideoReader.FrameCallback
- Enclosing class:
VideoReader
public static interface VideoReader.FrameCallback
Callback used by
VideoReader#readFrames(float, FrameCallback) to receive frames
as they are decoded.-
Method Summary
Modifier and TypeMethodDescriptionbooleanframe(VideoFrame frame) Called once per decoded output frame.
-
Method Details
-
frame
Called once per decoded output frame.
Parameters
frame: the decoded frame
Returns
true to continue decoding, false to stop early
-