Class VideoExtractor

java.lang.Object
com.banuba.sdk.video.BaseExtractor
com.banuba.sdk.video.VideoExtractor
All Implemented Interfaces:
Closeable, AutoCloseable

public class VideoExtractor extends BaseExtractor
Extracts a video stream frame by frame from a video file
  • Constructor Details

  • Method Details

    • hasNextFrame

      public boolean hasNextFrame()
      Is there a video stream
    • extractNextFrame

      public void extractNextFrame()
      Extract the next frame and pass the result to the callback
    • close

      public void close()
      Close the current instance and free resources
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class BaseExtractor