You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MediaConvert::Types::VorbisSettings
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaConvert::Types::VorbisSettings
- Defined in:
- (unknown)
Overview
When passing VorbisSettings as input to an Aws::Client method, you can use a vanilla Hash:
{
channels: 1,
sample_rate: 1,
vbr_quality: 1,
}
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.
Returned by:
Instance Attribute Summary collapse
-
#channels ⇒ Integer
Optional.
-
#sample_rate ⇒ Integer
Optional.
-
#vbr_quality ⇒ Integer
Optional.
Instance Attribute Details
#channels ⇒ Integer
Optional. 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. The default value is 2.
#sample_rate ⇒ Integer
Optional. Specify the audio sample rate in Hz. Valid values are 22050, 32000, 44100, and 48000. The default value is 48000.
#vbr_quality ⇒ Integer
Optional. Specify the variable audio quality of this Vorbis output from -1 (lowest quality, ~45 kbit/s) to 10 (highest quality, ~500 kbit/s). The default value is 4 (~128 kbit/s). Values 5 and 6 are approximately 160 and 192 kbit/s, respectively.