docs/doc/reference/com/google/android/exoplayer2/transformer/VideoEncoderSettings.html
Package com.google.android.exoplayer2.transformer
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classVideoEncoderSettingsextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
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 Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| static interface | VideoEncoderSettings.BitrateMode |
Deprecated.
The allowed values for bitrateMode.
|
| static class | VideoEncoderSettings.Builder |
Deprecated.
Builds VideoEncoderSettings instances.
|
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| int | bitrate |
Deprecated.
The encoding bitrate in bits per second.
|
| @com.google.android.exoplayer2.transformer.VideoEncoderSettings.BitrateMode int | bitrateMode |
Deprecated.
One of VideoEncoderSettings.BitrateMode.
|
| static VideoEncoderSettings | DEFAULT |
Deprecated.
A default VideoEncoderSettings.
|
| static float | DEFAULT_I_FRAME_INTERVAL_SECONDS |
Deprecated.
The default I-frame interval in seconds.
|
| boolean | enableHighQualityTargeting |
Deprecated.
Whether the encoder should automatically set the bitrate to target a high quality encoding.
|
| float | iFrameIntervalSeconds |
Deprecated.
The encoding I-Frame interval in seconds.
|
| int | level |
Deprecated.
The encoding level.
|
| static int | NO_VALUE |
Deprecated.
A value for various fields to indicate that the field's value is unknown or not applicable.
|
| int | operatingRate |
Deprecated.
The encoder operating rate in frames per second.
|
| int | priority |
Deprecated.
The encoder priority.
|
| int | profile |
Deprecated.
The encoding profile. |
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| VideoEncoderSettings.Builder | buildUpon() |
Deprecated.
Returns a VideoEncoderSettings.Builder initialized with the values of this instance.
|
| boolean | equals(Object o) |
Deprecated.
|
| int | hashCode() |
Deprecated.
|
-
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
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
-
public static final float DEFAULT_I_FRAME_INTERVAL_SECONDS
Deprecated.
The default I-frame interval in seconds. See Also:Constant Field Values
-
public static final[VideoEncoderSettings](VideoEncoderSettings.html "class in com.google.android.exoplayer2.transformer")DEFAULT
Deprecated.
A default VideoEncoderSettings.
-
public final int bitrate
Deprecated.
The encoding bitrate in bits per second.
-
public final @com.google.android.exoplayer2.transformer.VideoEncoderSettings.BitrateMode int bitrateMode
Deprecated.
One of VideoEncoderSettings.BitrateMode.
-
public final int profile
Deprecated.
The encoding profile.
-
public final int level
Deprecated.
The encoding level.
-
public final float iFrameIntervalSeconds
Deprecated.
The encoding I-Frame interval in seconds.
-
public final int operatingRate
Deprecated.
The encoder operating rate in frames per second.
-
public final int priority
Deprecated.
The encoder priority.
-
public final boolean enableHighQualityTargeting
Deprecated.
Whether the encoder should automatically set the bitrate to target a high quality encoding.
-
public[VideoEncoderSettings.Builder](VideoEncoderSettings.Builder.html "class in com.google.android.exoplayer2.transformer")buildUpon()
Deprecated.
Returns a VideoEncoderSettings.Builder initialized with the values of this instance.
-
public boolean equals(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")o)
Deprecated.
Overrides:equals in class Object
-
public int hashCode()
Deprecated.
Overrides:hashCode in class Object