Class AacSettings
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AacSettings.Builder,
AacSettings>
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionChoose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair.final String
Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair.final Integer
bitrate()
Specify the average bitrate in bits per second.static AacSettings.Builder
builder()
final AacCodecProfile
AAC Profile.final String
AAC Profile.final AacCodingMode
The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in your AAC output.final String
The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in your AAC output.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final AacRateControlMode
Rate Control Mode.final String
Rate Control Mode.final AacRawFormat
Enables LATM/LOAS AAC output.final String
Enables LATM/LOAS AAC output.final Integer
Specify the Sample rate in Hz.static Class
<? extends AacSettings.Builder> final AacSpecification
Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.final String
Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final AacVbrQuality
VBR Quality Level - Only used if rate_control_mode is VBR.final String
VBR Quality Level - Only used if rate_control_mode is VBR.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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,
audioDescriptionBroadcasterMix
will 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:
-
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,
audioDescriptionBroadcasterMix
will 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:
-
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
AAC Profile.If the service returns an enum value that is not available in the current SDK version,
codecProfile
will returnAacCodecProfile.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcodecProfileAsString()
.- Returns:
- AAC Profile.
- See Also:
-
codecProfileAsString
AAC Profile.If the service returns an enum value that is not available in the current SDK version,
codecProfile
will returnAacCodecProfile.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcodecProfileAsString()
.- Returns:
- AAC Profile.
- See Also:
-
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,
codingMode
will 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:
-
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,
codingMode
will 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:
-
rateControlMode
Rate Control Mode.If the service returns an enum value that is not available in the current SDK version,
rateControlMode
will returnAacRateControlMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromrateControlModeAsString()
.- Returns:
- Rate Control Mode.
- See Also:
-
rateControlModeAsString
Rate Control Mode.If the service returns an enum value that is not available in the current SDK version,
rateControlMode
will returnAacRateControlMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromrateControlModeAsString()
.- Returns:
- Rate Control Mode.
- See Also:
-
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,
rawFormat
will 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:
-
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,
rawFormat
will 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:
-
sampleRate
Specify the Sample rate in Hz. Valid sample rates depend on the Profile and Coding mode that you select. The following list shows valid sample rates for each Profile and Coding mode. * LC Profile, Coding mode 1.0, 2.0, and Receiver Mix: 8000, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000. * LC Profile, Coding mode 5.1: 32000, 44100, 48000, 96000. * HEV1 Profile, Coding mode 1.0 and Receiver Mix: 22050, 24000, 32000, 44100, 48000. * HEV1 Profile, Coding mode 2.0 and 5.1: 32000, 44100, 48000, 96000. * HEV2 Profile, Coding mode 2.0: 22050, 24000, 32000, 44100, 48000.- Returns:
- Specify the Sample rate in Hz. Valid sample rates depend on the Profile and Coding mode that you select. The following list shows valid sample rates for each Profile and Coding mode. * LC Profile, Coding mode 1.0, 2.0, and Receiver Mix: 8000, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000. * LC Profile, Coding mode 5.1: 32000, 44100, 48000, 96000. * HEV1 Profile, Coding mode 1.0 and Receiver Mix: 22050, 24000, 32000, 44100, 48000. * HEV1 Profile, Coding mode 2.0 and 5.1: 32000, 44100, 48000, 96000. * HEV2 Profile, Coding mode 2.0: 22050, 24000, 32000, 44100, 48000.
-
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,
specification
will 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:
-
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,
specification
will 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:
-
vbrQuality
VBR Quality Level - Only used if rate_control_mode is VBR.If the service returns an enum value that is not available in the current SDK version,
vbrQuality
will returnAacVbrQuality.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromvbrQualityAsString()
.- Returns:
- VBR Quality Level - Only used if rate_control_mode is VBR.
- See Also:
-
vbrQualityAsString
VBR Quality Level - Only used if rate_control_mode is VBR.If the service returns an enum value that is not available in the current SDK version,
vbrQuality
will returnAacVbrQuality.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromvbrQualityAsString()
.- Returns:
- VBR Quality Level - Only used if rate_control_mode is VBR.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AacSettings.Builder,
AacSettings> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-