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::MediaConvert::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,
  bitstream_mode: "COMPLETE_MAIN", # accepts COMPLETE_MAIN, COMMENTARY, 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,
  dynamic_range_compression_profile: "FILM_STANDARD", # accepts FILM_STANDARD, NONE
  lfe_filter: "ENABLED", # accepts ENABLED, DISABLED
  metadata_control: "FOLLOW_INPUT", # accepts FOLLOW_INPUT, USE_CONFIGURED
  sample_rate: 1,
}

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bitrateInteger

Specify the average bitrate in bits per second. Valid bitrates depend on the coding mode.

Returns:

  • (Integer)

    Specify the average bitrate in bits per second.

#bitstream_modeString

Specify the bitstream mode for the AC-3 stream that the encoder emits. For more information about the AC3 bitstream mode, see ATSC A/52-2012 (Annex E).

Possible values:

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

Returns:

  • (String)

    Specify the bitstream mode for the AC-3 stream that the encoder emits.

#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 blank and input audio is Dolby Digital, dialnorm will be passed through.

Returns:

  • (Integer)

    Sets the dialnorm for the output.

#dynamic_range_compression_profileString

If set to FILM_STANDARD, 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 FILM_STANDARD, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification.

#lfe_filterString

Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode.

Possible values:

  • ENABLED
  • DISABLED

Returns:

  • (String)

    Applies a 120Hz lowpass filter to the LFE channel prior to encoding.

#metadata_controlString

When set to FOLLOW_INPUT, 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 FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data.

#sample_rateInteger

This value is always 48000. It represents the sample rate in Hz.

Returns:

  • (Integer)

    This value is always 48000.