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

filter: Statementstmt 0.0% 0 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 30 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::ProresSettings;
3 use Moose;
4 has ChromaSampling => (is => 'ro', isa => 'Str', request_name => 'chromaSampling', traits => ['NameInRequest']);
5 has CodecProfile => (is => 'ro', isa => 'Str', request_name => 'codecProfile', traits => ['NameInRequest']);
6 has FramerateControl => (is => 'ro', isa => 'Str', request_name => 'framerateControl', traits => ['NameInRequest']);
7 has FramerateConversionAlgorithm => (is => 'ro', isa => 'Str', request_name => 'framerateConversionAlgorithm', traits => ['NameInRequest']);
8 has FramerateDenominator => (is => 'ro', isa => 'Int', request_name => 'framerateDenominator', traits => ['NameInRequest']);
9 has FramerateNumerator => (is => 'ro', isa => 'Int', request_name => 'framerateNumerator', traits => ['NameInRequest']);
10 has InterlaceMode => (is => 'ro', isa => 'Str', request_name => 'interlaceMode', traits => ['NameInRequest']);
11 has ParControl => (is => 'ro', isa => 'Str', request_name => 'parControl', traits => ['NameInRequest']);
12 has ParDenominator => (is => 'ro', isa => 'Int', request_name => 'parDenominator', traits => ['NameInRequest']);
13 has ParNumerator => (is => 'ro', isa => 'Int', request_name => 'parNumerator', traits => ['NameInRequest']);
14 has ScanTypeConversionMode => (is => 'ro', isa => 'Str', request_name => 'scanTypeConversionMode', traits => ['NameInRequest']);
15 has SlowPal => (is => 'ro', isa => 'Str', request_name => 'slowPal', traits => ['NameInRequest']);
16 has Telecine => (is => 'ro', isa => 'Str', request_name => 'telecine', traits => ['NameInRequest']);
17  
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::MediaConvert::ProresSettings
25  
26 =head1 USAGE
27  
28 This class represents one of two things:
29  
30 =head3 Arguments in a call to a service
31  
32 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
33 Each attribute should be used as a named argument in the calls that expect this type of object.
34  
35 As an example, if Att1 is expected to be a Paws::MediaConvert::ProresSettings object:
36  
37 $service_obj->Method(Att1 => { ChromaSampling => $value, ..., Telecine => $value });
38  
39 =head3 Results returned from an API call
40  
41 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::ProresSettings object:
42  
43 $result = $service_obj->Method(...);
44 $result->Att1->ChromaSampling
45  
46 =head1 DESCRIPTION
47  
48 Required when you set (Codec) under
49 (VideoDescription)E<gt>(CodecSettings) to the value PRORES.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 ChromaSampling => Str
55  
56 This setting applies only to ProRes 4444 and ProRes 4444 XQ outputs
57 that you create from inputs that use 4:4:4 chroma sampling. Set
58 Preserve 4:4:4 sampling (PRESERVE_444_SAMPLING) to allow outputs to
59 also use 4:4:4 chroma sampling. You must specify a value for this
60 setting when your output codec profile supports 4:4:4 chroma sampling.
61 Related Settings: When you set Chroma sampling to Preserve 4:4:4
62 sampling (PRESERVE_444_SAMPLING), you must choose an output codec
63 profile that supports 4:4:4 chroma sampling. These values for Profile
64 (CodecProfile) support 4:4:4 chroma sampling: Apple ProRes 4444
65 (APPLE_PRORES_4444) or Apple ProRes 4444 XQ (APPLE_PRORES_4444_XQ).
66 When you set Chroma sampling to Preserve 4:4:4 sampling, you must
67 disable all video preprocessors except for Nexguard file marker
68 (PartnerWatermarking). When you set Chroma sampling to Preserve 4:4:4
69 sampling and use framerate conversion, you must set Frame rate
70 conversion algorithm (FramerateConversionAlgorithm) to Drop duplicate
71 (DUPLICATE_DROP).
72  
73  
74 =head2 CodecProfile => Str
75  
76 Use Profile (ProResCodecProfile) to specify the type of Apple ProRes
77 codec to use for this output.
78  
79  
80 =head2 FramerateControl => Str
81  
82 If you are using the console, use the Framerate setting to specify the
83 frame rate for this output. If you want to keep the same frame rate as
84 the input video, choose Follow source. If you want to do frame rate
85 conversion, choose a frame rate from the dropdown list or choose
86 Custom. The framerates shown in the dropdown list are decimal
87 approximations of fractions. If you choose Custom, specify your frame
88 rate as a fraction. If you are creating your transcoding job
89 specification as a JSON file without the console, use FramerateControl
90 to specify which value the service uses for the frame rate for this
91 output. Choose INITIALIZE_FROM_SOURCE if you want the service to use
92 the frame rate from the input. Choose SPECIFIED if you want the service
93 to use the frame rate you specify in the settings FramerateNumerator
94 and FramerateDenominator.
95  
96  
97 =head2 FramerateConversionAlgorithm => Str
98  
99 Choose the method that you want MediaConvert to use when increasing or
100 decreasing the frame rate. We recommend using drop duplicate
101 (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to
102 30 fps. For numerically complex conversions, you can use interpolate
103 (INTERPOLATE) to avoid stutter. This results in a smooth picture, but
104 might introduce undesirable video artifacts. For complex frame rate
105 conversions, especially if your source video has already been converted
106 from its original cadence, use FrameFormer (FRAMEFORMER) to do
107 motion-compensated interpolation. FrameFormer chooses the best
108 conversion method frame by frame. Note that using FrameFormer increases
109 the transcoding time and incurs a significant add-on cost.
110  
111  
112 =head2 FramerateDenominator => Int
113  
114 When you use the API for transcode jobs that use frame rate conversion,
115 specify the frame rate as a fraction. For example, 24000 / 1001 =
116 23.976 fps. Use FramerateDenominator to specify the denominator of this
117 fraction. In this example, use 1001 for the value of
118 FramerateDenominator. When you use the console for transcode jobs that
119 use frame rate conversion, provide the value as a decimal number for
120 Framerate. In this example, specify 23.976.
121  
122  
123 =head2 FramerateNumerator => Int
124  
125 When you use the API for transcode jobs that use frame rate conversion,
126 specify the frame rate as a fraction. For example, 24000 / 1001 =
127 23.976 fps. Use FramerateNumerator to specify the numerator of this
128 fraction. In this example, use 24000 for the value of
129 FramerateNumerator. When you use the console for transcode jobs that
130 use frame rate conversion, provide the value as a decimal number for
131 Framerate. In this example, specify 23.976.
132  
133  
134 =head2 InterlaceMode => Str
135  
136 Choose the scan line type for the output. Keep the default value,
137 Progressive (PROGRESSIVE) to create a progressive output, regardless of
138 the scan type of your input. Use Top field first (TOP_FIELD) or Bottom
139 field first (BOTTOM_FIELD) to create an output that's interlaced with
140 the same field polarity throughout. Use Follow, default top
141 (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to
142 produce outputs with the same field polarity as the source. For jobs
143 that have multiple inputs, the output field polarity might change over
144 the course of the output. Follow behavior depends on the input scan
145 type. If the source is interlaced, the output will be interlaced with
146 the same polarity as the source. If the source is progressive, the
147 output will be interlaced with top field bottom field first, depending
148 on which of the Follow options you choose.
149  
150  
151 =head2 ParControl => Str
152  
153 Optional. Specify how the service determines the pixel aspect ratio
154 (PAR) for this output. The default behavior, Follow source
155 (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your
156 output. To specify a different PAR in the console, choose any value
157 other than Follow source. To specify a different PAR by editing the
158 JSON job specification, choose SPECIFIED. When you choose SPECIFIED for
159 this setting, you must also specify values for the parNumerator and
160 parDenominator settings.
161  
162  
163 =head2 ParDenominator => Int
164  
165 Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On
166 the console, this corresponds to any value other than Follow source.
167 When you specify an output pixel aspect ratio (PAR) that is different
168 from your input video PAR, provide your output PAR as a ratio. For
169 example, for D1/DV NTSC widescreen, you would specify the ratio 40:33.
170 In this example, the value for parDenominator is 33.
171  
172  
173 =head2 ParNumerator => Int
174  
175 Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On
176 the console, this corresponds to any value other than Follow source.
177 When you specify an output pixel aspect ratio (PAR) that is different
178 from your input video PAR, provide your output PAR as a ratio. For
179 example, for D1/DV NTSC widescreen, you would specify the ratio 40:33.
180 In this example, the value for parNumerator is 40.
181  
182  
183 =head2 ScanTypeConversionMode => Str
184  
185 Use this setting for interlaced outputs, when your output frame rate is
186 half of your input frame rate. In this situation, choose Optimized
187 interlacing (INTERLACED_OPTIMIZE) to create a better quality interlaced
188 output. In this case, each progressive frame from the input corresponds
189 to an interlaced field in the output. Keep the default value, Basic
190 interlacing (INTERLACED), for all other output frame rates. With basic
191 interlacing, MediaConvert performs any frame rate conversion first and
192 then interlaces the frames. When you choose Optimized interlacing and
193 you set your output frame rate to a value that isn't suitable for
194 optimized interlacing, MediaConvert automatically falls back to basic
195 interlacing. Required settings: To use optimized interlacing, you must
196 set Telecine (telecine) to None (NONE) or Soft (SOFT). You can't use
197 optimized interlacing for hard telecine outputs. You must also set
198 Interlace mode (interlaceMode) to a value other than Progressive
199 (PROGRESSIVE).
200  
201  
202 =head2 SlowPal => Str
203  
204 Ignore this setting unless your input frame rate is 23.976 or 24 frames
205 per second (fps). Enable slow PAL to create a 25 fps output. When you
206 enable slow PAL, MediaConvert relabels the video frames to 25 fps and
207 resamples your audio to keep it synchronized with the video. Note that
208 enabling this setting will slightly reduce the duration of your video.
209 Required settings: You must also set Framerate to 25. In your JSON job
210 specification, set (framerateControl) to (SPECIFIED),
211 (framerateNumerator) to 25 and (framerateDenominator) to 1.
212  
213  
214 =head2 Telecine => Str
215  
216 When you do frame rate conversion from 23.976 frames per second (fps)
217 to 29.97 fps, and your output scan type is interlaced, you can
218 optionally enable hard telecine (HARD) to create a smoother picture.
219 When you keep the default value, None (NONE), MediaConvert does a
220 standard frame rate conversion to 29.97 without doing anything with the
221 field polarity to create a smoother picture.
222  
223  
224  
225 =head1 SEE ALSO
226  
227 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert>
228  
229 =head1 BUGS and CONTRIBUTIONS
230  
231 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
232  
233 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
234  
235 =cut
236