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 Details

    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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

      Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
      Parameters:
      spec - Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • spec

      Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
      Parameters:
      spec - Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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: