Class ExportResult
- java.lang.Object
-
- com.google.android.exoplayer2.transformer.ExportResult
-
@Deprecated public final class ExportResult 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.Information about the result of an export.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExportResult.Builder
Deprecated.A builder forExportResult
instances.static class
ExportResult.ProcessedInput
Deprecated.An input entirely or partially processed.
-
Field Summary
Fields Modifier and Type Field Description String
audioEncoderName
Deprecated.The name of the audio encoder used, ornull
if none were used.int
averageAudioBitrate
Deprecated.The average bitrate of the audio track data, orC.RATE_UNSET_INT
if unset or unknown.int
averageVideoBitrate
Deprecated.The average bitrate of the video track data, orC.RATE_UNSET_INT
if unset or unknown.int
channelCount
Deprecated.The channel count of the audio, orC.LENGTH_UNSET
if unset or unknown.ColorInfo
colorInfo
Deprecated.TheColorInfo
of the video, ornull
if unset or unknown.long
durationMs
Deprecated.The duration of the file in milliseconds, orC.TIME_UNSET
if unset or unknown.ExportException
exportException
Deprecated.TheExportException
that caused the export to fail, ornull
if the export was a success.long
fileSizeBytes
Deprecated.The size of the file in bytes, orC.LENGTH_UNSET
if unset or unknown.int
height
Deprecated.The height of the video, orC.LENGTH_UNSET
if unset or unknown.ImmutableList<ExportResult.ProcessedInput>
processedInputs
Deprecated.The list of processed inputs.int
sampleRate
Deprecated.The sample rate of the audio, orC.RATE_UNSET_INT
if unset or unknown.String
videoEncoderName
Deprecated.The name of the video encoder used, ornull
if none were used.int
videoFrameCount
Deprecated.The number of video frames.int
width
Deprecated.The width of the video, orC.LENGTH_UNSET
if unset or unknown.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ExportResult.Builder
buildUpon()
Deprecated.boolean
equals(Object o)
Deprecated.int
hashCode()
Deprecated.
-
-
-
Field Detail
-
processedInputs
public final ImmutableList<ExportResult.ProcessedInput> processedInputs
Deprecated.The list of processed inputs.
-
durationMs
public final long durationMs
Deprecated.The duration of the file in milliseconds, orC.TIME_UNSET
if unset or unknown.
-
fileSizeBytes
public final long fileSizeBytes
Deprecated.The size of the file in bytes, orC.LENGTH_UNSET
if unset or unknown.
-
averageAudioBitrate
public final int averageAudioBitrate
Deprecated.The average bitrate of the audio track data, orC.RATE_UNSET_INT
if unset or unknown.
-
channelCount
public final int channelCount
Deprecated.The channel count of the audio, orC.LENGTH_UNSET
if unset or unknown.
-
sampleRate
public final int sampleRate
Deprecated.The sample rate of the audio, orC.RATE_UNSET_INT
if unset or unknown.
-
audioEncoderName
@Nullable public final String audioEncoderName
Deprecated.The name of the audio encoder used, ornull
if none were used.
-
averageVideoBitrate
public final int averageVideoBitrate
Deprecated.The average bitrate of the video track data, orC.RATE_UNSET_INT
if unset or unknown.
-
colorInfo
@Nullable public final ColorInfo colorInfo
Deprecated.TheColorInfo
of the video, ornull
if unset or unknown.
-
height
public final int height
Deprecated.The height of the video, orC.LENGTH_UNSET
if unset or unknown.
-
width
public final int width
Deprecated.The width of the video, orC.LENGTH_UNSET
if unset or unknown.
-
videoFrameCount
public final int videoFrameCount
Deprecated.The number of video frames.
-
videoEncoderName
@Nullable public final String videoEncoderName
Deprecated.The name of the video encoder used, ornull
if none were used.
-
exportException
@Nullable public final ExportException exportException
Deprecated.TheExportException
that caused the export to fail, ornull
if the export was a success.
-
-