Class AacSettings
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconvert.model.AacSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AacSettings.Builder,AacSettings>
@Generated("software.amazon.awssdk:codegen") public final class AacSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AacSettings.Builder,AacSettings>
Required when you set Codec to the value AAC. The service accepts one of two mutually exclusive groups of AAC settings--VBR and CBR. To select one of these modes, set the value of Bitrate control mode to "VBR" or "CBR". In VBR mode, you control the audio quality with the setting VBR quality. In CBR mode, you use the setting Bitrate. Defaults and valid values depend on the rate control mode.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAacSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AacAudioDescriptionBroadcasterMixaudioDescriptionBroadcasterMix()Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair.StringaudioDescriptionBroadcasterMixAsString()Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair.Integerbitrate()Specify the average bitrate in bits per second.static AacSettings.Builderbuilder()AacCodecProfilecodecProfile()Specify the AAC profile.StringcodecProfileAsString()Specify the AAC profile.AacCodingModecodingMode()The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in your AAC output.StringcodingModeAsString()The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in your AAC output.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AacRateControlModerateControlMode()Specify the AAC rate control mode.StringrateControlModeAsString()Specify the AAC rate control mode.AacRawFormatrawFormat()Enables LATM/LOAS AAC output.StringrawFormatAsString()Enables LATM/LOAS AAC output.IntegersampleRate()Specify the AAC sample rate in samples per second (Hz).Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AacSettings.Builder>serializableBuilderClass()AacSpecificationspecification()Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.StringspecificationAsString()Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.AacSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.AacVbrQualityvbrQuality()Specify the quality of your variable bitrate (VBR) AAC audio.StringvbrQualityAsString()Specify the quality of your variable bitrate (VBR) AAC audio.-
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
-
audioDescriptionBroadcasterMix
public final AacAudioDescriptionBroadcasterMix audioDescriptionBroadcasterMix()
Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.If the service returns an enum value that is not available in the current SDK version,
audioDescriptionBroadcasterMixwill returnAacAudioDescriptionBroadcasterMix.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaudioDescriptionBroadcasterMixAsString().- Returns:
- Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.
- See Also:
AacAudioDescriptionBroadcasterMix
-
audioDescriptionBroadcasterMixAsString
public final String audioDescriptionBroadcasterMixAsString()
Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.If the service returns an enum value that is not available in the current SDK version,
audioDescriptionBroadcasterMixwill returnAacAudioDescriptionBroadcasterMix.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaudioDescriptionBroadcasterMixAsString().- Returns:
- Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.
- See Also:
AacAudioDescriptionBroadcasterMix
-
bitrate
public final Integer bitrate()
Specify the average bitrate in bits per second. The set of valid values for this setting is: 6000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 384000, 448000, 512000, 576000, 640000, 768000, 896000, 1024000. The value you set is also constrained by the values that you choose for Profile, Bitrate control mode, and Sample rate. Default values depend on Bitrate control mode and Profile.- Returns:
- Specify the average bitrate in bits per second. The set of valid values for this setting is: 6000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 384000, 448000, 512000, 576000, 640000, 768000, 896000, 1024000. The value you set is also constrained by the values that you choose for Profile, Bitrate control mode, and Sample rate. Default values depend on Bitrate control mode and Profile.
-
codecProfile
public final AacCodecProfile codecProfile()
Specify the AAC profile. For the widest player compatibility and where higher bitrates are acceptable: Keep the default profile, LC (AAC-LC) For improved audio performance at lower bitrates: Choose HEV1 or HEV2. HEV1 (AAC-HE v1) adds spectral band replication to improve speech audio at low bitrates. HEV2 (AAC-HE v2) adds parametric stereo, which optimizes for encoding stereo audio at very low bitrates.If the service returns an enum value that is not available in the current SDK version,
codecProfilewill returnAacCodecProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodecProfileAsString().- Returns:
- Specify the AAC profile. For the widest player compatibility and where higher bitrates are acceptable: Keep the default profile, LC (AAC-LC) For improved audio performance at lower bitrates: Choose HEV1 or HEV2. HEV1 (AAC-HE v1) adds spectral band replication to improve speech audio at low bitrates. HEV2 (AAC-HE v2) adds parametric stereo, which optimizes for encoding stereo audio at very low bitrates.
- See Also:
AacCodecProfile
-
codecProfileAsString
public final String codecProfileAsString()
Specify the AAC profile. For the widest player compatibility and where higher bitrates are acceptable: Keep the default profile, LC (AAC-LC) For improved audio performance at lower bitrates: Choose HEV1 or HEV2. HEV1 (AAC-HE v1) adds spectral band replication to improve speech audio at low bitrates. HEV2 (AAC-HE v2) adds parametric stereo, which optimizes for encoding stereo audio at very low bitrates.If the service returns an enum value that is not available in the current SDK version,
codecProfilewill returnAacCodecProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodecProfileAsString().- Returns:
- Specify the AAC profile. For the widest player compatibility and where higher bitrates are acceptable: Keep the default profile, LC (AAC-LC) For improved audio performance at lower bitrates: Choose HEV1 or HEV2. HEV1 (AAC-HE v1) adds spectral band replication to improve speech audio at low bitrates. HEV2 (AAC-HE v2) adds parametric stereo, which optimizes for encoding stereo audio at very low bitrates.
- See Also:
AacCodecProfile
-
codingMode
public final AacCodingMode codingMode()
The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in your AAC output. Valid coding modes depend on the Rate control mode and Profile that you select. The following list shows the number of audio channels and channel layout for each coding mode. * 1.0 Audio Description (Receiver Mix): One channel, C. Includes audio description data from your stereo input. For more information see ETSI TS 101 154 Annex E. * 1.0 Mono: One channel, C. * 2.0 Stereo: Two channels, L, R. * 5.1 Surround: Six channels, C, L, R, Ls, Rs, LFE.If the service returns an enum value that is not available in the current SDK version,
codingModewill returnAacCodingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodingModeAsString().- Returns:
- The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in your AAC output. Valid coding modes depend on the Rate control mode and Profile that you select. The following list shows the number of audio channels and channel layout for each coding mode. * 1.0 Audio Description (Receiver Mix): One channel, C. Includes audio description data from your stereo input. For more information see ETSI TS 101 154 Annex E. * 1.0 Mono: One channel, C. * 2.0 Stereo: Two channels, L, R. * 5.1 Surround: Six channels, C, L, R, Ls, Rs, LFE.
- See Also:
AacCodingMode
-
codingModeAsString
public final String codingModeAsString()
The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in your AAC output. Valid coding modes depend on the Rate control mode and Profile that you select. The following list shows the number of audio channels and channel layout for each coding mode. * 1.0 Audio Description (Receiver Mix): One channel, C. Includes audio description data from your stereo input. For more information see ETSI TS 101 154 Annex E. * 1.0 Mono: One channel, C. * 2.0 Stereo: Two channels, L, R. * 5.1 Surround: Six channels, C, L, R, Ls, Rs, LFE.If the service returns an enum value that is not available in the current SDK version,
codingModewill returnAacCodingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodingModeAsString().- Returns:
- The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in your AAC output. Valid coding modes depend on the Rate control mode and Profile that you select. The following list shows the number of audio channels and channel layout for each coding mode. * 1.0 Audio Description (Receiver Mix): One channel, C. Includes audio description data from your stereo input. For more information see ETSI TS 101 154 Annex E. * 1.0 Mono: One channel, C. * 2.0 Stereo: Two channels, L, R. * 5.1 Surround: Six channels, C, L, R, Ls, Rs, LFE.
- See Also:
AacCodingMode
-
rateControlMode
public final AacRateControlMode rateControlMode()
Specify the AAC rate control mode. For a constant bitrate: Choose CBR. Your AAC output bitrate will be equal to the value that you choose for Bitrate. For a variable bitrate: Choose VBR. Your AAC output bitrate will vary according to your audio content and the value that you choose for Bitrate quality.If the service returns an enum value that is not available in the current SDK version,
rateControlModewill returnAacRateControlMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrateControlModeAsString().- Returns:
- Specify the AAC rate control mode. For a constant bitrate: Choose CBR. Your AAC output bitrate will be equal to the value that you choose for Bitrate. For a variable bitrate: Choose VBR. Your AAC output bitrate will vary according to your audio content and the value that you choose for Bitrate quality.
- See Also:
AacRateControlMode
-
rateControlModeAsString
public final String rateControlModeAsString()
Specify the AAC rate control mode. For a constant bitrate: Choose CBR. Your AAC output bitrate will be equal to the value that you choose for Bitrate. For a variable bitrate: Choose VBR. Your AAC output bitrate will vary according to your audio content and the value that you choose for Bitrate quality.If the service returns an enum value that is not available in the current SDK version,
rateControlModewill returnAacRateControlMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrateControlModeAsString().- Returns:
- Specify the AAC rate control mode. For a constant bitrate: Choose CBR. Your AAC output bitrate will be equal to the value that you choose for Bitrate. For a variable bitrate: Choose VBR. Your AAC output bitrate will vary according to your audio content and the value that you choose for Bitrate quality.
- See Also:
AacRateControlMode
-
rawFormat
public final AacRawFormat rawFormat()
Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, you must choose "No container" for the output container.If the service returns an enum value that is not available in the current SDK version,
rawFormatwill returnAacRawFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrawFormatAsString().- Returns:
- Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, you must choose "No container" for the output container.
- See Also:
AacRawFormat
-
rawFormatAsString
public final String rawFormatAsString()
Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, you must choose "No container" for the output container.If the service returns an enum value that is not available in the current SDK version,
rawFormatwill returnAacRawFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrawFormatAsString().- Returns:
- Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, you must choose "No container" for the output container.
- See Also:
AacRawFormat
-
sampleRate
public final Integer sampleRate()
Specify the AAC sample rate in samples per second (Hz). Valid sample rates depend on the AAC profile and Coding mode that you select. For a list of supported sample rates, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/aac-support.html- Returns:
- Specify the AAC sample rate in samples per second (Hz). Valid sample rates depend on the AAC profile and Coding mode that you select. For a list of supported sample rates, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/aac-support.html
-
specification
public final AacSpecification specification()
Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.If the service returns an enum value that is not available in the current SDK version,
specificationwill returnAacSpecification.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromspecificationAsString().- Returns:
- Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
- See Also:
AacSpecification
-
specificationAsString
public final String specificationAsString()
Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.If the service returns an enum value that is not available in the current SDK version,
specificationwill returnAacSpecification.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromspecificationAsString().- Returns:
- Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
- See Also:
AacSpecification
-
vbrQuality
public final AacVbrQuality vbrQuality()
Specify the quality of your variable bitrate (VBR) AAC audio. For a list of approximate VBR bitrates, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/aac-support.html#aac_vbrIf the service returns an enum value that is not available in the current SDK version,
vbrQualitywill returnAacVbrQuality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvbrQualityAsString().- Returns:
- Specify the quality of your variable bitrate (VBR) AAC audio. For a list of approximate VBR bitrates, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/aac-support.html#aac_vbr
- See Also:
AacVbrQuality
-
vbrQualityAsString
public final String vbrQualityAsString()
Specify the quality of your variable bitrate (VBR) AAC audio. For a list of approximate VBR bitrates, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/aac-support.html#aac_vbrIf the service returns an enum value that is not available in the current SDK version,
vbrQualitywill returnAacVbrQuality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvbrQualityAsString().- Returns:
- Specify the quality of your variable bitrate (VBR) AAC audio. For a list of approximate VBR bitrates, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/aac-support.html#aac_vbr
- See Also:
AacVbrQuality
-
toBuilder
public AacSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AacSettings.Builder,AacSettings>
-
builder
public static AacSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends AacSettings.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-