Class: Aws::MediaConvert::Types::WavSettings

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 WavSettings data as a hash:

{
  bit_depth: 1,
  channels: 1,
  format: "RIFF", # accepts RIFF, RF64
  sample_rate: 1,
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bit_depthInteger

Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality for this audio track.

Returns:

  • (Integer)


21311
21312
21313
21314
21315
21316
21317
21318
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 21311

class WavSettings < Struct.new(
  :bit_depth,
  :channels,
  :format,
  :sample_rate)
  SENSITIVE = []
  include Aws::Structure
end

#channelsInteger

Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.

Returns:

  • (Integer)


21311
21312
21313
21314
21315
21316
21317
21318
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 21311

class WavSettings < Struct.new(
  :bit_depth,
  :channels,
  :format,
  :sample_rate)
  SENSITIVE = []
  include Aws::Structure
end

#formatString

The service defaults to using RIFF for WAV outputs. If your output audio is likely to exceed 4 GB in file size, or if you otherwise need the extended support of the RF64 format, set your output WAV file format to RF64.

Returns:

  • (String)


21311
21312
21313
21314
21315
21316
21317
21318
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 21311

class WavSettings < Struct.new(
  :bit_depth,
  :channels,
  :format,
  :sample_rate)
  SENSITIVE = []
  include Aws::Structure
end

#sample_rateInteger

Sample rate in Hz.

Returns:

  • (Integer)


21311
21312
21313
21314
21315
21316
21317
21318
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 21311

class WavSettings < Struct.new(
  :bit_depth,
  :channels,
  :format,
  :sample_rate)
  SENSITIVE = []
  include Aws::Structure
end