Class: Aws::MediaConvert::Types::AudioSelector

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

{
  custom_language_code: "__stringMin3Max3PatternAZaZ3",
  default_selection: "DEFAULT", # accepts DEFAULT, NOT_DEFAULT
  external_audio_file_input: "__stringPatternS3MM2PPWWEEBBMMMM2VVMMPPEEGGMMPP3AAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMKKAAMMOOVVMMTTSSMM2TTWWMMVVaAAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8LLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMAAAACCAAIIFFFFMMPP2AACC3EECC3DDTTSSEEAATTMMOOSSHttpsMM2VVMMPPEEGGMMPP3AAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMKKAAMMOOVVMMTTSSMM2TTWWMMVVaAAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8LLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMAAAACCAAIIFFFFMMPP2AACC3EECC3DDTTSSEEAATTMMOOSS",
  hls_rendition_group_settings: {
    rendition_group_id: "__string",
    rendition_language_code: "ENG", # accepts ENG, SPA, FRA, DEU, GER, ZHO, ARA, HIN, JPN, RUS, POR, ITA, URD, VIE, KOR, PAN, ABK, AAR, AFR, AKA, SQI, AMH, ARG, HYE, ASM, AVA, AVE, AYM, AZE, BAM, BAK, EUS, BEL, BEN, BIH, BIS, BOS, BRE, BUL, MYA, CAT, KHM, CHA, CHE, NYA, CHU, CHV, COR, COS, CRE, HRV, CES, DAN, DIV, NLD, DZO, ENM, EPO, EST, EWE, FAO, FIJ, FIN, FRM, FUL, GLA, GLG, LUG, KAT, ELL, GRN, GUJ, HAT, HAU, HEB, HER, HMO, HUN, ISL, IDO, IBO, IND, INA, ILE, IKU, IPK, GLE, JAV, KAL, KAN, KAU, KAS, KAZ, KIK, KIN, KIR, KOM, KON, KUA, KUR, LAO, LAT, LAV, LIM, LIN, LIT, LUB, LTZ, MKD, MLG, MSA, MAL, MLT, GLV, MRI, MAR, MAH, MON, NAU, NAV, NDE, NBL, NDO, NEP, SME, NOR, NOB, NNO, OCI, OJI, ORI, ORM, OSS, PLI, FAS, POL, PUS, QUE, QAA, RON, ROH, RUN, SMO, SAG, SAN, SRD, SRB, SNA, III, SND, SIN, SLK, SLV, SOM, SOT, SUN, SWA, SSW, SWE, TGL, TAH, TGK, TAM, TAT, TEL, THA, BOD, TIR, TON, TSO, TSN, TUR, TUK, TWI, UIG, UKR, UZB, VEN, VOL, WLN, CYM, FRY, WOL, XHO, YID, YOR, ZHA, ZUL, ORJ, QPC, TNG
    rendition_name: "__string",
  },
  language_code: "ENG", # accepts ENG, SPA, FRA, DEU, GER, ZHO, ARA, HIN, JPN, RUS, POR, ITA, URD, VIE, KOR, PAN, ABK, AAR, AFR, AKA, SQI, AMH, ARG, HYE, ASM, AVA, AVE, AYM, AZE, BAM, BAK, EUS, BEL, BEN, BIH, BIS, BOS, BRE, BUL, MYA, CAT, KHM, CHA, CHE, NYA, CHU, CHV, COR, COS, CRE, HRV, CES, DAN, DIV, NLD, DZO, ENM, EPO, EST, EWE, FAO, FIJ, FIN, FRM, FUL, GLA, GLG, LUG, KAT, ELL, GRN, GUJ, HAT, HAU, HEB, HER, HMO, HUN, ISL, IDO, IBO, IND, INA, ILE, IKU, IPK, GLE, JAV, KAL, KAN, KAU, KAS, KAZ, KIK, KIN, KIR, KOM, KON, KUA, KUR, LAO, LAT, LAV, LIM, LIN, LIT, LUB, LTZ, MKD, MLG, MSA, MAL, MLT, GLV, MRI, MAR, MAH, MON, NAU, NAV, NDE, NBL, NDO, NEP, SME, NOR, NOB, NNO, OCI, OJI, ORI, ORM, OSS, PLI, FAS, POL, PUS, QUE, QAA, RON, ROH, RUN, SMO, SAG, SAN, SRD, SRB, SNA, III, SND, SIN, SLK, SLV, SOM, SOT, SUN, SWA, SSW, SWE, TGL, TAH, TGK, TAM, TAT, TEL, THA, BOD, TIR, TON, TSO, TSN, TUR, TUK, TWI, UIG, UKR, UZB, VEN, VOL, WLN, CYM, FRY, WOL, XHO, YID, YOR, ZHA, ZUL, ORJ, QPC, TNG
  offset: 1,
  pids: [1],
  program_selection: 1,
  remix_settings: {
    channel_mapping: {
      output_channels: [
        {
          input_channels: [1],
          input_channels_fine_tune: [1.0],
        },
      ],
    },
    channels_in: 1,
    channels_out: 1,
  },
  selector_type: "PID", # accepts PID, TRACK, LANGUAGE_CODE, HLS_RENDITION_GROUP
  tracks: [1],
}

Use Audio selectors (AudioSelectors) 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

Instance Attribute Details

#custom_language_codeString

Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3 three-letter language code

Returns:

  • (String)


1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1030

class AudioSelector < Struct.new(
  :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_selectionString

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.

Returns:

  • (String)


1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1030

class AudioSelector < Struct.new(
  :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_inputString

Specifies audio data from an external file source.

Returns:

  • (String)


1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1030

class AudioSelector < Struct.new(
  :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_settingsTypes::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.



1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1030

class AudioSelector < Struct.new(
  :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_codeString

Selects a specific language code from within an audio source.

Returns:

  • (String)


1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1030

class AudioSelector < Struct.new(
  :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

#offsetInteger

Specifies a time delta in milliseconds to offset the audio from the input video.

Returns:

  • (Integer)


1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1030

class AudioSelector < Struct.new(
  :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

#pidsArray<Integer>

Selects a specific PID from within an audio source (e.g. 257 selects PID 0x101).

Returns:

  • (Array<Integer>)


1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1030

class AudioSelector < Struct.new(
  :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_selectionInteger

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 you are sending a JSON file, provide the program ID, which is part of the audio metadata. 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.

Returns:

  • (Integer)


1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1030

class AudioSelector < Struct.new(
  :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_settingsTypes::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.



1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1030

class AudioSelector < Struct.new(
  :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_typeString

Specifies the type of the audio selector.

Returns:

  • (String)


1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1030

class AudioSelector < Struct.new(
  :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

#tracksArray<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 examle, type "1,2,3" to include tracks 1 through 3. Specifying directly in your JSON job file, provide the track numbers in an array. For example, "tracks": [1,2,3].

Returns:

  • (Array<Integer>)


1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1030

class AudioSelector < Struct.new(
  :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