Class: Aws::MediaConvert::Types::Mp3Settings

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 Mp3Settings data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bitrateInteger

Specify the average bitrate in bits per second.

Returns:

  • (Integer)


13473
13474
13475
13476
13477
13478
13479
13480
13481
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 13473

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

#channelsInteger

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.

Returns:

  • (Integer)


13473
13474
13475
13476
13477
13478
13479
13480
13481
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 13473

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

#rate_control_modeString

Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).

Returns:

  • (String)


13473
13474
13475
13476
13477
13478
13479
13480
13481
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 13473

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

#sample_rateInteger

Sample rate in hz.

Returns:

  • (Integer)


13473
13474
13475
13476
13477
13478
13479
13480
13481
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 13473

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

#vbr_qualityInteger

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

Returns:

  • (Integer)


13473
13474
13475
13476
13477
13478
13479
13480
13481
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 13473

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