« blib/lib/Paws/MediaConvert/AudioNormalizationSettings.pm
↑ Summary
blib/lib/Paws/MediaConvert/AudioSelectorGroup.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaConvert::AudioSelector; | ||
| 3 | use Moose; | ||
| 4 | has CustomLanguageCode => (is => 'ro', isa => 'Str', request_name => 'customLanguageCode', traits => ['NameInRequest']); | ||
| 5 | has DefaultSelection => (is => 'ro', isa => 'Str', request_name => 'defaultSelection', traits => ['NameInRequest']); | ||
| 6 | has ExternalAudioFileInput => (is => 'ro', isa => 'Str', request_name => 'externalAudioFileInput', traits => ['NameInRequest']); | ||
| 7 | has HlsRenditionGroupSettings => (is => 'ro', isa => 'Paws::MediaConvert::HlsRenditionGroupSettings', request_name => 'hlsRenditionGroupSettings', traits => ['NameInRequest']); | ||
| 8 | has LanguageCode => (is => 'ro', isa => 'Str', request_name => 'languageCode', traits => ['NameInRequest']); | ||
| 9 | has Offset => (is => 'ro', isa => 'Int', request_name => 'offset', traits => ['NameInRequest']); | ||
| 10 | has Pids => (is => 'ro', isa => 'ArrayRef[Int]', request_name => 'pids', traits => ['NameInRequest']); | ||
| 11 | has ProgramSelection => (is => 'ro', isa => 'Int', request_name => 'programSelection', traits => ['NameInRequest']); | ||
| 12 | has RemixSettings => (is => 'ro', isa => 'Paws::MediaConvert::RemixSettings', request_name => 'remixSettings', traits => ['NameInRequest']); | ||
| 13 | has SelectorType => (is => 'ro', isa => 'Str', request_name => 'selectorType', traits => ['NameInRequest']); | ||
| 14 | has Tracks => (is => 'ro', isa => 'ArrayRef[Int]', request_name => 'tracks', traits => ['NameInRequest']); | ||
| 15 | |||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::MediaConvert::AudioSelector | ||
| 23 | |||
| 24 | =head1 USAGE | ||
| 25 | |||
| 26 | This class represents one of two things: | ||
| 27 | |||
| 28 | =head3 Arguments in a call to a service | ||
| 29 | |||
| 30 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 31 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 32 | |||
| 33 | As an example, if Att1 is expected to be a Paws::MediaConvert::AudioSelector object: | ||
| 34 | |||
| 35 | $service_obj->Method(Att1 => { CustomLanguageCode => $value, ..., Tracks => $value }); | ||
| 36 | |||
| 37 | =head3 Results returned from an API call | ||
| 38 | |||
| 39 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::AudioSelector object: | ||
| 40 | |||
| 41 | $result = $service_obj->Method(...); | ||
| 42 | $result->Att1->CustomLanguageCode | ||
| 43 | |||
| 44 | =head1 DESCRIPTION | ||
| 45 | |||
| 46 | Use Audio selectors (AudioSelectors) to specify a track or set of | ||
| 47 | tracks from the input that you will use in your outputs. You can use | ||
| 48 | multiple Audio selectors per input. | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 CustomLanguageCode => Str | ||
| 54 | |||
| 55 | Selects a specific language code from within an audio source, using the | ||
| 56 | ISO 639-2 or ISO 639-3 three-letter language code | ||
| 57 | |||
| 58 | |||
| 59 | =head2 DefaultSelection => Str | ||
| 60 | |||
| 61 | Enable this setting on one audio selector to set it as the default for | ||
| 62 | the job. The service uses this default for outputs where it can't find | ||
| 63 | the specified input audio. If you don't set a default, those outputs | ||
| 64 | have no audio. | ||
| 65 | |||
| 66 | |||
| 67 | =head2 ExternalAudioFileInput => Str | ||
| 68 | |||
| 69 | Specifies audio data from an external file source. | ||
| 70 | |||
| 71 | |||
| 72 | =head2 HlsRenditionGroupSettings => L<Paws::MediaConvert::HlsRenditionGroupSettings> | ||
| 73 | |||
| 74 | Settings specific to audio sources in an HLS alternate rendition group. | ||
| 75 | Specify the properties (renditionGroupId, renditionName or | ||
| 76 | renditionLanguageCode) to identify the unique audio track among the | ||
| 77 | alternative rendition groups present in the HLS manifest. If no unique | ||
| 78 | track is found, or multiple tracks match the properties provided, the | ||
| 79 | job fails. If no properties in hlsRenditionGroupSettings are specified, | ||
| 80 | the default audio track within the video segment is chosen. If there is | ||
| 81 | no audio within video segment, the alternative audio with DEFAULT=YES | ||
| 82 | is chosen instead. | ||
| 83 | |||
| 84 | |||
| 85 | =head2 LanguageCode => Str | ||
| 86 | |||
| 87 | Selects a specific language code from within an audio source. | ||
| 88 | |||
| 89 | |||
| 90 | =head2 Offset => Int | ||
| 91 | |||
| 92 | Specifies a time delta in milliseconds to offset the audio from the | ||
| 93 | input video. | ||
| 94 | |||
| 95 | |||
| 96 | =head2 Pids => ArrayRef[Int] | ||
| 97 | |||
| 98 | Selects a specific PID from within an audio source (e.g. 257 selects | ||
| 99 | PID 0x101). | ||
| 100 | |||
| 101 | |||
| 102 | =head2 ProgramSelection => Int | ||
| 103 | |||
| 104 | Use this setting for input streams that contain Dolby E, to have the | ||
| 105 | service extract specific program data from the track. To select | ||
| 106 | multiple programs, create multiple selectors with the same Track and | ||
| 107 | different Program numbers. In the console, this setting is visible when | ||
| 108 | you set Selector type to Track. Choose the program number from the | ||
| 109 | dropdown list. If you are sending a JSON file, provide the program ID, | ||
| 110 | which is part of the audio metadata. If your input file has incorrect | ||
| 111 | metadata, you can choose All channels instead of a program number to | ||
| 112 | have the service ignore the program IDs and include all the programs in | ||
| 113 | the track. | ||
| 114 | |||
| 115 | |||
| 116 | =head2 RemixSettings => L<Paws::MediaConvert::RemixSettings> | ||
| 117 | |||
| 118 | Use these settings to reorder the audio channels of one input to match | ||
| 119 | those of another input. This allows you to combine the two files into a | ||
| 120 | single output, one after the other. | ||
| 121 | |||
| 122 | |||
| 123 | =head2 SelectorType => Str | ||
| 124 | |||
| 125 | Specifies the type of the audio selector. | ||
| 126 | |||
| 127 | |||
| 128 | =head2 Tracks => ArrayRef[Int] | ||
| 129 | |||
| 130 | Identify a track from the input audio to include in this selector by | ||
| 131 | entering the track index number. To include several tracks in a single | ||
| 132 | audio selector, specify multiple tracks as follows. Using the console, | ||
| 133 | enter a comma-separated list. For examle, type "1,2,3" to include | ||
| 134 | tracks 1 through 3. Specifying directly in your JSON job file, provide | ||
| 135 | the track numbers in an array. For example, "tracks": [1,2,3]. | ||
| 136 | |||
| 137 | |||
| 138 | |||
| 139 | =head1 SEE ALSO | ||
| 140 | |||
| 141 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert> | ||
| 142 | |||
| 143 | =head1 BUGS and CONTRIBUTIONS | ||
| 144 | |||
| 145 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 146 | |||
| 147 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 148 | |||
| 149 | =cut | ||
| 150 |