Class TransformationRequest
- java.lang.Object
-
- com.google.android.exoplayer2.transformer.TransformationRequest
-
public final class TransformationRequest extends Object
A media transformation request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransformationRequest.Builder
A builder forTransformationRequest
instances.
-
Field Summary
Fields Modifier and Type Field Description String
audioMimeType
The requested output audio sampleMIME type
, ornull
if inferred from the input.boolean
enableHdrEditing
Whether to attempt to process any input video stream as a high dynamic range (HDR) signal.boolean
flattenForSlowMotion
Whether the input should be flattened for media containing slow motion markers.int
outputHeight
The requested height of the output video, orC.LENGTH_UNSET
if inferred from the input.Matrix
transformationMatrix
Atransformation matrix
to apply to video frames.String
videoMimeType
The requested output video sampleMIME type
, ornull
if inferred from the input.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransformationRequest.Builder
buildUpon()
Returns a newTransformationRequest.Builder
initialized with the values of this instance.boolean
equals(Object o)
int
hashCode()
-
-
-
Field Detail
-
transformationMatrix
public final Matrix transformationMatrix
Atransformation matrix
to apply to video frames.
-
flattenForSlowMotion
public final boolean flattenForSlowMotion
Whether the input should be flattened for media containing slow motion markers.
-
outputHeight
public final int outputHeight
The requested height of the output video, orC.LENGTH_UNSET
if inferred from the input.
-
audioMimeType
@Nullable public final String audioMimeType
The requested output audio sampleMIME type
, ornull
if inferred from the input.
-
videoMimeType
@Nullable public final String videoMimeType
The requested output video sampleMIME type
, ornull
if inferred from the input.
-
enableHdrEditing
public final boolean enableHdrEditing
Whether to attempt to process any input video stream as a high dynamic range (HDR) signal.
-
-
Method Detail
-
buildUpon
public TransformationRequest.Builder buildUpon()
Returns a newTransformationRequest.Builder
initialized with the values of this instance.
-
-