blib/lib/Paws/MediaConvert/Input.pm untested

filter: Statementstmt 0.0% 0 / 43 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 44 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaConvert::Input;
3 use Moose;
4 has AudioSelectorGroups => (is => 'ro', isa => 'Paws::MediaConvert::__mapOfAudioSelectorGroup', request_name => 'audioSelectorGroups', traits => ['NameInRequest']);
5 has AudioSelectors => (is => 'ro', isa => 'Paws::MediaConvert::__mapOfAudioSelector', request_name => 'audioSelectors', traits => ['NameInRequest']);
6 has CaptionSelectors => (is => 'ro', isa => 'Paws::MediaConvert::__mapOfCaptionSelector', request_name => 'captionSelectors', traits => ['NameInRequest']);
7 has Crop => (is => 'ro', isa => 'Paws::MediaConvert::Rectangle', request_name => 'crop', traits => ['NameInRequest']);
8 has DeblockFilter => (is => 'ro', isa => 'Str', request_name => 'deblockFilter', traits => ['NameInRequest']);
9 has DecryptionSettings => (is => 'ro', isa => 'Paws::MediaConvert::InputDecryptionSettings', request_name => 'decryptionSettings', traits => ['NameInRequest']);
10 has DenoiseFilter => (is => 'ro', isa => 'Str', request_name => 'denoiseFilter', traits => ['NameInRequest']);
11 has FileInput => (is => 'ro', isa => 'Str', request_name => 'fileInput', traits => ['NameInRequest']);
12 has FilterEnable => (is => 'ro', isa => 'Str', request_name => 'filterEnable', traits => ['NameInRequest']);
13 has FilterStrength => (is => 'ro', isa => 'Int', request_name => 'filterStrength', traits => ['NameInRequest']);
14 has ImageInserter => (is => 'ro', isa => 'Paws::MediaConvert::ImageInserter', request_name => 'imageInserter', traits => ['NameInRequest']);
15 has InputClippings => (is => 'ro', isa => 'ArrayRef[Paws::MediaConvert::InputClipping]', request_name => 'inputClippings', traits => ['NameInRequest']);
16 has InputScanType => (is => 'ro', isa => 'Str', request_name => 'inputScanType', traits => ['NameInRequest']);
17 has Position => (is => 'ro', isa => 'Paws::MediaConvert::Rectangle', request_name => 'position', traits => ['NameInRequest']);
18 has ProgramNumber => (is => 'ro', isa => 'Int', request_name => 'programNumber', traits => ['NameInRequest']);
19 has PsiControl => (is => 'ro', isa => 'Str', request_name => 'psiControl', traits => ['NameInRequest']);
20 has SupplementalImps => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'supplementalImps', traits => ['NameInRequest']);
21 has TimecodeSource => (is => 'ro', isa => 'Str', request_name => 'timecodeSource', traits => ['NameInRequest']);
22 has TimecodeStart => (is => 'ro', isa => 'Str', request_name => 'timecodeStart', traits => ['NameInRequest']);
23 has VideoSelector => (is => 'ro', isa => 'Paws::MediaConvert::VideoSelector', request_name => 'videoSelector', traits => ['NameInRequest']);
24  
25 1;
26  
27 ### main pod documentation begin ###
28  
29 =head1 NAME
30  
31 Paws::MediaConvert::Input
32  
33 =head1 USAGE
34  
35 This class represents one of two things:
36  
37 =head3 Arguments in a call to a service
38  
39 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
40 Each attribute should be used as a named argument in the calls that expect this type of object.
41  
42 As an example, if Att1 is expected to be a Paws::MediaConvert::Input object:
43  
44 $service_obj->Method(Att1 => { AudioSelectorGroups => $value, ..., VideoSelector => $value });
45  
46 =head3 Results returned from an API call
47  
48 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::Input object:
49  
50 $result = $service_obj->Method(...);
51 $result->Att1->AudioSelectorGroups
52  
53 =head1 DESCRIPTION
54  
55 Use inputs to define the source files used in your transcoding job. For
56 more information, see
57 https://docs.aws.amazon.com/mediaconvert/latest/ug/specify-input-settings.html.
58 You can use multiple video inputs to do input stitching. For more
59 information, see
60 https://docs.aws.amazon.com/mediaconvert/latest/ug/assembling-multiple-inputs-and-input-clips.html
61  
62 =head1 ATTRIBUTES
63  
64  
65 =head2 AudioSelectorGroups => L<Paws::MediaConvert::__mapOfAudioSelectorGroup>
66  
67 Use audio selector groups to combine multiple sidecar audio inputs so
68 that you can assign them to a single output audio tab
69 (AudioDescription). Note that, if you're working with embedded audio,
70 it's simpler to assign multiple input tracks into a single audio
71 selector rather than use an audio selector group.
72  
73  
74 =head2 AudioSelectors => L<Paws::MediaConvert::__mapOfAudioSelector>
75  
76 Use Audio selectors (AudioSelectors) to specify a track or set of
77 tracks from the input that you will use in your outputs. You can use
78 multiple Audio selectors per input.
79  
80  
81 =head2 CaptionSelectors => L<Paws::MediaConvert::__mapOfCaptionSelector>
82  
83 Use captions selectors to specify the captions data from your input
84 that you use in your outputs. You can use up to 20 captions selectors
85 per input.
86  
87  
88 =head2 Crop => L<Paws::MediaConvert::Rectangle>
89  
90 Use Cropping selection (crop) to specify the video area that the
91 service will include in the output video frame. If you specify a value
92 here, it will override any value that you specify in the output setting
93 Cropping selection (crop).
94  
95  
96 =head2 DeblockFilter => Str
97  
98 Enable Deblock (InputDeblockFilter) to produce smoother motion in the
99 output. Default is disabled. Only manually controllable for MPEG2 and
100 uncompressed video inputs.
101  
102  
103 =head2 DecryptionSettings => L<Paws::MediaConvert::InputDecryptionSettings>
104  
105 Settings for decrypting any input files that you encrypt before you
106 upload them to Amazon S3. MediaConvert can decrypt files only when you
107 use AWS Key Management Service (KMS) to encrypt the data key that you
108 use to encrypt your content.
109  
110  
111 =head2 DenoiseFilter => Str
112  
113 Enable Denoise (InputDenoiseFilter) to filter noise from the input.
114 Default is disabled. Only applicable to MPEG2, H.264, H.265, and
115 uncompressed video inputs.
116  
117  
118 =head2 FileInput => Str
119  
120 Specify the source file for your transcoding job. You can use multiple
121 inputs in a single job. The service concatenates these inputs, in the
122 order that you specify them in the job, to create the outputs. If your
123 input format is IMF, specify your input by providing the path to your
124 CPL. For example, "s3://bucket/vf/cpl.xml". If the CPL is in an
125 incomplete IMP, make sure to use *Supplemental IMPs* (SupplementalImps)
126 to specify any supplemental IMPs that contain assets referenced by the
127 CPL.
128  
129  
130 =head2 FilterEnable => Str
131  
132 Specify how the transcoding service applies the denoise and deblock
133 filters. You must also enable the filters separately, with Denoise
134 (InputDenoiseFilter) and Deblock (InputDeblockFilter). * Auto - The
135 transcoding service determines whether to apply filtering, depending on
136 input type and quality. * Disable - The input is not filtered. This is
137 true even if you use the API to enable them in (InputDeblockFilter) and
138 (InputDeblockFilter). * Force - The input is filtered regardless of
139 input type.
140  
141  
142 =head2 FilterStrength => Int
143  
144 Use Filter strength (FilterStrength) to adjust the magnitude the input
145 filter settings (Deblock and Denoise). The range is -5 to 5. Default is
146 0.
147  
148  
149 =head2 ImageInserter => L<Paws::MediaConvert::ImageInserter>
150  
151 Enable the image inserter feature to include a graphic overlay on your
152 video. Enable or disable this feature for each input individually. This
153 setting is disabled by default.
154  
155  
156 =head2 InputClippings => ArrayRef[L<Paws::MediaConvert::InputClipping>]
157  
158 (InputClippings) contains sets of start and end times that together
159 specify a portion of the input to be used in the outputs. If you
160 provide only a start time, the clip will be the entire input from that
161 point to the end. If you provide only an end time, it will be the
162 entire input up to that point. When you specify more than one input
163 clip, the transcoding service creates the job outputs by stringing the
164 clips together in the order you specify them.
165  
166  
167 =head2 InputScanType => Str
168  
169 When you have a progressive segmented frame (PsF) input, use this
170 setting to flag the input as PsF. MediaConvert doesn't automatically
171 detect PsF. Therefore, flagging your input as PsF results in better
172 preservation of video quality when you do deinterlacing and frame rate
173 conversion. If you don't specify, the default value is Auto (AUTO).
174 Auto is the correct setting for all inputs that are not PsF. Don't set
175 this value to PsF when your input is interlaced. Doing so creates
176 horizontal interlacing artifacts.
177  
178  
179 =head2 Position => L<Paws::MediaConvert::Rectangle>
180  
181 Use Selection placement (position) to define the video area in your
182 output frame. The area outside of the rectangle that you specify here
183 is black. If you specify a value here, it will override any value that
184 you specify in the output setting Selection placement (position). If
185 you specify a value here, this will override any AFD values in your
186 input, even if you set Respond to AFD (RespondToAfd) to Respond
187 (RESPOND). If you specify a value here, this will ignore anything that
188 you specify for the setting Scaling Behavior (scalingBehavior).
189  
190  
191 =head2 ProgramNumber => Int
192  
193 Use Program (programNumber) to select a specific program from within a
194 multi-program transport stream. Note that Quad 4K is not currently
195 supported. Default is the first program within the transport stream. If
196 the program you specify doesn't exist, the transcoding service will use
197 this default.
198  
199  
200 =head2 PsiControl => Str
201  
202 Set PSI control (InputPsiControl) for transport stream inputs to
203 specify which data the demux process to scans. * Ignore PSI - Scan all
204 PIDs for audio and video. * Use PSI - Scan only PSI data.
205  
206  
207 =head2 SupplementalImps => ArrayRef[Str|Undef]
208  
209 Provide a list of any necessary supplemental IMPs. You need
210 supplemental IMPs if the CPL that you're using for your input is in an
211 incomplete IMP. Specify either the supplemental IMP directories with a
212 trailing slash or the ASSETMAP.xml files. For example
213 ["s3://bucket/ov/", "s3://bucket/vf2/ASSETMAP.xml"]. You don't need to
214 specify the IMP that contains your input CPL, because the service
215 automatically detects it.
216  
217  
218 =head2 TimecodeSource => Str
219  
220 Use this Timecode source setting, located under the input settings
221 (InputTimecodeSource), to specify how the service counts input video
222 frames. This input frame count affects only the behavior of features
223 that apply to a single input at a time, such as input clipping and
224 synchronizing some captions formats. Choose Embedded (EMBEDDED) to use
225 the timecodes in your input video. Choose Start at zero (ZEROBASED) to
226 start the first frame at zero. Choose Specified start (SPECIFIEDSTART)
227 to start the first frame at the timecode that you specify in the
228 setting Start timecode (timecodeStart). If you don't specify a value
229 for Timecode source, the service will use Embedded by default. For more
230 information about timecodes, see
231 https://docs.aws.amazon.com/console/mediaconvert/timecode.
232  
233  
234 =head2 TimecodeStart => Str
235  
236 Specify the timecode that you want the service to use for this input's
237 initial frame. To use this setting, you must set the Timecode source
238 setting, located under the input settings (InputTimecodeSource), to
239 Specified start (SPECIFIEDSTART). For more information about timecodes,
240 see https://docs.aws.amazon.com/console/mediaconvert/timecode.
241  
242  
243 =head2 VideoSelector => L<Paws::MediaConvert::VideoSelector>
244  
245 Input video selectors contain the video settings for the input. Each of
246 your inputs can have up to one video selector.
247  
248  
249  
250 =head1 SEE ALSO
251  
252 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert>
253  
254 =head1 BUGS and CONTRIBUTIONS
255  
256 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
257  
258 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
259  
260 =cut
261