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 Type
    Method
    Description
    boolean
    Called once per decoded output frame.
  • Method Details

    • frame

      boolean frame(VideoFrame frame)

      Called once per decoded output frame.

      Parameters
      • frame: the decoded frame
      Returns

      true to continue decoding, false to stop early