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

Class: Aws::MediaLive::Types::AudioCodecSettings

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

{
  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: {
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#aac_settingsTypes::AacSettings

Returns:



474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 474

class AudioCodecSettings < Struct.new(
  :aac_settings,
  :ac_3_settings,
  :eac_3_settings,
  :mp_2_settings,
  :pass_through_settings)
  include Aws::Structure
end

#ac_3_settingsTypes::Ac3Settings

Returns:



474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 474

class AudioCodecSettings < Struct.new(
  :aac_settings,
  :ac_3_settings,
  :eac_3_settings,
  :mp_2_settings,
  :pass_through_settings)
  include Aws::Structure
end

#eac_3_settingsTypes::Eac3Settings

Returns:



474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 474

class AudioCodecSettings < Struct.new(
  :aac_settings,
  :ac_3_settings,
  :eac_3_settings,
  :mp_2_settings,
  :pass_through_settings)
  include Aws::Structure
end

#mp_2_settingsTypes::Mp2Settings

Returns:



474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 474

class AudioCodecSettings < Struct.new(
  :aac_settings,
  :ac_3_settings,
  :eac_3_settings,
  :mp_2_settings,
  :pass_through_settings)
  include Aws::Structure
end

#pass_through_settingsTypes::PassThroughSettings

Returns:

  • (Types::PassThroughSettings)


474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 474

class AudioCodecSettings < Struct.new(
  :aac_settings,
  :ac_3_settings,
  :eac_3_settings,
  :mp_2_settings,
  :pass_through_settings)
  include Aws::Structure
end