Class: Aws::MediaLive::Types::AacSettings

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

Overview

Note:

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

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

Aac Settings

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bitrateFloat

Average bitrate in bits/second. Valid values depend on rate control mode and profile.

Returns:

  • (Float)


83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/aws-sdk-medialive/types.rb', line 83

class AacSettings < Struct.new(
  :bitrate,
  :coding_mode,
  :input_type,
  :profile,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :spec,
  :vbr_quality)
  SENSITIVE = []
  include Aws::Structure
end

#coding_modeString

Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. The adReceiverMix setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E.

Returns:

  • (String)


83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/aws-sdk-medialive/types.rb', line 83

class AacSettings < Struct.new(
  :bitrate,
  :coding_mode,
  :input_type,
  :profile,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :spec,
  :vbr_quality)
  SENSITIVE = []
  include Aws::Structure
end

#input_typeString

Set to “broadcasterMixedAd” when input contains pre-mixed main audio + AD (narration) as a stereo pair. The Audio Type field (audioType) will be set to 3, which signals to downstream systems that this stream contains “broadcaster mixed AD”. Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. The values in audioTypeControl and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd. Leave set to “normal” when input does not contain pre-mixed audio + AD.

Returns:

  • (String)


83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/aws-sdk-medialive/types.rb', line 83

class AacSettings < Struct.new(
  :bitrate,
  :coding_mode,
  :input_type,
  :profile,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :spec,
  :vbr_quality)
  SENSITIVE = []
  include Aws::Structure
end

#profileString

AAC Profile.

Returns:

  • (String)


83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/aws-sdk-medialive/types.rb', line 83

class AacSettings < Struct.new(
  :bitrate,
  :coding_mode,
  :input_type,
  :profile,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :spec,
  :vbr_quality)
  SENSITIVE = []
  include Aws::Structure
end

#rate_control_modeString

Rate Control Mode.

Returns:

  • (String)


83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/aws-sdk-medialive/types.rb', line 83

class AacSettings < Struct.new(
  :bitrate,
  :coding_mode,
  :input_type,
  :profile,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :spec,
  :vbr_quality)
  SENSITIVE = []
  include Aws::Structure
end

#raw_formatString

Sets LATM / LOAS AAC output for raw containers.

Returns:

  • (String)


83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/aws-sdk-medialive/types.rb', line 83

class AacSettings < Struct.new(
  :bitrate,
  :coding_mode,
  :input_type,
  :profile,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :spec,
  :vbr_quality)
  SENSITIVE = []
  include Aws::Structure
end

#sample_rateFloat

Sample rate in Hz. Valid values depend on rate control mode and profile.

Returns:

  • (Float)


83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/aws-sdk-medialive/types.rb', line 83

class AacSettings < Struct.new(
  :bitrate,
  :coding_mode,
  :input_type,
  :profile,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :spec,
  :vbr_quality)
  SENSITIVE = []
  include Aws::Structure
end

#specString

Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.

Returns:

  • (String)


83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/aws-sdk-medialive/types.rb', line 83

class AacSettings < Struct.new(
  :bitrate,
  :coding_mode,
  :input_type,
  :profile,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :spec,
  :vbr_quality)
  SENSITIVE = []
  include Aws::Structure
end

#vbr_qualityString

VBR Quality Level - Only used if rateControlMode is VBR.

Returns:

  • (String)


83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/aws-sdk-medialive/types.rb', line 83

class AacSettings < Struct.new(
  :bitrate,
  :coding_mode,
  :input_type,
  :profile,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :spec,
  :vbr_quality)
  SENSITIVE = []
  include Aws::Structure
end