@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AacSettings extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
AacSettings() |
| Modifier and Type | Method and Description |
|---|---|
AacSettings |
clone() |
boolean |
equals(Object obj) |
String |
getAudioDescriptionBroadcasterMix()
Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo
pair.
|
Integer |
getBitrate()
Specify the average bitrate in bits per second.
|
String |
getCodecProfile()
Specify the AAC profile.
|
String |
getCodingMode()
The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in
your AAC output.
|
String |
getRateControlMode()
Specify the AAC rate control mode.
|
String |
getRawFormat()
Enables LATM/LOAS AAC output.
|
Integer |
getSampleRate()
Specify the AAC sample rate in samples per second (Hz).
|
String |
getSpecification()
Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
|
String |
getVbrQuality()
Specify the quality of your variable bitrate (VBR) AAC audio.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAudioDescriptionBroadcasterMix(String audioDescriptionBroadcasterMix)
Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo
pair.
|
void |
setBitrate(Integer bitrate)
Specify the average bitrate in bits per second.
|
void |
setCodecProfile(String codecProfile)
Specify the AAC profile.
|
void |
setCodingMode(String codingMode)
The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in
your AAC output.
|
void |
setRateControlMode(String rateControlMode)
Specify the AAC rate control mode.
|
void |
setRawFormat(String rawFormat)
Enables LATM/LOAS AAC output.
|
void |
setSampleRate(Integer sampleRate)
Specify the AAC sample rate in samples per second (Hz).
|
void |
setSpecification(String specification)
Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
|
void |
setVbrQuality(String vbrQuality)
Specify the quality of your variable bitrate (VBR) AAC audio.
|
String |
toString()
Returns a string representation of this object.
|
AacSettings |
withAudioDescriptionBroadcasterMix(AacAudioDescriptionBroadcasterMix audioDescriptionBroadcasterMix)
Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo
pair.
|
AacSettings |
withAudioDescriptionBroadcasterMix(String audioDescriptionBroadcasterMix)
Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo
pair.
|
AacSettings |
withBitrate(Integer bitrate)
Specify the average bitrate in bits per second.
|
AacSettings |
withCodecProfile(AacCodecProfile codecProfile)
Specify the AAC profile.
|
AacSettings |
withCodecProfile(String codecProfile)
Specify the AAC profile.
|
AacSettings |
withCodingMode(AacCodingMode codingMode)
The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in
your AAC output.
|
AacSettings |
withCodingMode(String codingMode)
The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in
your AAC output.
|
AacSettings |
withRateControlMode(AacRateControlMode rateControlMode)
Specify the AAC rate control mode.
|
AacSettings |
withRateControlMode(String rateControlMode)
Specify the AAC rate control mode.
|
AacSettings |
withRawFormat(AacRawFormat rawFormat)
Enables LATM/LOAS AAC output.
|
AacSettings |
withRawFormat(String rawFormat)
Enables LATM/LOAS AAC output.
|
AacSettings |
withSampleRate(Integer sampleRate)
Specify the AAC sample rate in samples per second (Hz).
|
AacSettings |
withSpecification(AacSpecification specification)
Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
|
AacSettings |
withSpecification(String specification)
Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
|
AacSettings |
withVbrQuality(AacVbrQuality vbrQuality)
Specify the quality of your variable bitrate (VBR) AAC audio.
|
AacSettings |
withVbrQuality(String vbrQuality)
Specify the quality of your variable bitrate (VBR) AAC audio.
|
public void setAudioDescriptionBroadcasterMix(String audioDescriptionBroadcasterMix)
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.AacAudioDescriptionBroadcasterMixpublic String getAudioDescriptionBroadcasterMix()
AacAudioDescriptionBroadcasterMixpublic AacSettings withAudioDescriptionBroadcasterMix(String audioDescriptionBroadcasterMix)
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.AacAudioDescriptionBroadcasterMixpublic AacSettings withAudioDescriptionBroadcasterMix(AacAudioDescriptionBroadcasterMix audioDescriptionBroadcasterMix)
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.AacAudioDescriptionBroadcasterMixpublic void setBitrate(Integer bitrate)
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.public Integer getBitrate()
public AacSettings withBitrate(Integer bitrate)
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.public void setCodecProfile(String codecProfile)
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.AacCodecProfilepublic String getCodecProfile()
AacCodecProfilepublic AacSettings withCodecProfile(String codecProfile)
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.AacCodecProfilepublic AacSettings withCodecProfile(AacCodecProfile codecProfile)
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.AacCodecProfilepublic void setCodingMode(String codingMode)
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.AacCodingModepublic String getCodingMode()
AacCodingModepublic AacSettings withCodingMode(String codingMode)
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.AacCodingModepublic AacSettings withCodingMode(AacCodingMode codingMode)
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.AacCodingModepublic void setRateControlMode(String rateControlMode)
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.AacRateControlModepublic String getRateControlMode()
AacRateControlModepublic AacSettings withRateControlMode(String rateControlMode)
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.AacRateControlModepublic AacSettings withRateControlMode(AacRateControlMode rateControlMode)
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.AacRateControlModepublic void setRawFormat(String rawFormat)
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.AacRawFormatpublic String getRawFormat()
AacRawFormatpublic AacSettings withRawFormat(String rawFormat)
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.AacRawFormatpublic AacSettings withRawFormat(AacRawFormat rawFormat)
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.AacRawFormatpublic void setSampleRate(Integer sampleRate)
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.htmlpublic Integer getSampleRate()
public AacSettings withSampleRate(Integer sampleRate)
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.htmlpublic void setSpecification(String specification)
specification - Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.AacSpecificationpublic String getSpecification()
AacSpecificationpublic AacSettings withSpecification(String specification)
specification - Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.AacSpecificationpublic AacSettings withSpecification(AacSpecification specification)
specification - Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.AacSpecificationpublic void setVbrQuality(String vbrQuality)
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_vbrAacVbrQualitypublic String getVbrQuality()
AacVbrQualitypublic AacSettings withVbrQuality(String vbrQuality)
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_vbrAacVbrQualitypublic AacSettings withVbrQuality(AacVbrQuality vbrQuality)
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_vbrAacVbrQualitypublic String toString()
toString in class ObjectObject.toString()public AacSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.