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

Class: Aws::MediaConvert::Types::AacSettings

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

Overview

Note:

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

{
  audio_description_broadcaster_mix: "BROADCASTER_MIXED_AD", # accepts BROADCASTER_MIXED_AD, NORMAL
  bitrate: 1,
  codec_profile: "LC", # accepts LC, HEV1, HEV2
  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
  rate_control_mode: "CBR", # accepts CBR, VBR
  raw_format: "LATM_LOAS", # accepts LATM_LOAS, NONE
  sample_rate: 1,
  specification: "MPEG2", # accepts MPEG2, MPEG4
  vbr_quality: "LOW", # accepts LOW, MEDIUM_LOW, MEDIUM_HIGH, HIGH
}

Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AAC.

Instance Attribute Summary collapse

Instance Attribute Details

#audio_description_broadcaster_mixString

Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for 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. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.

Returns:

  • (String)


87
88
89
90
91
92
93
94
95
96
97
98
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 87

class AacSettings < Struct.new(
  :audio_description_broadcaster_mix,
  :bitrate,
  :codec_profile,
  :coding_mode,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :specification,
  :vbr_quality)
  include Aws::Structure
end

#bitrateInteger

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

Returns:

  • (Integer)


87
88
89
90
91
92
93
94
95
96
97
98
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 87

class AacSettings < Struct.new(
  :audio_description_broadcaster_mix,
  :bitrate,
  :codec_profile,
  :coding_mode,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :specification,
  :vbr_quality)
  include Aws::Structure
end

#codec_profileString

AAC Profile.

Returns:

  • (String)


87
88
89
90
91
92
93
94
95
96
97
98
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 87

class AacSettings < Struct.new(
  :audio_description_broadcaster_mix,
  :bitrate,
  :codec_profile,
  :coding_mode,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :specification,
  :vbr_quality)
  include Aws::Structure
end

#coding_modeString

Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. "1.0 - Audio Description (Receiver Mix)" 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)


87
88
89
90
91
92
93
94
95
96
97
98
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 87

class AacSettings < Struct.new(
  :audio_description_broadcaster_mix,
  :bitrate,
  :codec_profile,
  :coding_mode,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :specification,
  :vbr_quality)
  include Aws::Structure
end

#rate_control_modeString

Rate Control Mode.

Returns:

  • (String)


87
88
89
90
91
92
93
94
95
96
97
98
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 87

class AacSettings < Struct.new(
  :audio_description_broadcaster_mix,
  :bitrate,
  :codec_profile,
  :coding_mode,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :specification,
  :vbr_quality)
  include Aws::Structure
end

#raw_formatString

Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, you must choose "No container" for the output container.

Returns:

  • (String)


87
88
89
90
91
92
93
94
95
96
97
98
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 87

class AacSettings < Struct.new(
  :audio_description_broadcaster_mix,
  :bitrate,
  :codec_profile,
  :coding_mode,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :specification,
  :vbr_quality)
  include Aws::Structure
end

#sample_rateInteger

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

Returns:

  • (Integer)


87
88
89
90
91
92
93
94
95
96
97
98
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 87

class AacSettings < Struct.new(
  :audio_description_broadcaster_mix,
  :bitrate,
  :codec_profile,
  :coding_mode,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :specification,
  :vbr_quality)
  include Aws::Structure
end

#specificationString

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

Returns:

  • (String)


87
88
89
90
91
92
93
94
95
96
97
98
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 87

class AacSettings < Struct.new(
  :audio_description_broadcaster_mix,
  :bitrate,
  :codec_profile,
  :coding_mode,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :specification,
  :vbr_quality)
  include Aws::Structure
end

#vbr_qualityString

VBR Quality Level - Only used if rate_control_mode is VBR.

Returns:

  • (String)


87
88
89
90
91
92
93
94
95
96
97
98
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 87

class AacSettings < Struct.new(
  :audio_description_broadcaster_mix,
  :bitrate,
  :codec_profile,
  :coding_mode,
  :rate_control_mode,
  :raw_format,
  :sample_rate,
  :specification,
  :vbr_quality)
  include Aws::Structure
end