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 * VC3, Vc3Settings * VP8, Vp8Settings * VP9, Vp9Settings * XAVC, XavcSettings- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVideoCodecSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Av1Settingsav1Settings()Required when you set Codec, under VideoDescription>CodecSettings to the value AV1.AvcIntraSettingsavcIntraSettings()Required when you choose AVC-Intra for your output video codec.static VideoCodecSettings.Builderbuilder()VideoCodeccodec()Specifies the video codec.StringcodecAsString()Specifies the video codec.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FrameCaptureSettingsframeCaptureSettings()Required when you set Codec to the value FRAME_CAPTURE.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)H264Settingsh264Settings()Required when you set Codec to the value H_264.H265Settingsh265Settings()Settings for H265 codecinthashCode()Mpeg2Settingsmpeg2Settings()Required when you set Codec to the value MPEG2.ProresSettingsproresSettings()Required when you set Codec to the value PRORES.List<SdkField<?>>sdkFields()static Class<? extends VideoCodecSettings.Builder>serializableBuilderClass()VideoCodecSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.Vc3Settingsvc3Settings()Required when you set Codec to the value VC3Vp8Settingsvp8Settings()Required when you set Codec to the value VP8.Vp9Settingsvp9Settings()Required when you set Codec to the value VP9.XavcSettingsxavcSettings()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,
codecwill 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,
codecwill 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.
-
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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
-