Interface CodecInterface

All Known Implementing Classes:
VLCVideoPlayer.VLCCodecInterface

public interface CodecInterface
Technical information about the current video.
  • Method Summary

    Modifier and Type
    Method
    Description
    default float
    Get the aspect ratio of this video.
    float
    Get the frame rate of this video.
    int
    Get the height of the video.
    int
    Get the width of the video.
  • Method Details

    • getWidth

      int getWidth()
      Get the width of the video.
      Returns:
      Width in pixels.
    • getHeight

      int getHeight()
      Get the height of the video.
      Returns:
      Height in pixels.
    • getAspectRatio

      default float getAspectRatio()
      Get the aspect ratio of this video.
      Returns:
      The aspect ratio in the form [x]:1, where x is this return value. If the video uses square pixels, this is equivilent to getWidth() / getHeight()
    • getFrameRate

      float getFrameRate()
      Get the frame rate of this video.
      Returns:
      Frames per second.