Class FrameInfo


  • @Deprecated
    public class FrameInfo
    extends Object
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Value class specifying information about a decoded video frame.
    • Field Detail

      • width

        public final int width
        Deprecated.
        The width of the frame, in pixels.
      • height

        public final int height
        Deprecated.
        The height of the frame, in pixels.
      • pixelWidthHeightRatio

        public final float pixelWidthHeightRatio
        Deprecated.
        The ratio of width over height for each pixel.
      • offsetToAddUs

        public final long offsetToAddUs
        Deprecated.
        The offset that must be added to the frame presentation timestamp, in microseconds.

        This offset is not part of the input timestamps. It is added to the frame timestamps before processing, and is retained in the output timestamps.