Class VideoEncoderSettings


  • public final class VideoEncoderSettings
    extends Object
    Represents the video encoder settings.
    • Field Detail

      • NO_VALUE

        public static final int NO_VALUE
        A value for various fields to indicate that the field's value is unknown or not applicable.
        See Also:
        Constant Field Values
      • DEFAULT_COLOR_PROFILE

        public static final int DEFAULT_COLOR_PROFILE
        The default encoding color profile.
        See Also:
        Constant Field Values
      • DEFAULT_I_FRAME_INTERVAL_SECONDS

        public static final float DEFAULT_I_FRAME_INTERVAL_SECONDS
        The default I-frame interval in seconds.
        See Also:
        Constant Field Values
      • bitrate

        public final int bitrate
        The encoding bitrate.
      • bitrateMode

        public final @com.google.android.exoplayer2.transformer.VideoEncoderSettings.BitrateMode int bitrateMode
      • profile

        public final int profile
        The encoding profile.
      • level

        public final int level
        The encoding level.
      • colorProfile

        public final int colorProfile
        The encoding color profile.
      • iFrameIntervalSeconds

        public final float iFrameIntervalSeconds
        The encoding I-Frame interval in seconds.
      • operatingRate

        public final int operatingRate
        The encoder operating rate.
      • priority

        public final int priority
        The encoder priority.