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

Class: Aws::MediaConvert::Types::Mp3Settings

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

Overview

Note:

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

{
  bitrate: 1,
  channels: 1,
  rate_control_mode: "CBR", # accepts CBR, VBR
  sample_rate: 1,
  vbr_quality: 1,
}

Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bitrateInteger

Specify the average bitrate in bits per second.

Returns:

  • (Integer)

    Specify the average bitrate in bits per second.

#channelsInteger

Specify the number of channels in this output audio track. Choosing Mono on the console gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.

Returns:

  • (Integer)

    Specify the number of channels in this output audio track.

#rate_control_modeString

Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).

Possible values:

  • CBR
  • VBR

Returns:

  • (String)

    Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).

#sample_rateInteger

Sample rate in hz.

Returns:

  • (Integer)

    Sample rate in hz.

#vbr_qualityInteger

Required when you set Bitrate control mode (rateControlMode) to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).

Returns:

  • (Integer)

    Required when you set Bitrate control mode (rateControlMode) to VBR.