Class: Aws::MediaConvert::Types::AudioSelector
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaConvert::Types::AudioSelector
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-mediaconvert/types.rb
Overview
Use Audio selectors to specify a track or set of tracks from the input that you will use in your outputs. You can use multiple Audio selectors per input.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#audio_duration_correction ⇒ String
Apply audio timing corrections to help synchronize audio and video in your output.
-
#custom_language_code ⇒ String
Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3 three-letter language code.
-
#default_selection ⇒ String
Enable this setting on one audio selector to set it as the default for the job.
-
#external_audio_file_input ⇒ String
Specifies audio data from an external file source.
-
#hls_rendition_group_settings ⇒ Types::HlsRenditionGroupSettings
Settings specific to audio sources in an HLS alternate rendition group.
-
#language_code ⇒ String
Selects a specific language code from within an audio source.
-
#offset ⇒ Integer
Specifies a time delta in milliseconds to offset the audio from the input video.
-
#pids ⇒ Array<Integer>
Selects a specific PID from within an audio source (e.g. 257 selects PID 0x101).
-
#program_selection ⇒ Integer
Use this setting for input streams that contain Dolby E, to have the service extract specific program data from the track.
-
#remix_settings ⇒ Types::RemixSettings
Use these settings to reorder the audio channels of one input to match those of another input.
-
#selector_type ⇒ String
Specifies the type of the audio selector.
-
#tracks ⇒ Array<Integer>
Identify a track from the input audio to include in this selector by entering the track index number.
Instance Attribute Details
#audio_duration_correction ⇒ String
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.
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 784 class AudioSelector < Struct.new( :audio_duration_correction, :custom_language_code, :default_selection, :external_audio_file_input, :hls_rendition_group_settings, :language_code, :offset, :pids, :program_selection, :remix_settings, :selector_type, :tracks) SENSITIVE = [] include Aws::Structure end |
#custom_language_code ⇒ String
Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3 three-letter language code
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 784 class AudioSelector < Struct.new( :audio_duration_correction, :custom_language_code, :default_selection, :external_audio_file_input, :hls_rendition_group_settings, :language_code, :offset, :pids, :program_selection, :remix_settings, :selector_type, :tracks) SENSITIVE = [] include Aws::Structure end |
#default_selection ⇒ String
Enable this setting on one audio selector to set it as the default for the job. The service uses this default for outputs where it can’t find the specified input audio. If you don’t set a default, those outputs have no audio.
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 784 class AudioSelector < Struct.new( :audio_duration_correction, :custom_language_code, :default_selection, :external_audio_file_input, :hls_rendition_group_settings, :language_code, :offset, :pids, :program_selection, :remix_settings, :selector_type, :tracks) SENSITIVE = [] include Aws::Structure end |
#external_audio_file_input ⇒ String
Specifies audio data from an external file source.
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 784 class AudioSelector < Struct.new( :audio_duration_correction, :custom_language_code, :default_selection, :external_audio_file_input, :hls_rendition_group_settings, :language_code, :offset, :pids, :program_selection, :remix_settings, :selector_type, :tracks) SENSITIVE = [] include Aws::Structure end |
#hls_rendition_group_settings ⇒ Types::HlsRenditionGroupSettings
Settings specific to audio sources in an HLS alternate rendition group. Specify the properties (renditionGroupId, renditionName or renditionLanguageCode) to identify the unique audio track among the alternative rendition groups present in the HLS manifest. If no unique track is found, or multiple tracks match the properties provided, the job fails. If no properties in hlsRenditionGroupSettings are specified, the default audio track within the video segment is chosen. If there is no audio within video segment, the alternative audio with DEFAULT=YES is chosen instead.
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 784 class AudioSelector < Struct.new( :audio_duration_correction, :custom_language_code, :default_selection, :external_audio_file_input, :hls_rendition_group_settings, :language_code, :offset, :pids, :program_selection, :remix_settings, :selector_type, :tracks) SENSITIVE = [] include Aws::Structure end |
#language_code ⇒ String
Selects a specific language code from within an audio source.
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 784 class AudioSelector < Struct.new( :audio_duration_correction, :custom_language_code, :default_selection, :external_audio_file_input, :hls_rendition_group_settings, :language_code, :offset, :pids, :program_selection, :remix_settings, :selector_type, :tracks) SENSITIVE = [] include Aws::Structure end |
#offset ⇒ Integer
Specifies a time delta in milliseconds to offset the audio from the input video.
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 784 class AudioSelector < Struct.new( :audio_duration_correction, :custom_language_code, :default_selection, :external_audio_file_input, :hls_rendition_group_settings, :language_code, :offset, :pids, :program_selection, :remix_settings, :selector_type, :tracks) SENSITIVE = [] include Aws::Structure end |
#pids ⇒ Array<Integer>
Selects a specific PID from within an audio source (e.g. 257 selects PID 0x101).
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 784 class AudioSelector < Struct.new( :audio_duration_correction, :custom_language_code, :default_selection, :external_audio_file_input, :hls_rendition_group_settings, :language_code, :offset, :pids, :program_selection, :remix_settings, :selector_type, :tracks) SENSITIVE = [] include Aws::Structure end |
#program_selection ⇒ Integer
Use this setting for input streams that contain Dolby E, to have the service extract specific program data from the track. To select multiple programs, create multiple selectors with the same Track and different Program numbers. In the console, this setting is visible when you set Selector type to Track. Choose the program number from the dropdown list. If your input file has incorrect metadata, you can choose All channels instead of a program number to have the service ignore the program IDs and include all the programs in the track.
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 784 class AudioSelector < Struct.new( :audio_duration_correction, :custom_language_code, :default_selection, :external_audio_file_input, :hls_rendition_group_settings, :language_code, :offset, :pids, :program_selection, :remix_settings, :selector_type, :tracks) SENSITIVE = [] include Aws::Structure end |
#remix_settings ⇒ Types::RemixSettings
Use these settings to reorder the audio channels of one input to match those of another input. This allows you to combine the two files into a single output, one after the other.
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 784 class AudioSelector < Struct.new( :audio_duration_correction, :custom_language_code, :default_selection, :external_audio_file_input, :hls_rendition_group_settings, :language_code, :offset, :pids, :program_selection, :remix_settings, :selector_type, :tracks) SENSITIVE = [] include Aws::Structure end |
#selector_type ⇒ String
Specifies the type of the audio selector.
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 784 class AudioSelector < Struct.new( :audio_duration_correction, :custom_language_code, :default_selection, :external_audio_file_input, :hls_rendition_group_settings, :language_code, :offset, :pids, :program_selection, :remix_settings, :selector_type, :tracks) SENSITIVE = [] include Aws::Structure end |
#tracks ⇒ Array<Integer>
Identify a track from the input audio to include in this selector by entering the track index number. To include several tracks in a single audio selector, specify multiple tracks as follows. Using the console, enter a comma-separated list. For example, type “1,2,3” to include tracks 1 through 3.
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 784 class AudioSelector < Struct.new( :audio_duration_correction, :custom_language_code, :default_selection, :external_audio_file_input, :hls_rendition_group_settings, :language_code, :offset, :pids, :program_selection, :remix_settings, :selector_type, :tracks) SENSITIVE = [] include Aws::Structure end |