You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MediaLive::Types::InputSettings
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaLive::Types::InputSettings
- Defined in:
- (unknown)
Overview
When passing InputSettings as input to an Aws::Client method, you can use a vanilla Hash:
{
audio_selectors: [
{
name: "__stringMin1", # required
selector_settings: {
audio_language_selection: {
language_code: "__string", # required
language_selection_policy: "LOOSE", # accepts LOOSE, STRICT
},
audio_pid_selection: {
pid: 1, # required
},
audio_track_selection: {
tracks: [ # required
{
track: 1, # required
},
],
},
},
},
],
caption_selectors: [
{
language_code: "__string",
name: "__stringMin1", # required
selector_settings: {
ancillary_source_settings: {
source_ancillary_channel_number: 1,
},
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
},
smpte_2038_data_preference: "IGNORE", # accepts IGNORE, PREFER
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.
Returned by:
Instance Attribute Summary collapse
-
#audio_selectors ⇒ Array<Types::AudioSelector>
Used to select the audio stream to decode for inputs that have multiple available.
-
#caption_selectors ⇒ Array<Types::CaptionSelector>
Used to select the caption input to use for inputs that have multiple available.
-
#deblock_filter ⇒ String
Enable or disable the deblock filter when filtering.
-
#denoise_filter ⇒ String
Enable or disable the denoise filter when filtering.
-
#filter_strength ⇒ Integer
Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest).
-
#input_filter ⇒ String
Turns on the filter for this input.
-
#network_input_settings ⇒ Types::NetworkInputSettings
Input settings.
-
#smpte_2038_data_preference ⇒ String
Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input.
-
#source_end_behavior ⇒ String
Loop input if it is a file.
-
#video_selector ⇒ Types::VideoSelector
Informs which video elementary stream to decode for input types that have multiple available.
Instance Attribute Details
#audio_selectors ⇒ Array<Types::AudioSelector>
Used to select the audio stream to decode for inputs that have multiple available.
#caption_selectors ⇒ Array<Types::CaptionSelector>
Used to select the caption input to use for inputs that have multiple available.
#deblock_filter ⇒ String
Enable or disable the deblock filter when filtering.
Possible values:
- DISABLED
- ENABLED
#denoise_filter ⇒ String
Enable or disable the denoise filter when filtering.
Possible values:
- DISABLED
- ENABLED
#filter_strength ⇒ Integer
Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest).
#input_filter ⇒ String
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
Possible values:
- AUTO
- DISABLED
- FORCED
#network_input_settings ⇒ Types::NetworkInputSettings
Input settings.
#smpte_2038_data_preference ⇒ String
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.
Possible values:
- IGNORE
- PREFER
#source_end_behavior ⇒ String
Loop input if it is a file. This allows a file input to be streamed indefinitely.
Possible values:
- CONTINUE
- LOOP
#video_selector ⇒ Types::VideoSelector
Informs which video elementary stream to decode for input types that have multiple available.