Interface AacSettings.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AacSettings.Builder,AacSettings>,SdkBuilder<AacSettings.Builder,AacSettings>,SdkPojo
- Enclosing class:
- AacSettings
public static interface AacSettings.Builder extends SdkPojo, CopyableBuilder<AacSettings.Builder,AacSettings>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AacSettings.Builderbitrate(Double bitrate)Average bitrate in bits/second.AacSettings.BuildercodingMode(String codingMode)Mono, Stereo, or 5.1 channel layout.AacSettings.BuildercodingMode(AacCodingMode codingMode)Mono, Stereo, or 5.1 channel layout.AacSettings.BuilderinputType(String inputType)Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair.AacSettings.BuilderinputType(AacInputType inputType)Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair.AacSettings.Builderprofile(String profile)AAC Profile.AacSettings.Builderprofile(AacProfile profile)AAC Profile.AacSettings.BuilderrateControlMode(String rateControlMode)Rate Control Mode.AacSettings.BuilderrateControlMode(AacRateControlMode rateControlMode)Rate Control Mode.AacSettings.BuilderrawFormat(String rawFormat)Sets LATM / LOAS AAC output for raw containers.AacSettings.BuilderrawFormat(AacRawFormat rawFormat)Sets LATM / LOAS AAC output for raw containers.AacSettings.BuildersampleRate(Double sampleRate)Sample rate in Hz.AacSettings.Builderspec(String spec)Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.AacSettings.Builderspec(AacSpec spec)Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.AacSettings.BuildervbrQuality(String vbrQuality)VBR Quality Level - Only used if rateControlMode is VBR.AacSettings.BuildervbrQuality(AacVbrQuality vbrQuality)VBR Quality Level - Only used if rateControlMode is VBR.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
bitrate
AacSettings.Builder bitrate(Double bitrate)
Average bitrate in bits/second. Valid values depend on rate control mode and profile.- Parameters:
bitrate- Average bitrate in bits/second. Valid values depend on rate control mode and profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codingMode
AacSettings.Builder codingMode(String codingMode)
Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. The adReceiverMix setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E.- Parameters:
codingMode- Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. The adReceiverMix setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AacCodingMode,AacCodingMode
-
codingMode
AacSettings.Builder codingMode(AacCodingMode codingMode)
Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. The adReceiverMix setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E.- Parameters:
codingMode- Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. The adReceiverMix setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AacCodingMode,AacCodingMode
-
inputType
AacSettings.Builder inputType(String inputType)
Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair. The Audio Type field (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. The values in audioTypeControl and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd. Leave set to "normal" when input does not contain pre-mixed audio + AD.- Parameters:
inputType- Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair. The Audio Type field (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. The values in audioTypeControl and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd. Leave set to "normal" when input does not contain pre-mixed audio + AD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AacInputType,AacInputType
-
inputType
AacSettings.Builder inputType(AacInputType inputType)
Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair. The Audio Type field (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. The values in audioTypeControl and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd. Leave set to "normal" when input does not contain pre-mixed audio + AD.- Parameters:
inputType- Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair. The Audio Type field (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. The values in audioTypeControl and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd. Leave set to "normal" when input does not contain pre-mixed audio + AD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AacInputType,AacInputType
-
profile
AacSettings.Builder profile(String profile)
AAC Profile.- Parameters:
profile- AAC Profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AacProfile,AacProfile
-
profile
AacSettings.Builder profile(AacProfile profile)
AAC Profile.- Parameters:
profile- AAC Profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AacProfile,AacProfile
-
rateControlMode
AacSettings.Builder rateControlMode(String rateControlMode)
Rate Control Mode.- Parameters:
rateControlMode- Rate Control Mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AacRateControlMode,AacRateControlMode
-
rateControlMode
AacSettings.Builder rateControlMode(AacRateControlMode rateControlMode)
Rate Control Mode.- Parameters:
rateControlMode- Rate Control Mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AacRateControlMode,AacRateControlMode
-
rawFormat
AacSettings.Builder rawFormat(String rawFormat)
Sets LATM / LOAS AAC output for raw containers.- Parameters:
rawFormat- Sets LATM / LOAS AAC output for raw containers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AacRawFormat,AacRawFormat
-
rawFormat
AacSettings.Builder rawFormat(AacRawFormat rawFormat)
Sets LATM / LOAS AAC output for raw containers.- Parameters:
rawFormat- Sets LATM / LOAS AAC output for raw containers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AacRawFormat,AacRawFormat
-
sampleRate
AacSettings.Builder sampleRate(Double sampleRate)
Sample rate in Hz. Valid values depend on rate control mode and profile.- Parameters:
sampleRate- Sample rate in Hz. Valid values depend on rate control mode and profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
AacSettings.Builder spec(String spec)
Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
-
spec
AacSettings.Builder spec(AacSpec spec)
Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
-
vbrQuality
AacSettings.Builder vbrQuality(String vbrQuality)
VBR Quality Level - Only used if rateControlMode is VBR.- Parameters:
vbrQuality- VBR Quality Level - Only used if rateControlMode is VBR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AacVbrQuality,AacVbrQuality
-
vbrQuality
AacSettings.Builder vbrQuality(AacVbrQuality vbrQuality)
VBR Quality Level - Only used if rateControlMode is VBR.- Parameters:
vbrQuality- VBR Quality Level - Only used if rateControlMode is VBR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AacVbrQuality,AacVbrQuality
-
-