Interface Ac3Settings.Builder

    • Method Detail

      • bitrate

        Ac3Settings.Builder bitrate​(Double bitrate)
        Average bitrate in bits/second. Valid bitrates depend on the coding mode.
        Parameters:
        bitrate - Average bitrate in bits/second. Valid bitrates depend on the coding mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bitstreamMode

        Ac3Settings.Builder bitstreamMode​(String bitstreamMode)
        Specifies the bitstream mode (bsmod) for the emitted AC-3 stream. See ATSC A/52-2012 for background on these values.
        Parameters:
        bitstreamMode - Specifies the bitstream mode (bsmod) for the emitted AC-3 stream. See ATSC A/52-2012 for background on these values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Ac3BitstreamMode, Ac3BitstreamMode
      • bitstreamMode

        Ac3Settings.Builder bitstreamMode​(Ac3BitstreamMode bitstreamMode)
        Specifies the bitstream mode (bsmod) for the emitted AC-3 stream. See ATSC A/52-2012 for background on these values.
        Parameters:
        bitstreamMode - Specifies the bitstream mode (bsmod) for the emitted AC-3 stream. See ATSC A/52-2012 for background on these values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Ac3BitstreamMode, Ac3BitstreamMode
      • codingMode

        Ac3Settings.Builder codingMode​(String codingMode)
        Dolby Digital coding mode. Determines number of channels.
        Parameters:
        codingMode - Dolby Digital coding mode. Determines number of channels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Ac3CodingMode, Ac3CodingMode
      • codingMode

        Ac3Settings.Builder codingMode​(Ac3CodingMode codingMode)
        Dolby Digital coding mode. Determines number of channels.
        Parameters:
        codingMode - Dolby Digital coding mode. Determines number of channels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Ac3CodingMode, Ac3CodingMode
      • dialnorm

        Ac3Settings.Builder dialnorm​(Integer dialnorm)
        Sets the dialnorm for the output. If excluded and input audio is Dolby Digital, dialnorm will be passed through.
        Parameters:
        dialnorm - Sets the dialnorm for the output. If excluded and input audio is Dolby Digital, dialnorm will be passed through.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • drcProfile

        Ac3Settings.Builder drcProfile​(String drcProfile)
        If set to filmStandard, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification.
        Parameters:
        drcProfile - If set to filmStandard, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Ac3DrcProfile, Ac3DrcProfile
      • drcProfile

        Ac3Settings.Builder drcProfile​(Ac3DrcProfile drcProfile)
        If set to filmStandard, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification.
        Parameters:
        drcProfile - If set to filmStandard, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Ac3DrcProfile, Ac3DrcProfile
      • lfeFilter

        Ac3Settings.Builder lfeFilter​(String lfeFilter)
        When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid in codingMode32Lfe mode.
        Parameters:
        lfeFilter - When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid in codingMode32Lfe mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Ac3LfeFilter, Ac3LfeFilter
      • lfeFilter

        Ac3Settings.Builder lfeFilter​(Ac3LfeFilter lfeFilter)
        When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid in codingMode32Lfe mode.
        Parameters:
        lfeFilter - When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid in codingMode32Lfe mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Ac3LfeFilter, Ac3LfeFilter
      • metadataControl

        Ac3Settings.Builder metadataControl​(String metadataControl)
        When set to "followInput", encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.
        Parameters:
        metadataControl - When set to "followInput", encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Ac3MetadataControl, Ac3MetadataControl
      • metadataControl

        Ac3Settings.Builder metadataControl​(Ac3MetadataControl metadataControl)
        When set to "followInput", encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.
        Parameters:
        metadataControl - When set to "followInput", encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Ac3MetadataControl, Ac3MetadataControl
      • attenuationControl

        Ac3Settings.Builder attenuationControl​(String attenuationControl)
        Applies a 3 dB attenuation to the surround channels. Applies only when the coding mode parameter is CODING_MODE_3_2_LFE.
        Parameters:
        attenuationControl - Applies a 3 dB attenuation to the surround channels. Applies only when the coding mode parameter is CODING_MODE_3_2_LFE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Ac3AttenuationControl, Ac3AttenuationControl
      • attenuationControl

        Ac3Settings.Builder attenuationControl​(Ac3AttenuationControl attenuationControl)
        Applies a 3 dB attenuation to the surround channels. Applies only when the coding mode parameter is CODING_MODE_3_2_LFE.
        Parameters:
        attenuationControl - Applies a 3 dB attenuation to the surround channels. Applies only when the coding mode parameter is CODING_MODE_3_2_LFE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Ac3AttenuationControl, Ac3AttenuationControl