@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()
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()
Rate Control Mode.
|
String |
getRawFormat()
Enables LATM/LOAS AAC output.
|
Integer |
getSampleRate()
Specify the Sample rate in Hz.
|
String |
getSpecification()
Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
|
String |
getVbrQuality()
VBR Quality Level - Only used if rate_control_mode is VBR.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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)
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)
Rate Control Mode.
|
void |
setRawFormat(String rawFormat)
Enables LATM/LOAS AAC output.
|
void |
setSampleRate(Integer sampleRate)
Specify the Sample rate in 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)
VBR Quality Level - Only used if rate_control_mode is VBR.
|
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)
AAC Profile.
|
AacSettings |
withCodecProfile(String codecProfile)
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)
Rate Control Mode.
|
AacSettings |
withRateControlMode(String rateControlMode)
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 Sample rate in 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)
VBR Quality Level - Only used if rate_control_mode is VBR.
|
AacSettings |
withVbrQuality(String vbrQuality)
VBR Quality Level - Only used if rate_control_mode is VBR.
|
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.AacAudioDescriptionBroadcasterMix
public String getAudioDescriptionBroadcasterMix()
AacAudioDescriptionBroadcasterMix
public 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.AacAudioDescriptionBroadcasterMix
public 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.AacAudioDescriptionBroadcasterMix
public 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
- AAC Profile.AacCodecProfile
public String getCodecProfile()
AacCodecProfile
public AacSettings withCodecProfile(String codecProfile)
codecProfile
- AAC Profile.AacCodecProfile
public AacSettings withCodecProfile(AacCodecProfile codecProfile)
codecProfile
- AAC Profile.AacCodecProfile
public 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.AacCodingMode
public String getCodingMode()
AacCodingMode
public 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.AacCodingMode
public 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.AacCodingMode
public void setRateControlMode(String rateControlMode)
rateControlMode
- Rate Control Mode.AacRateControlMode
public String getRateControlMode()
AacRateControlMode
public AacSettings withRateControlMode(String rateControlMode)
rateControlMode
- Rate Control Mode.AacRateControlMode
public AacSettings withRateControlMode(AacRateControlMode rateControlMode)
rateControlMode
- Rate Control Mode.AacRateControlMode
public 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.AacRawFormat
public String getRawFormat()
AacRawFormat
public 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.AacRawFormat
public 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.AacRawFormat
public void setSampleRate(Integer sampleRate)
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.public Integer getSampleRate()
public AacSettings withSampleRate(Integer sampleRate)
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.public void setSpecification(String specification)
specification
- Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.AacSpecification
public String getSpecification()
AacSpecification
public AacSettings withSpecification(String specification)
specification
- Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.AacSpecification
public AacSettings withSpecification(AacSpecification specification)
specification
- Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.AacSpecification
public void setVbrQuality(String vbrQuality)
vbrQuality
- VBR Quality Level - Only used if rate_control_mode is VBR.AacVbrQuality
public String getVbrQuality()
AacVbrQuality
public AacSettings withVbrQuality(String vbrQuality)
vbrQuality
- VBR Quality Level - Only used if rate_control_mode is VBR.AacVbrQuality
public AacSettings withVbrQuality(AacVbrQuality vbrQuality)
vbrQuality
- VBR Quality Level - Only used if rate_control_mode is VBR.AacVbrQuality
public String toString()
toString
in class Object
Object.toString()
public AacSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.