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

Class: Aws::MediaLive::Types::AudioDescription

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 AudioDescription data as a hash:

{
  audio_normalization_settings: {
    algorithm: "ITU_1770_1", # accepts ITU_1770_1, ITU_1770_2
    algorithm_control: "CORRECT_AUDIO", # accepts CORRECT_AUDIO
    target_lkfs: 1.0,
  },
  audio_selector_name: "__string",
  audio_type: "CLEAN_EFFECTS", # accepts CLEAN_EFFECTS, HEARING_IMPAIRED, UNDEFINED, VISUAL_IMPAIRED_COMMENTARY
  audio_type_control: "FOLLOW_INPUT", # accepts FOLLOW_INPUT, USE_CONFIGURED
  codec_settings: {
    aac_settings: {
      bitrate: 1.0,
      coding_mode: "AD_RECEIVER_MIX", # accepts AD_RECEIVER_MIX, CODING_MODE_1_0, CODING_MODE_1_1, CODING_MODE_2_0, CODING_MODE_5_1
      input_type: "BROADCASTER_MIXED_AD", # accepts BROADCASTER_MIXED_AD, NORMAL
      profile: "HEV1", # accepts HEV1, HEV2, LC
      rate_control_mode: "CBR", # accepts CBR, VBR
      raw_format: "LATM_LOAS", # accepts LATM_LOAS, NONE
      sample_rate: 1.0,
      spec: "MPEG2", # accepts MPEG2, MPEG4
      vbr_quality: "HIGH", # accepts HIGH, LOW, MEDIUM_HIGH, MEDIUM_LOW
    },
    ac_3_settings: {
      bitrate: 1.0,
      bitstream_mode: "COMMENTARY", # accepts COMMENTARY, COMPLETE_MAIN, DIALOGUE, EMERGENCY, HEARING_IMPAIRED, MUSIC_AND_EFFECTS, VISUALLY_IMPAIRED, VOICE_OVER
      coding_mode: "CODING_MODE_1_0", # accepts CODING_MODE_1_0, CODING_MODE_1_1, CODING_MODE_2_0, CODING_MODE_3_2_LFE
      dialnorm: 1,
      drc_profile: "FILM_STANDARD", # accepts FILM_STANDARD, NONE
      lfe_filter: "DISABLED", # accepts DISABLED, ENABLED
      metadata_control: "FOLLOW_INPUT", # accepts FOLLOW_INPUT, USE_CONFIGURED
    },
    eac_3_settings: {
      attenuation_control: "ATTENUATE_3_DB", # accepts ATTENUATE_3_DB, NONE
      bitrate: 1.0,
      bitstream_mode: "COMMENTARY", # accepts COMMENTARY, COMPLETE_MAIN, EMERGENCY, HEARING_IMPAIRED, VISUALLY_IMPAIRED
      coding_mode: "CODING_MODE_1_0", # accepts CODING_MODE_1_0, CODING_MODE_2_0, CODING_MODE_3_2
      dc_filter: "DISABLED", # accepts DISABLED, ENABLED
      dialnorm: 1,
      drc_line: "FILM_LIGHT", # accepts FILM_LIGHT, FILM_STANDARD, MUSIC_LIGHT, MUSIC_STANDARD, NONE, SPEECH
      drc_rf: "FILM_LIGHT", # accepts FILM_LIGHT, FILM_STANDARD, MUSIC_LIGHT, MUSIC_STANDARD, NONE, SPEECH
      lfe_control: "LFE", # accepts LFE, NO_LFE
      lfe_filter: "DISABLED", # accepts DISABLED, ENABLED
      lo_ro_center_mix_level: 1.0,
      lo_ro_surround_mix_level: 1.0,
      lt_rt_center_mix_level: 1.0,
      lt_rt_surround_mix_level: 1.0,
      metadata_control: "FOLLOW_INPUT", # accepts FOLLOW_INPUT, USE_CONFIGURED
      passthrough_control: "NO_PASSTHROUGH", # accepts NO_PASSTHROUGH, WHEN_POSSIBLE
      phase_control: "NO_SHIFT", # accepts NO_SHIFT, SHIFT_90_DEGREES
      stereo_downmix: "DPL2", # accepts DPL2, LO_RO, LT_RT, NOT_INDICATED
      surround_ex_mode: "DISABLED", # accepts DISABLED, ENABLED, NOT_INDICATED
      surround_mode: "DISABLED", # accepts DISABLED, ENABLED, NOT_INDICATED
    },
    mp_2_settings: {
      bitrate: 1.0,
      coding_mode: "CODING_MODE_1_0", # accepts CODING_MODE_1_0, CODING_MODE_2_0
      sample_rate: 1.0,
    },
    pass_through_settings: {
    },
  },
  language_code: "__string",
  language_code_control: "FOLLOW_INPUT", # accepts FOLLOW_INPUT, USE_CONFIGURED
  name: "__string",
  remix_settings: {
    channel_mappings: [
      {
        input_channel_levels: [
          {
            gain: 1,
            input_channel: 1,
          },
        ],
        output_channel: 1,
      },
    ],
    channels_in: 1,
    channels_out: 1,
  },
  stream_name: "__string",
}

Instance Attribute Summary collapse

Instance Attribute Details

#audio_normalization_settingsTypes::AudioNormalizationSettings

Advanced audio normalization settings.



626
627
628
629
630
631
632
633
634
635
636
637
638
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 626

class AudioDescription < Struct.new(
  :audio_normalization_settings,
  :audio_selector_name,
  :audio_type,
  :audio_type_control,
  :codec_settings,
  :language_code,
  :language_code_control,
  :name,
  :remix_settings,
  :stream_name)
  include Aws::Structure
end

#audio_selector_nameString

The name of the AudioSelector used as the source for this AudioDescription.

Returns:

  • (String)


626
627
628
629
630
631
632
633
634
635
636
637
638
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 626

class AudioDescription < Struct.new(
  :audio_normalization_settings,
  :audio_selector_name,
  :audio_type,
  :audio_type_control,
  :codec_settings,
  :language_code,
  :language_code_control,
  :name,
  :remix_settings,
  :stream_name)
  include Aws::Structure
end

#audio_typeString

Applies only if audioTypeControl is useConfigured. The values for audioType are defined in ISO-IEC 13818-1.

Returns:

  • (String)


626
627
628
629
630
631
632
633
634
635
636
637
638
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 626

class AudioDescription < Struct.new(
  :audio_normalization_settings,
  :audio_selector_name,
  :audio_type,
  :audio_type_control,
  :codec_settings,
  :language_code,
  :language_code_control,
  :name,
  :remix_settings,
  :stream_name)
  include Aws::Structure
end

#audio_type_controlString

Determines how audio type is determined. followInput: If the input contains an ISO 639 audioType, then that value is passed through to the output. If the input contains no ISO 639 audioType, the value in Audio Type is included in the output. useConfigured: The value in Audio Type is included in the output. Note that this field and audioType are both ignored if inputType is broadcasterMixedAd.

Returns:

  • (String)


626
627
628
629
630
631
632
633
634
635
636
637
638
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 626

class AudioDescription < Struct.new(
  :audio_normalization_settings,
  :audio_selector_name,
  :audio_type,
  :audio_type_control,
  :codec_settings,
  :language_code,
  :language_code_control,
  :name,
  :remix_settings,
  :stream_name)
  include Aws::Structure
end

#codec_settingsTypes::AudioCodecSettings

Audio codec settings.



626
627
628
629
630
631
632
633
634
635
636
637
638
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 626

class AudioDescription < Struct.new(
  :audio_normalization_settings,
  :audio_selector_name,
  :audio_type,
  :audio_type_control,
  :codec_settings,
  :language_code,
  :language_code_control,
  :name,
  :remix_settings,
  :stream_name)
  include Aws::Structure
end

#language_codeString

Indicates the language of the audio output track. Only used if languageControlMode is useConfigured, or there is no ISO 639 language code specified in the input.

Returns:

  • (String)


626
627
628
629
630
631
632
633
634
635
636
637
638
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 626

class AudioDescription < Struct.new(
  :audio_normalization_settings,
  :audio_selector_name,
  :audio_type,
  :audio_type_control,
  :codec_settings,
  :language_code,
  :language_code_control,
  :name,
  :remix_settings,
  :stream_name)
  include Aws::Structure
end

#language_code_controlString

Choosing followInput will cause the ISO 639 language code of the output to follow the ISO 639 language code of the input. The languageCode will be used when useConfigured is set, or when followInput is selected but there is no ISO 639 language code specified by the input.

Returns:

  • (String)


626
627
628
629
630
631
632
633
634
635
636
637
638
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 626

class AudioDescription < Struct.new(
  :audio_normalization_settings,
  :audio_selector_name,
  :audio_type,
  :audio_type_control,
  :codec_settings,
  :language_code,
  :language_code_control,
  :name,
  :remix_settings,
  :stream_name)
  include Aws::Structure
end

#nameString

The name of this AudioDescription. Outputs will use this name to uniquely identify this AudioDescription. Description names should be unique within this Live Event.

Returns:

  • (String)


626
627
628
629
630
631
632
633
634
635
636
637
638
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 626

class AudioDescription < Struct.new(
  :audio_normalization_settings,
  :audio_selector_name,
  :audio_type,
  :audio_type_control,
  :codec_settings,
  :language_code,
  :language_code_control,
  :name,
  :remix_settings,
  :stream_name)
  include Aws::Structure
end

#remix_settingsTypes::RemixSettings

Settings that control how input audio channels are remixed into the output audio channels.



626
627
628
629
630
631
632
633
634
635
636
637
638
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 626

class AudioDescription < Struct.new(
  :audio_normalization_settings,
  :audio_selector_name,
  :audio_type,
  :audio_type_control,
  :codec_settings,
  :language_code,
  :language_code_control,
  :name,
  :remix_settings,
  :stream_name)
  include Aws::Structure
end

#stream_nameString

Used for MS Smooth and Apple HLS outputs. Indicates the name displayed by the player (eg. English, or Director Commentary).

Returns:

  • (String)


626
627
628
629
630
631
632
633
634
635
636
637
638
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 626

class AudioDescription < Struct.new(
  :audio_normalization_settings,
  :audio_selector_name,
  :audio_type,
  :audio_type_control,
  :codec_settings,
  :language_code,
  :language_code_control,
  :name,
  :remix_settings,
  :stream_name)
  include Aws::Structure
end