You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MediaLive::Types::InputSettings

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb

Overview

Note:

When making an API call, you may pass InputSettings data as a hash:

{
  audio_selectors: [
    {
      name: "__string",
      selector_settings: {
        audio_language_selection: {
          language_code: "__string",
          language_selection_policy: "LOOSE", # accepts LOOSE, STRICT
        },
        audio_pid_selection: {
          pid: 1,
        },
      },
    },
  ],
  caption_selectors: [
    {
      language_code: "__string",
      name: "__string",
      selector_settings: {
        arib_source_settings: {
        },
        dvb_sub_source_settings: {
          pid: 1,
        },
        embedded_source_settings: {
          convert_608_to_708: "DISABLED", # accepts DISABLED, UPCONVERT
          scte_20_detection: "AUTO", # accepts AUTO, OFF
          source_608_channel_number: 1,
          source_608_track_number: 1,
        },
        scte_20_source_settings: {
          convert_608_to_708: "DISABLED", # accepts DISABLED, UPCONVERT
          source_608_channel_number: 1,
        },
        scte_27_source_settings: {
          pid: 1,
        },
        teletext_source_settings: {
          page_number: "__string",
        },
      },
    },
  ],
  deblock_filter: "DISABLED", # accepts DISABLED, ENABLED
  denoise_filter: "DISABLED", # accepts DISABLED, ENABLED
  filter_strength: 1,
  input_filter: "AUTO", # accepts AUTO, DISABLED, FORCED
  network_input_settings: {
    hls_input_settings: {
      bandwidth: 1,
      buffer_segments: 1,
      retries: 1,
      retry_interval: 1,
    },
    server_validation: "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME", # accepts CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME, CHECK_CRYPTOGRAPHY_ONLY
  },
  source_end_behavior: "CONTINUE", # accepts CONTINUE, LOOP
  video_selector: {
    color_space: "FOLLOW", # accepts FOLLOW, REC_601, REC_709
    color_space_usage: "FALLBACK", # accepts FALLBACK, FORCE
    selector_settings: {
      video_selector_pid: {
        pid: 1,
      },
      video_selector_program_id: {
        program_id: 1,
      },
    },
  },
}

Live Event input parameters. There can be multiple inputs in a single Live Event.

Instance Attribute Summary collapse

Instance Attribute Details

#audio_selectorsArray<Types::AudioSelector>

Used to select the audio stream to decode for inputs that have multiple available.

Returns:



5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5611

class InputSettings < Struct.new(
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :filter_strength,
  :input_filter,
  :network_input_settings,
  :source_end_behavior,
  :video_selector)
  include Aws::Structure
end

#caption_selectorsArray<Types::CaptionSelector>

Used to select the caption input to use for inputs that have multiple available.

Returns:



5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5611

class InputSettings < Struct.new(
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :filter_strength,
  :input_filter,
  :network_input_settings,
  :source_end_behavior,
  :video_selector)
  include Aws::Structure
end

#deblock_filterString

Enable or disable the deblock filter when filtering.

Returns:

  • (String)


5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5611

class InputSettings < Struct.new(
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :filter_strength,
  :input_filter,
  :network_input_settings,
  :source_end_behavior,
  :video_selector)
  include Aws::Structure
end

#denoise_filterString

Enable or disable the denoise filter when filtering.

Returns:

  • (String)


5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5611

class InputSettings < Struct.new(
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :filter_strength,
  :input_filter,
  :network_input_settings,
  :source_end_behavior,
  :video_selector)
  include Aws::Structure
end

#filter_strengthInteger

Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest).

Returns:

  • (Integer)


5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5611

class InputSettings < Struct.new(
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :filter_strength,
  :input_filter,
  :network_input_settings,
  :source_end_behavior,
  :video_selector)
  include Aws::Structure
end

#input_filterString

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:

  • (String)


5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5611

class InputSettings < Struct.new(
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :filter_strength,
  :input_filter,
  :network_input_settings,
  :source_end_behavior,
  :video_selector)
  include Aws::Structure
end

#network_input_settingsTypes::NetworkInputSettings

Input settings.



5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5611

class InputSettings < Struct.new(
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :filter_strength,
  :input_filter,
  :network_input_settings,
  :source_end_behavior,
  :video_selector)
  include Aws::Structure
end

#source_end_behaviorString

Loop input if it is a file. This allows a file input to be streamed indefinitely.

Returns:

  • (String)


5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5611

class InputSettings < Struct.new(
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :filter_strength,
  :input_filter,
  :network_input_settings,
  :source_end_behavior,
  :video_selector)
  include Aws::Structure
end

#video_selectorTypes::VideoSelector

Informs which video elementary stream to decode for input types that have multiple available.



5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5611

class InputSettings < Struct.new(
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :filter_strength,
  :input_filter,
  :network_input_settings,
  :source_end_behavior,
  :video_selector)
  include Aws::Structure
end