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

Class: Aws::MediaConvert::Types::Mp2Settings

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb

Overview

Note:

When making an API call, you may pass Mp2Settings data as a hash:

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#bitrateInteger

Average bitrate in bits/second.

Returns:

  • (Integer)


8735
8736
8737
8738
8739
8740
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 8735

class Mp2Settings < Struct.new(
  :bitrate,
  :channels,
  :sample_rate)
  include Aws::Structure
end

#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)


8735
8736
8737
8738
8739
8740
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 8735

class Mp2Settings < Struct.new(
  :bitrate,
  :channels,
  :sample_rate)
  include Aws::Structure
end

#sample_rateInteger

Sample rate in hz.

Returns:

  • (Integer)


8735
8736
8737
8738
8739
8740
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 8735

class Mp2Settings < Struct.new(
  :bitrate,
  :channels,
  :sample_rate)
  include Aws::Structure
end