Class VideoCodecSettings
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconvert.model.VideoCodecSettings
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<VideoCodecSettings.Builder,VideoCodecSettings>
@Generated("software.amazon.awssdk:codegen") public final class VideoCodecSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VideoCodecSettings.Builder,VideoCodecSettings>
Video codec settings contains the group of settings related to video encoding. The settings in this group vary depending on the value that you choose for Video codec. For each codec enum that you choose, define the corresponding settings object. The following lists the codec enum, settings object pairs. * AV1, Av1Settings * AVC_INTRA, AvcIntraSettings * FRAME_CAPTURE, FrameCaptureSettings * H_264, H264Settings * H_265, H265Settings * MPEG2, Mpeg2Settings * PRORES, ProresSettings * UNCOMPRESSED, UncompressedSettings * VC3, Vc3Settings * VP8, Vp8Settings * VP9, Vp9Settings * XAVC, XavcSettings- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
VideoCodecSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Av1Settings
av1Settings()
Required when you set Codec, under VideoDescription>CodecSettings to the value AV1.AvcIntraSettings
avcIntraSettings()
Required when you choose AVC-Intra for your output video codec.static VideoCodecSettings.Builder
builder()
VideoCodec
codec()
Specifies the video codec.String
codecAsString()
Specifies the video codec.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
FrameCaptureSettings
frameCaptureSettings()
Required when you set Codec to the value FRAME_CAPTURE.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
H264Settings
h264Settings()
Required when you set Codec to the value H_264.H265Settings
h265Settings()
Settings for H265 codecint
hashCode()
Mpeg2Settings
mpeg2Settings()
Required when you set Codec to the value MPEG2.ProresSettings
proresSettings()
Required when you set Codec to the value PRORES.List<SdkField<?>>
sdkFields()
static Class<? extends VideoCodecSettings.Builder>
serializableBuilderClass()
VideoCodecSettings.Builder
toBuilder()
String
toString()
Returns a string representation of this object.UncompressedSettings
uncompressedSettings()
Required when you set Codec, under VideoDescription>CodecSettings to the value UNCOMPRESSED.Vc3Settings
vc3Settings()
Required when you set Codec to the value VC3Vp8Settings
vp8Settings()
Required when you set Codec to the value VP8.Vp9Settings
vp9Settings()
Required when you set Codec to the value VP9.XavcSettings
xavcSettings()
Required when you set Codec to the value XAVC.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
av1Settings
public final Av1Settings av1Settings()
Required when you set Codec, under VideoDescription>CodecSettings to the value AV1.- Returns:
- Required when you set Codec, under VideoDescription>CodecSettings to the value AV1.
-
avcIntraSettings
public final AvcIntraSettings avcIntraSettings()
Required when you choose AVC-Intra for your output video codec. For more information about the AVC-Intra settings, see the relevant specification. For detailed information about SD and HD in AVC-Intra, see https://ieeexplore.ieee.org/document/7290936. For information about 4K/2K in AVC-Intra, see https://pro-av.panasonic.net/en/avc-ultra/AVC-ULTRAoverview.pdf.- Returns:
- Required when you choose AVC-Intra for your output video codec. For more information about the AVC-Intra settings, see the relevant specification. For detailed information about SD and HD in AVC-Intra, see https://ieeexplore.ieee.org/document/7290936. For information about 4K/2K in AVC-Intra, see https://pro-av.panasonic.net/en/avc-ultra/AVC-ULTRAoverview.pdf.
-
codec
public final VideoCodec codec()
Specifies the video codec. This must be equal to one of the enum values defined by the object VideoCodec. To passthrough the video stream of your input JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: Choose Passthrough. If you have multiple input videos, note that they must have identical encoding attributes. When you choose Passthrough, your output container must be MXF or QuickTime MOV.If the service returns an enum value that is not available in the current SDK version,
codec
will returnVideoCodec.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcodecAsString()
.- Returns:
- Specifies the video codec. This must be equal to one of the enum values defined by the object VideoCodec. To passthrough the video stream of your input JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: Choose Passthrough. If you have multiple input videos, note that they must have identical encoding attributes. When you choose Passthrough, your output container must be MXF or QuickTime MOV.
- See Also:
VideoCodec
-
codecAsString
public final String codecAsString()
Specifies the video codec. This must be equal to one of the enum values defined by the object VideoCodec. To passthrough the video stream of your input JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: Choose Passthrough. If you have multiple input videos, note that they must have identical encoding attributes. When you choose Passthrough, your output container must be MXF or QuickTime MOV.If the service returns an enum value that is not available in the current SDK version,
codec
will returnVideoCodec.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcodecAsString()
.- Returns:
- Specifies the video codec. This must be equal to one of the enum values defined by the object VideoCodec. To passthrough the video stream of your input JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: Choose Passthrough. If you have multiple input videos, note that they must have identical encoding attributes. When you choose Passthrough, your output container must be MXF or QuickTime MOV.
- See Also:
VideoCodec
-
frameCaptureSettings
public final FrameCaptureSettings frameCaptureSettings()
Required when you set Codec to the value FRAME_CAPTURE.- Returns:
- Required when you set Codec to the value FRAME_CAPTURE.
-
h264Settings
public final H264Settings h264Settings()
Required when you set Codec to the value H_264.- Returns:
- Required when you set Codec to the value H_264.
-
h265Settings
public final H265Settings h265Settings()
Settings for H265 codec- Returns:
- Settings for H265 codec
-
mpeg2Settings
public final Mpeg2Settings mpeg2Settings()
Required when you set Codec to the value MPEG2.- Returns:
- Required when you set Codec to the value MPEG2.
-
proresSettings
public final ProresSettings proresSettings()
Required when you set Codec to the value PRORES.- Returns:
- Required when you set Codec to the value PRORES.
-
uncompressedSettings
public final UncompressedSettings uncompressedSettings()
Required when you set Codec, under VideoDescription>CodecSettings to the value UNCOMPRESSED.- Returns:
- Required when you set Codec, under VideoDescription>CodecSettings to the value UNCOMPRESSED.
-
vc3Settings
public final Vc3Settings vc3Settings()
Required when you set Codec to the value VC3- Returns:
- Required when you set Codec to the value VC3
-
vp8Settings
public final Vp8Settings vp8Settings()
Required when you set Codec to the value VP8.- Returns:
- Required when you set Codec to the value VP8.
-
vp9Settings
public final Vp9Settings vp9Settings()
Required when you set Codec to the value VP9.- Returns:
- Required when you set Codec to the value VP9.
-
xavcSettings
public final XavcSettings xavcSettings()
Required when you set Codec to the value XAVC.- Returns:
- Required when you set Codec to the value XAVC.
-
toBuilder
public VideoCodecSettings.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<VideoCodecSettings.Builder,VideoCodecSettings>
-
builder
public static VideoCodecSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends VideoCodecSettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-