Class: Aws::MediaConvert::Types::DynamicAudioSelector

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

Overview

Use Dynamic audio selectors when you do not know the track layout of your source when you submit your job, but want to select multiple audio tracks. When you include an audio track in your output and specify this Dynamic audio selector as the Audio source, MediaConvert creates an output audio track for each dynamically selected track. Note that when you include a Dynamic audio selector for two or more inputs, each input must have the same number of audio tracks and audio channels.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#audio_duration_correctionString

Apply audio timing corrections to help synchronize audio and video in your output. To apply timing corrections, your input must meet the following requirements: * Container: MP4, or MOV, with an accurate time-to-sample (STTS) table. * Audio track: AAC. Choose from the following audio timing correction settings: * Disabled (Default): Apply no correction. * Auto: Recommended for most inputs. MediaConvert analyzes the audio timing in your input and determines which correction setting to use, if needed. * Track: Adjust the duration of each audio frame by a constant amount to align the audio track length with STTS duration. Track-level correction does not affect pitch, and is recommended for tonal audio content such as music. * Frame: Adjust the duration of each audio frame by a variable amount to align audio frames with STTS timestamps. No corrections are made to already-aligned frames. Frame-level correction may affect the pitch of corrected frames, and is recommended for atonal audio content such as speech or percussion. * Force: Apply audio duration correction, either Track or Frame depending on your input, regardless of the accuracy of your input’s STTS table. Your output audio and video may not be aligned or it may contain audio artifacts.

Returns:

  • (String)


4408
4409
4410
4411
4412
4413
4414
4415
4416
# File 'lib/aws-sdk-mediaconvert/types.rb', line 4408

class DynamicAudioSelector < Struct.new(
  :audio_duration_correction,
  :external_audio_file_input,
  :language_code,
  :offset,
  :selector_type)
  SENSITIVE = []
  include Aws::Structure
end

#external_audio_file_inputString

Specify the S3, HTTP, or HTTPS URL for your external audio file input.

Returns:

  • (String)


4408
4409
4410
4411
4412
4413
4414
4415
4416
# File 'lib/aws-sdk-mediaconvert/types.rb', line 4408

class DynamicAudioSelector < Struct.new(
  :audio_duration_correction,
  :external_audio_file_input,
  :language_code,
  :offset,
  :selector_type)
  SENSITIVE = []
  include Aws::Structure
end

#language_codeString

Specify the language to select from your audio input. In the MediaConvert console choose from a list of languages. In your JSON job settings choose from an ISO 639-2 three-letter code listed at www.loc.gov/standards/iso639-2/php/code_list.php

Returns:

  • (String)


4408
4409
4410
4411
4412
4413
4414
4415
4416
# File 'lib/aws-sdk-mediaconvert/types.rb', line 4408

class DynamicAudioSelector < Struct.new(
  :audio_duration_correction,
  :external_audio_file_input,
  :language_code,
  :offset,
  :selector_type)
  SENSITIVE = []
  include Aws::Structure
end

#offsetInteger

Specify a time delta, in milliseconds, to offset the audio from the input video. To specify no offset: Keep the default value, 0. To specify an offset: Enter an integer from -2147483648 to 2147483647

Returns:

  • (Integer)


4408
4409
4410
4411
4412
4413
4414
4415
4416
# File 'lib/aws-sdk-mediaconvert/types.rb', line 4408

class DynamicAudioSelector < Struct.new(
  :audio_duration_correction,
  :external_audio_file_input,
  :language_code,
  :offset,
  :selector_type)
  SENSITIVE = []
  include Aws::Structure
end

#selector_typeString

Specify which audio tracks to dynamically select from your source. To select all audio tracks: Keep the default value, All tracks. To select all audio tracks with a specific language code: Choose Language code. When you do, you must also specify a language code under the Language code setting. If there is no matching Language code in your source, then no track will be selected.

Returns:

  • (String)


4408
4409
4410
4411
4412
4413
4414
4415
4416
# File 'lib/aws-sdk-mediaconvert/types.rb', line 4408

class DynamicAudioSelector < Struct.new(
  :audio_duration_correction,
  :external_audio_file_input,
  :language_code,
  :offset,
  :selector_type)
  SENSITIVE = []
  include Aws::Structure
end