Interface InputSettings.Builder

    • Method Detail

      • audioSelectors

        InputSettings.Builder audioSelectors​(Collection<AudioSelector> audioSelectors)
        Used to select the audio stream to decode for inputs that have multiple available.
        Parameters:
        audioSelectors - Used to select the audio stream to decode for inputs that have multiple available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • audioSelectors

        InputSettings.Builder audioSelectors​(AudioSelector... audioSelectors)
        Used to select the audio stream to decode for inputs that have multiple available.
        Parameters:
        audioSelectors - Used to select the audio stream to decode for inputs that have multiple available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • captionSelectors

        InputSettings.Builder captionSelectors​(Collection<CaptionSelector> captionSelectors)
        Used to select the caption input to use for inputs that have multiple available.
        Parameters:
        captionSelectors - Used to select the caption input to use for inputs that have multiple available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • captionSelectors

        InputSettings.Builder captionSelectors​(CaptionSelector... captionSelectors)
        Used to select the caption input to use for inputs that have multiple available.
        Parameters:
        captionSelectors - Used to select the caption input to use for inputs that have multiple available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deblockFilter

        InputSettings.Builder deblockFilter​(String deblockFilter)
        Enable or disable the deblock filter when filtering.
        Parameters:
        deblockFilter - Enable or disable the deblock filter when filtering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InputDeblockFilter, InputDeblockFilter
      • denoiseFilter

        InputSettings.Builder denoiseFilter​(String denoiseFilter)
        Enable or disable the denoise filter when filtering.
        Parameters:
        denoiseFilter - Enable or disable the denoise filter when filtering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InputDenoiseFilter, InputDenoiseFilter
      • filterStrength

        InputSettings.Builder filterStrength​(Integer filterStrength)
        Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest).
        Parameters:
        filterStrength - Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputFilter

        InputSettings.Builder inputFilter​(String inputFilter)
        Turns on the filter for this input. MPEG-2 inputs have the deblocking filter enabled by default. 1) auto - filtering will be applied depending on input type/quality 2) disabled - no filtering will be applied to the input 3) forced - filtering will be applied regardless of input type
        Parameters:
        inputFilter - Turns on the filter for this input. MPEG-2 inputs have the deblocking filter enabled by default. 1) auto - filtering will be applied depending on input type/quality 2) disabled - no filtering will be applied to the input 3) forced - filtering will be applied regardless of input type
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InputFilter, InputFilter
      • inputFilter

        InputSettings.Builder inputFilter​(InputFilter inputFilter)
        Turns on the filter for this input. MPEG-2 inputs have the deblocking filter enabled by default. 1) auto - filtering will be applied depending on input type/quality 2) disabled - no filtering will be applied to the input 3) forced - filtering will be applied regardless of input type
        Parameters:
        inputFilter - Turns on the filter for this input. MPEG-2 inputs have the deblocking filter enabled by default. 1) auto - filtering will be applied depending on input type/quality 2) disabled - no filtering will be applied to the input 3) forced - filtering will be applied regardless of input type
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InputFilter, InputFilter
      • networkInputSettings

        InputSettings.Builder networkInputSettings​(NetworkInputSettings networkInputSettings)
        Input settings.
        Parameters:
        networkInputSettings - Input settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scte35Pid

        InputSettings.Builder scte35Pid​(Integer scte35Pid)
        PID from which to read SCTE-35 messages. If left undefined, EML will select the first SCTE-35 PID found in the input.
        Parameters:
        scte35Pid - PID from which to read SCTE-35 messages. If left undefined, EML will select the first SCTE-35 PID found in the input.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • smpte2038DataPreference

        InputSettings.Builder smpte2038DataPreference​(String smpte2038DataPreference)
        Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input. Applicable data types are captions, timecode, AFD, and SCTE-104 messages. - PREFER: Extract from SMPTE-2038 if present in this input, otherwise extract from another source (if any). - IGNORE: Never extract any ancillary data from SMPTE-2038.
        Parameters:
        smpte2038DataPreference - Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input. Applicable data types are captions, timecode, AFD, and SCTE-104 messages. - PREFER: Extract from SMPTE-2038 if present in this input, otherwise extract from another source (if any). - IGNORE: Never extract any ancillary data from SMPTE-2038.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Smpte2038DataPreference, Smpte2038DataPreference
      • smpte2038DataPreference

        InputSettings.Builder smpte2038DataPreference​(Smpte2038DataPreference smpte2038DataPreference)
        Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input. Applicable data types are captions, timecode, AFD, and SCTE-104 messages. - PREFER: Extract from SMPTE-2038 if present in this input, otherwise extract from another source (if any). - IGNORE: Never extract any ancillary data from SMPTE-2038.
        Parameters:
        smpte2038DataPreference - Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input. Applicable data types are captions, timecode, AFD, and SCTE-104 messages. - PREFER: Extract from SMPTE-2038 if present in this input, otherwise extract from another source (if any). - IGNORE: Never extract any ancillary data from SMPTE-2038.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Smpte2038DataPreference, Smpte2038DataPreference
      • sourceEndBehavior

        InputSettings.Builder sourceEndBehavior​(String sourceEndBehavior)
        Loop input if it is a file. This allows a file input to be streamed indefinitely.
        Parameters:
        sourceEndBehavior - Loop input if it is a file. This allows a file input to be streamed indefinitely.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InputSourceEndBehavior, InputSourceEndBehavior
      • sourceEndBehavior

        InputSettings.Builder sourceEndBehavior​(InputSourceEndBehavior sourceEndBehavior)
        Loop input if it is a file. This allows a file input to be streamed indefinitely.
        Parameters:
        sourceEndBehavior - Loop input if it is a file. This allows a file input to be streamed indefinitely.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InputSourceEndBehavior, InputSourceEndBehavior
      • videoSelector

        InputSettings.Builder videoSelector​(VideoSelector videoSelector)
        Informs which video elementary stream to decode for input types that have multiple available.
        Parameters:
        videoSelector - Informs which video elementary stream to decode for input types that have multiple available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.