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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AacSettings as input to an Aws::Client method, you can use a vanilla 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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bitrateFloat

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

Returns:

  • (Float)

    Average bitrate in bits/second.

#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.

Possible values:

  • AD_RECEIVER_MIX
  • CODING_MODE_1_0
  • CODING_MODE_1_1
  • CODING_MODE_2_0
  • CODING_MODE_5_1

Returns:

  • (String)

    Mono, Stereo, or 5.1 channel layout.

#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.

Possible values:

  • BROADCASTER_MIXED_AD
  • NORMAL

Returns:

  • (String)

    Set to \"broadcasterMixedAd\" when input contains pre-mixed main audio + AD (narration) as a stereo pair.

#profileString

AAC Profile.

Possible values:

  • HEV1
  • HEV2
  • LC

Returns:

  • (String)

    AAC Profile.

#rate_control_modeString

Rate Control Mode.

Possible values:

  • CBR
  • VBR

Returns:

  • (String)

    Rate Control Mode.

#raw_formatString

Sets LATM / LOAS AAC output for raw containers.

Possible values:

  • LATM_LOAS
  • NONE

Returns:

  • (String)

    Sets LATM / LOAS AAC output for raw containers.

#sample_rateFloat

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

Returns:

  • (Float)

    Sample rate in Hz.

#specString

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

Possible values:

  • MPEG2
  • MPEG4

Returns:

  • (String)

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

#vbr_qualityString

VBR Quality Level - Only used if rateControlMode is VBR.

Possible values:

  • HIGH
  • LOW
  • MEDIUM_HIGH
  • MEDIUM_LOW

Returns:

  • (String)

    VBR Quality Level - Only used if rateControlMode is VBR.