Back to Exoplayer

TransformationResult (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationResult.html

latest7.8 KB
Original Source

Package com.google.android.exoplayer2.transformer

Class TransformationResult

  • java.lang.Object

    • com.google.android.exoplayer2.transformer.TransformationResult

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classTransformationResultextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")

Deprecated. Use ExportResult instead.

Nested Class Summary

Nested Classes | Modifier and Type | Class | Description | | --- | --- | --- | | static class | TransformationResult.Builder | Deprecated. Use ExportResult.Builder instead.

| | static class | TransformationResult.ProcessedInput | Deprecated. Use ExportResult.ProcessedInput instead.

|

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | String | audioEncoderName | Deprecated.

The name of the audio encoder used, or null if none were used. | | int | averageAudioBitrate | Deprecated.

The average bitrate of the audio track data, or C.RATE_UNSET_INT if unset or unknown. | | int | averageVideoBitrate | Deprecated.

The average bitrate of the video track data, or C.RATE_UNSET_INT if unset or unknown. | | int | channelCount | Deprecated.

The channel count of the audio, or C.LENGTH_UNSET if unset or unknown. | | ColorInfo | colorInfo | Deprecated.

The ColorInfo of the video, or null if unset or unknown. | | long | durationMs | Deprecated.

The duration of the file in milliseconds, or C.TIME_UNSET if unset or unknown. | | long | fileSizeBytes | Deprecated.

The size of the file in bytes, or C.LENGTH_UNSET if unset or unknown. | | int | height | Deprecated.

The height of the video, or C.LENGTH_UNSET if unset or unknown. | | ImmutableList<TransformationResult.ProcessedInput> | processedInputs | Deprecated.

The list of processed inputs. | | int | sampleRate | Deprecated.

The sample rate of the audio, or C.RATE_UNSET_INT if unset or unknown. | | TransformationException | transformationException | Deprecated.

The TransformationException that caused the transformation to fail, or null if the transformation was a success. | | String | videoEncoderName | Deprecated.

The name of the video encoder used, or null if none were used. | | int | videoFrameCount | Deprecated.

The number of video frames. | | int | width | Deprecated.

The width of the video, or C.LENGTH_UNSET if unset or unknown. |

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | TransformationResult.Builder | buildUpon() | Deprecated. | | boolean | equals​(Object o) | Deprecated. | | int | hashCode() | Deprecated. |

- 

Methods inherited from class java.lang.Object

clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

processedInputs

public final[ImmutableList](https://guava.dev/releases/31.1-android/api/docs/com/google/common/collect/ImmutableList.html?is-external=true "class or interface in com.google.common.collect")<[TransformationResult.ProcessedInput](TransformationResult.ProcessedInput.html "class in com.google.android.exoplayer2.transformer")> processedInputs

Deprecated.

The list of processed inputs.

- 

durationMs

public final long durationMs

Deprecated.

The duration of the file in milliseconds, or C.TIME_UNSET if unset or unknown.

- 

fileSizeBytes

public final long fileSizeBytes

Deprecated.

The size of the file in bytes, or C.LENGTH_UNSET if unset or unknown.

- 

averageAudioBitrate

public final int averageAudioBitrate

Deprecated.

The average bitrate of the audio track data, or C.RATE_UNSET_INT if unset or unknown.

- 

channelCount

public final int channelCount

Deprecated.

The channel count of the audio, or C.LENGTH_UNSET if unset or unknown.

- 

sampleRate

public final int sampleRate

Deprecated.

The sample rate of the audio, or C.RATE_UNSET_INT if unset or unknown.

- 

audioEncoderName

@Nullable
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")audioEncoderName

Deprecated.

The name of the audio encoder used, or null if none were used.

- 

averageVideoBitrate

public final int averageVideoBitrate

Deprecated.

The average bitrate of the video track data, or C.RATE_UNSET_INT if unset or unknown.

- 

colorInfo

@Nullable
public final[ColorInfo](../video/ColorInfo.html "class in com.google.android.exoplayer2.video")colorInfo

Deprecated.

The ColorInfo of the video, or null if unset or unknown.

- 

height

public final int height

Deprecated.

The height of the video, or C.LENGTH_UNSET if unset or unknown.

- 

width

public final int width

Deprecated.

The width of the video, or C.LENGTH_UNSET if unset or unknown.

- 

videoFrameCount

public final int videoFrameCount

Deprecated.

The number of video frames.

- 

videoEncoderName

@Nullable
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")videoEncoderName

Deprecated.

The name of the video encoder used, or null if none were used.

- 

transformationException

@Nullable
public final[TransformationException](TransformationException.html "class in com.google.android.exoplayer2.transformer")transformationException

Deprecated.

The TransformationException that caused the transformation to fail, or null if the transformation was a success.

Method Detail

- 

buildUpon

public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")buildUpon()

Deprecated.

- 

equals

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

- 

hashCode

public int hashCode()

Deprecated. Overrides:hashCode in class Object