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 classTransformationRequest.BuilderA builder forTransformationRequestinstances.
-
Field Summary
Fields Modifier and Type Field Description StringaudioMimeTypeThe requested output audio sampleMIME type, ornullif inferred from the input.booleanenableHdrEditingWhether to attempt to process any input video stream as a high dynamic range (HDR) signal.booleanflattenForSlowMotionWhether the input should be flattened for media containing slow motion markers.intoutputHeightThe requested height of the output video, orC.LENGTH_UNSETif inferred from the input.MatrixtransformationMatrixAtransformation matrixto apply to video frames.StringvideoMimeTypeThe requested output video sampleMIME type, ornullif inferred from the input.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransformationRequest.BuilderbuildUpon()Returns a newTransformationRequest.Builderinitialized with the values of this instance.booleanequals(Object o)inthashCode()
-
-
-
Field Detail
-
transformationMatrix
public final Matrix transformationMatrix
Atransformation matrixto 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_UNSETif inferred from the input.
-
audioMimeType
@Nullable public final String audioMimeType
The requested output audio sampleMIME type, ornullif inferred from the input.
-
videoMimeType
@Nullable public final String videoMimeType
The requested output video sampleMIME type, ornullif 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.Builderinitialized with the values of this instance.
-
-