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
- Struct
- Aws::MediaConvert::Types::Mp3Settings
- Defined in:
- (unknown)
Overview
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
-
#bitrate ⇒ Integer
Specify the average bitrate in bits per second.
-
#channels ⇒ Integer
Specify the number of channels in this output audio track.
-
#rate_control_mode ⇒ String
Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
-
#sample_rate ⇒ Integer
Sample rate in hz.
-
#vbr_quality ⇒ Integer
Required when you set Bitrate control mode (rateControlMode) to VBR.
Instance Attribute Details
#bitrate ⇒ Integer
Specify the average bitrate in bits per second.
#channels ⇒ Integer
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.
#rate_control_mode ⇒ String
Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
Possible values:
- CBR
- VBR
#sample_rate ⇒ Integer
Sample rate in hz.
#vbr_quality ⇒ Integer
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).