Interface Eac3Settings.Builder

    • Method Detail

      • attenuationControl

        Eac3Settings.Builder attenuationControl​(String attenuationControl)
        When set to attenuate3Db, applies a 3 dB attenuation to the surround channels. Only used for 3/2 coding mode.
        Parameters:
        attenuationControl - When set to attenuate3Db, applies a 3 dB attenuation to the surround channels. Only used for 3/2 coding mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3AttenuationControl, Eac3AttenuationControl
      • attenuationControl

        Eac3Settings.Builder attenuationControl​(Eac3AttenuationControl attenuationControl)
        When set to attenuate3Db, applies a 3 dB attenuation to the surround channels. Only used for 3/2 coding mode.
        Parameters:
        attenuationControl - When set to attenuate3Db, applies a 3 dB attenuation to the surround channels. Only used for 3/2 coding mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3AttenuationControl, Eac3AttenuationControl
      • bitrate

        Eac3Settings.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

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

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

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

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

        Eac3Settings.Builder dcFilter​(String dcFilter)
        When set to enabled, activates a DC highpass filter for all input channels.
        Parameters:
        dcFilter - When set to enabled, activates a DC highpass filter for all input channels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3DcFilter, Eac3DcFilter
      • dcFilter

        Eac3Settings.Builder dcFilter​(Eac3DcFilter dcFilter)
        When set to enabled, activates a DC highpass filter for all input channels.
        Parameters:
        dcFilter - When set to enabled, activates a DC highpass filter for all input channels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3DcFilter, Eac3DcFilter
      • dialnorm

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

        Eac3Settings.Builder drcLine​(String drcLine)
        Sets the Dolby dynamic range compression profile.
        Parameters:
        drcLine - Sets the Dolby dynamic range compression profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3DrcLine, Eac3DrcLine
      • drcLine

        Eac3Settings.Builder drcLine​(Eac3DrcLine drcLine)
        Sets the Dolby dynamic range compression profile.
        Parameters:
        drcLine - Sets the Dolby dynamic range compression profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3DrcLine, Eac3DrcLine
      • drcRf

        Eac3Settings.Builder drcRf​(String drcRf)
        Sets the profile for heavy Dolby dynamic range compression, ensures that the instantaneous signal peaks do not exceed specified levels.
        Parameters:
        drcRf - Sets the profile for heavy Dolby dynamic range compression, ensures that the instantaneous signal peaks do not exceed specified levels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3DrcRf, Eac3DrcRf
      • drcRf

        Eac3Settings.Builder drcRf​(Eac3DrcRf drcRf)
        Sets the profile for heavy Dolby dynamic range compression, ensures that the instantaneous signal peaks do not exceed specified levels.
        Parameters:
        drcRf - Sets the profile for heavy Dolby dynamic range compression, ensures that the instantaneous signal peaks do not exceed specified levels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3DrcRf, Eac3DrcRf
      • lfeControl

        Eac3Settings.Builder lfeControl​(String lfeControl)
        When encoding 3/2 audio, setting to lfe enables the LFE channel
        Parameters:
        lfeControl - When encoding 3/2 audio, setting to lfe enables the LFE channel
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3LfeControl, Eac3LfeControl
      • lfeControl

        Eac3Settings.Builder lfeControl​(Eac3LfeControl lfeControl)
        When encoding 3/2 audio, setting to lfe enables the LFE channel
        Parameters:
        lfeControl - When encoding 3/2 audio, setting to lfe enables the LFE channel
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3LfeControl, Eac3LfeControl
      • lfeFilter

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

        Eac3Settings.Builder lfeFilter​(Eac3LfeFilter lfeFilter)
        When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with codingMode32 coding mode.
        Parameters:
        lfeFilter - When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with codingMode32 coding mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3LfeFilter, Eac3LfeFilter
      • loRoCenterMixLevel

        Eac3Settings.Builder loRoCenterMixLevel​(Double loRoCenterMixLevel)
        Left only/Right only center mix level. Only used for 3/2 coding mode.
        Parameters:
        loRoCenterMixLevel - Left only/Right only center mix level. Only used for 3/2 coding mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • loRoSurroundMixLevel

        Eac3Settings.Builder loRoSurroundMixLevel​(Double loRoSurroundMixLevel)
        Left only/Right only surround mix level. Only used for 3/2 coding mode.
        Parameters:
        loRoSurroundMixLevel - Left only/Right only surround mix level. Only used for 3/2 coding mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ltRtCenterMixLevel

        Eac3Settings.Builder ltRtCenterMixLevel​(Double ltRtCenterMixLevel)
        Left total/Right total center mix level. Only used for 3/2 coding mode.
        Parameters:
        ltRtCenterMixLevel - Left total/Right total center mix level. Only used for 3/2 coding mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ltRtSurroundMixLevel

        Eac3Settings.Builder ltRtSurroundMixLevel​(Double ltRtSurroundMixLevel)
        Left total/Right total surround mix level. Only used for 3/2 coding mode.
        Parameters:
        ltRtSurroundMixLevel - Left total/Right total surround mix level. Only used for 3/2 coding mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metadataControl

        Eac3Settings.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:
        Eac3MetadataControl, Eac3MetadataControl
      • metadataControl

        Eac3Settings.Builder metadataControl​(Eac3MetadataControl 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:
        Eac3MetadataControl, Eac3MetadataControl
      • passthroughControl

        Eac3Settings.Builder passthroughControl​(String passthroughControl)
        When set to whenPossible, input DD+ audio will be passed through if it is present on the input. This detection is dynamic over the life of the transcode. Inputs that alternate between DD+ and non-DD+ content will have a consistent DD+ output as the system alternates between passthrough and encoding.
        Parameters:
        passthroughControl - When set to whenPossible, input DD+ audio will be passed through if it is present on the input. This detection is dynamic over the life of the transcode. Inputs that alternate between DD+ and non-DD+ content will have a consistent DD+ output as the system alternates between passthrough and encoding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3PassthroughControl, Eac3PassthroughControl
      • passthroughControl

        Eac3Settings.Builder passthroughControl​(Eac3PassthroughControl passthroughControl)
        When set to whenPossible, input DD+ audio will be passed through if it is present on the input. This detection is dynamic over the life of the transcode. Inputs that alternate between DD+ and non-DD+ content will have a consistent DD+ output as the system alternates between passthrough and encoding.
        Parameters:
        passthroughControl - When set to whenPossible, input DD+ audio will be passed through if it is present on the input. This detection is dynamic over the life of the transcode. Inputs that alternate between DD+ and non-DD+ content will have a consistent DD+ output as the system alternates between passthrough and encoding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3PassthroughControl, Eac3PassthroughControl
      • phaseControl

        Eac3Settings.Builder phaseControl​(String phaseControl)
        When set to shift90Degrees, applies a 90-degree phase shift to the surround channels. Only used for 3/2 coding mode.
        Parameters:
        phaseControl - When set to shift90Degrees, applies a 90-degree phase shift to the surround channels. Only used for 3/2 coding mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3PhaseControl, Eac3PhaseControl
      • phaseControl

        Eac3Settings.Builder phaseControl​(Eac3PhaseControl phaseControl)
        When set to shift90Degrees, applies a 90-degree phase shift to the surround channels. Only used for 3/2 coding mode.
        Parameters:
        phaseControl - When set to shift90Degrees, applies a 90-degree phase shift to the surround channels. Only used for 3/2 coding mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3PhaseControl, Eac3PhaseControl
      • stereoDownmix

        Eac3Settings.Builder stereoDownmix​(String stereoDownmix)
        Stereo downmix preference. Only used for 3/2 coding mode.
        Parameters:
        stereoDownmix - Stereo downmix preference. Only used for 3/2 coding mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3StereoDownmix, Eac3StereoDownmix
      • stereoDownmix

        Eac3Settings.Builder stereoDownmix​(Eac3StereoDownmix stereoDownmix)
        Stereo downmix preference. Only used for 3/2 coding mode.
        Parameters:
        stereoDownmix - Stereo downmix preference. Only used for 3/2 coding mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3StereoDownmix, Eac3StereoDownmix
      • surroundExMode

        Eac3Settings.Builder surroundExMode​(String surroundExMode)
        When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels.
        Parameters:
        surroundExMode - When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3SurroundExMode, Eac3SurroundExMode
      • surroundExMode

        Eac3Settings.Builder surroundExMode​(Eac3SurroundExMode surroundExMode)
        When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels.
        Parameters:
        surroundExMode - When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3SurroundExMode, Eac3SurroundExMode
      • surroundMode

        Eac3Settings.Builder surroundMode​(String surroundMode)
        When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into the two channels.
        Parameters:
        surroundMode - When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into the two channels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3SurroundMode, Eac3SurroundMode
      • surroundMode

        Eac3Settings.Builder surroundMode​(Eac3SurroundMode surroundMode)
        When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into the two channels.
        Parameters:
        surroundMode - When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into the two channels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Eac3SurroundMode, Eac3SurroundMode