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::Mp2Settings

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

Overview

Note:

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

{
  bitrate: 1,
  channels: 1,
  sample_rate: 1,
}

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

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

Set Channels to specify the number of channels in this output audio track. Choosing Mono in the console will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.

Returns:

  • (Integer)

    Set Channels to specify the number of channels in this output audio track.

#sample_rateInteger

Sample rate in hz.

Returns:

  • (Integer)

    Sample rate in hz.