AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::MediaLive::Types::Ac3Settings

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

Overview

Note:

When passing Ac3Settings as input to an Aws::Client method, you can use a vanilla Hash:

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

Ac3 Settings

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bitrateFloat

Average bitrate in bits/second. Valid bitrates depend on the coding mode.

Returns:

  • (Float)

    Average bitrate in bits/second.

#bitstream_modeString

Specifies the bitstream mode (bsmod) for the emitted AC-3 stream. See ATSC A/52-2012 for background on these values.

Possible values:

  • COMMENTARY
  • COMPLETE_MAIN
  • DIALOGUE
  • EMERGENCY
  • HEARING_IMPAIRED
  • MUSIC_AND_EFFECTS
  • VISUALLY_IMPAIRED
  • VOICE_OVER

Returns:

  • (String)

    Specifies the bitstream mode (bsmod) for the emitted AC-3 stream.

#coding_modeString

Dolby Digital coding mode. Determines number of channels.

Possible values:

  • CODING_MODE_1_0
  • CODING_MODE_1_1
  • CODING_MODE_2_0
  • CODING_MODE_3_2_LFE

Returns:

  • (String)

    Dolby Digital coding mode.

#dialnormInteger

Sets the dialnorm for the output. If excluded and input audio is Dolby Digital, dialnorm will be passed through.

Returns:

  • (Integer)

    Sets the dialnorm for the output.

#drc_profileString

If set to filmStandard, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification.

Possible values:

  • FILM_STANDARD
  • NONE

Returns:

  • (String)

    If set to filmStandard, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification.

#lfe_filterString

When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid in codingMode32Lfe mode.

Possible values:

  • DISABLED
  • ENABLED

Returns:

  • (String)

    When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding.

#metadata_controlString

When set to \"followInput\", encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.

Possible values:

  • FOLLOW_INPUT
  • USE_CONFIGURED

Returns:

  • (String)

    When set to \"followInput\", encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data.