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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bitrateInteger

Specify the average bitrate in bits per second.

Returns:

  • (Integer)


13424
13425
13426
13427
13428
13429
13430
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 13424

class Mp2Settings < Struct.new(
  :bitrate,
  :channels,
  :sample_rate)
  SENSITIVE = []
  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)


13424
13425
13426
13427
13428
13429
13430
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 13424

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

#sample_rateInteger

Sample rate in hz.

Returns:

  • (Integer)


13424
13425
13426
13427
13428
13429
13430
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 13424

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