Class VideoEncoderSettings
- java.lang.Object
-
- com.google.android.exoplayer2.transformer.VideoEncoderSettings
-
@Deprecated public final class VideoEncoderSettings 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.Represents the video encoder settings.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVideoEncoderSettings.BitrateModeDeprecated.The allowed values forbitrateMode.static classVideoEncoderSettings.BuilderDeprecated.BuildsVideoEncoderSettingsinstances.
-
Field Summary
Fields Modifier and Type Field Description intbitrateDeprecated.The encoding bitrate in bits per second.@com.google.android.exoplayer2.transformer.VideoEncoderSettings.BitrateMode intbitrateModeDeprecated.One of VideoEncoderSettings.BitrateMode.static VideoEncoderSettingsDEFAULTDeprecated.A defaultVideoEncoderSettings.static floatDEFAULT_I_FRAME_INTERVAL_SECONDSDeprecated.The default I-frame interval in seconds.booleanenableHighQualityTargetingDeprecated.Whether the encoder should automatically set the bitrate to target a high quality encoding.floatiFrameIntervalSecondsDeprecated.The encoding I-Frame interval in seconds.intlevelDeprecated.The encoding level.static intNO_VALUEDeprecated.A value for various fields to indicate that the field's value is unknown or not applicable.intoperatingRateDeprecated.The encoderoperating ratein frames per second.intpriorityDeprecated.The encoderpriority.intprofileDeprecated.The encoding profile.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VideoEncoderSettings.BuilderbuildUpon()Deprecated.Returns aVideoEncoderSettings.Builderinitialized with the values of this instance.booleanequals(Object o)Deprecated.inthashCode()Deprecated.
-
-
-
Field Detail
-
NO_VALUE
public static final int NO_VALUE
Deprecated.A value for various fields to indicate that the field's value is unknown or not applicable.- See Also:
- Constant Field Values
-
DEFAULT_I_FRAME_INTERVAL_SECONDS
public static final float DEFAULT_I_FRAME_INTERVAL_SECONDS
Deprecated.The default I-frame interval in seconds.- See Also:
- Constant Field Values
-
DEFAULT
public static final VideoEncoderSettings DEFAULT
Deprecated.A defaultVideoEncoderSettings.
-
bitrate
public final int bitrate
Deprecated.The encoding bitrate in bits per second.
-
bitrateMode
public final @com.google.android.exoplayer2.transformer.VideoEncoderSettings.BitrateMode int bitrateMode
Deprecated.One of VideoEncoderSettings.BitrateMode.
-
profile
public final int profile
Deprecated.The encoding profile.
-
level
public final int level
Deprecated.The encoding level.
-
iFrameIntervalSeconds
public final float iFrameIntervalSeconds
Deprecated.The encoding I-Frame interval in seconds.
-
operatingRate
public final int operatingRate
Deprecated.The encoderoperating ratein frames per second.
-
priority
public final int priority
Deprecated.The encoderpriority.
-
enableHighQualityTargeting
public final boolean enableHighQualityTargeting
Deprecated.Whether the encoder should automatically set the bitrate to target a high quality encoding.
-
-
Method Detail
-
buildUpon
public VideoEncoderSettings.Builder buildUpon()
Deprecated.Returns aVideoEncoderSettings.Builderinitialized with the values of this instance.
-
-