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

filter: Statementstmt 0.0% 0 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 36 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::XavcSettings;
3 use Moose;
4 has AdaptiveQuantization => (is => 'ro', isa => 'Str', request_name => 'adaptiveQuantization', traits => ['NameInRequest']);
5 has EntropyEncoding => (is => 'ro', isa => 'Str', request_name => 'entropyEncoding', 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 Profile => (is => 'ro', isa => 'Str', request_name => 'profile', traits => ['NameInRequest']);
11 has SlowPal => (is => 'ro', isa => 'Str', request_name => 'slowPal', traits => ['NameInRequest']);
12 has Softness => (is => 'ro', isa => 'Int', request_name => 'softness', traits => ['NameInRequest']);
13 has SpatialAdaptiveQuantization => (is => 'ro', isa => 'Str', request_name => 'spatialAdaptiveQuantization', traits => ['NameInRequest']);
14 has TemporalAdaptiveQuantization => (is => 'ro', isa => 'Str', request_name => 'temporalAdaptiveQuantization', traits => ['NameInRequest']);
15 has Xavc4kIntraCbgProfileSettings => (is => 'ro', isa => 'Paws::MediaConvert::Xavc4kIntraCbgProfileSettings', request_name => 'xavc4kIntraCbgProfileSettings', traits => ['NameInRequest']);
16 has Xavc4kIntraVbrProfileSettings => (is => 'ro', isa => 'Paws::MediaConvert::Xavc4kIntraVbrProfileSettings', request_name => 'xavc4kIntraVbrProfileSettings', traits => ['NameInRequest']);
17 has Xavc4kProfileSettings => (is => 'ro', isa => 'Paws::MediaConvert::Xavc4kProfileSettings', request_name => 'xavc4kProfileSettings', traits => ['NameInRequest']);
18 has XavcHdIntraCbgProfileSettings => (is => 'ro', isa => 'Paws::MediaConvert::XavcHdIntraCbgProfileSettings', request_name => 'xavcHdIntraCbgProfileSettings', traits => ['NameInRequest']);
19 has XavcHdProfileSettings => (is => 'ro', isa => 'Paws::MediaConvert::XavcHdProfileSettings', request_name => 'xavcHdProfileSettings', traits => ['NameInRequest']);
20  
21 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::MediaConvert::XavcSettings
28  
29 =head1 USAGE
30  
31 This class represents one of two things:
32  
33 =head3 Arguments in a call to a service
34  
35 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
36 Each attribute should be used as a named argument in the calls that expect this type of object.
37  
38 As an example, if Att1 is expected to be a Paws::MediaConvert::XavcSettings object:
39  
40 $service_obj->Method(Att1 => { AdaptiveQuantization => $value, ..., XavcHdProfileSettings => $value });
41  
42 =head3 Results returned from an API call
43  
44 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::XavcSettings object:
45  
46 $result = $service_obj->Method(...);
47 $result->Att1->AdaptiveQuantization
48  
49 =head1 DESCRIPTION
50  
51 Required when you set (Codec) under
52 (VideoDescription)E<gt>(CodecSettings) to the value XAVC.
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 AdaptiveQuantization => Str
58  
59 Keep the default value, Auto (AUTO), for this setting to have
60 MediaConvert automatically apply the best types of quantization for
61 your video content. When you want to apply your quantization settings
62 manually, you must set Adaptive quantization (adaptiveQuantization) to
63 a value other than Auto (AUTO). Use this setting to specify the
64 strength of any adaptive quantization filters that you enable. If you
65 don't want MediaConvert to do any adaptive quantization in this
66 transcode, set Adaptive quantization to Off (OFF). Related settings:
67 The value that you choose here applies to the following settings:
68 Flicker adaptive quantization (flickerAdaptiveQuantization), Spatial
69 adaptive quantization (spatialAdaptiveQuantization), and Temporal
70 adaptive quantization (temporalAdaptiveQuantization).
71  
72  
73 =head2 EntropyEncoding => Str
74  
75 Optional. Choose a specific entropy encoding mode only when you want to
76 override XAVC recommendations. If you choose the value auto,
77 MediaConvert uses the mode that the XAVC file format specifies given
78 this output's operating point.
79  
80  
81 =head2 FramerateControl => Str
82  
83 If you are using the console, use the Frame rate setting to specify the
84 frame rate for this output. If you want to keep the same frame rate as
85 the input video, choose Follow source. If you want to do frame rate
86 conversion, choose a frame rate from the dropdown list. The framerates
87 shown in the dropdown list are decimal approximations of fractions. If
88 you are creating your transcoding job specification as a JSON file
89 without the console, use FramerateControl to specify which value the
90 service uses for the frame rate for this output. Choose
91 INITIALIZE_FROM_SOURCE if you want the service to use the frame rate
92 from the input. Choose SPECIFIED if you want the service to use the
93 frame rate that you specify in the settings FramerateNumerator and
94 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 Frame rate. 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 Profile => Str
135  
136 Specify the XAVC profile for this output. For more information, see the
137 Sony documentation at https://www.xavc-info.org/. Note that
138 MediaConvert doesn't support the interlaced video XAVC operating points
139 for XAVC_HD_INTRA_CBG. To create an interlaced XAVC output, choose the
140 profile XAVC_HD.
141  
142  
143 =head2 SlowPal => Str
144  
145 Ignore this setting unless your input frame rate is 23.976 or 24 frames
146 per second (fps). Enable slow PAL to create a 25 fps output by
147 relabeling the video frames and resampling your audio. Note that
148 enabling this setting will slightly reduce the duration of your video.
149 Related settings: You must also set Frame rate to 25. In your JSON job
150 specification, set (framerateControl) to (SPECIFIED),
151 (framerateNumerator) to 25 and (framerateDenominator) to 1.
152  
153  
154 =head2 Softness => Int
155  
156 Ignore this setting unless your downstream workflow requires that you
157 specify it explicitly. Otherwise, we recommend that you adjust the
158 softness of your output by using a lower value for the setting
159 Sharpness (sharpness) or by enabling a noise reducer filter
160 (noiseReducerFilter). The Softness (softness) setting specifies the
161 quantization matrices that the encoder uses. Keep the default value, 0,
162 for flat quantization. Choose the value 1 or 16 to use the default JVT
163 softening quantization matricies from the H.264 specification. Choose a
164 value from 17 to 128 to use planar interpolation. Increasing values
165 from 17 to 128 result in increasing reduction of high-frequency data.
166 The value 128 results in the softest video.
167  
168  
169 =head2 SpatialAdaptiveQuantization => Str
170  
171 The best way to set up adaptive quantization is to keep the default
172 value, Auto (AUTO), for the setting Adaptive quantization
173 (adaptiveQuantization). When you do so, MediaConvert automatically
174 applies the best types of quantization for your video content. Include
175 this setting in your JSON job specification only when you choose to
176 change the default value for Adaptive quantization. For this setting,
177 keep the default value, Enabled (ENABLED), to adjust quantization
178 within each frame based on spatial variation of content complexity.
179 When you enable this feature, the encoder uses fewer bits on areas that
180 can sustain more distortion with no noticeable visual degradation and
181 uses more bits on areas where any small distortion will be noticeable.
182 For example, complex textured blocks are encoded with fewer bits and
183 smooth textured blocks are encoded with more bits. Enabling this
184 feature will almost always improve your video quality. Note, though,
185 that this feature doesn't take into account where the viewer's
186 attention is likely to be. If viewers are likely to be focusing their
187 attention on a part of the screen with a lot of complex texture, you
188 might choose to disable this feature. Related setting: When you enable
189 spatial adaptive quantization, set the value for Adaptive quantization
190 (adaptiveQuantization) depending on your content. For homogeneous
191 content, such as cartoons and video games, set it to Low. For content
192 with a wider variety of textures, set it to High or Higher.
193  
194  
195 =head2 TemporalAdaptiveQuantization => Str
196  
197 The best way to set up adaptive quantization is to keep the default
198 value, Auto (AUTO), for the setting Adaptive quantization
199 (adaptiveQuantization). When you do so, MediaConvert automatically
200 applies the best types of quantization for your video content. Include
201 this setting in your JSON job specification only when you choose to
202 change the default value for Adaptive quantization. For this setting,
203 keep the default value, Enabled (ENABLED), to adjust quantization
204 within each frame based on temporal variation of content complexity.
205 When you enable this feature, the encoder uses fewer bits on areas of
206 the frame that aren't moving and uses more bits on complex objects with
207 sharp edges that move a lot. For example, this feature improves the
208 readability of text tickers on newscasts and scoreboards on sports
209 matches. Enabling this feature will almost always improve your video
210 quality. Note, though, that this feature doesn't take into account
211 where the viewer's attention is likely to be. If viewers are likely to
212 be focusing their attention on a part of the screen that doesn't have
213 moving objects with sharp edges, such as sports athletes' faces, you
214 might choose to disable this feature. Related setting: When you enable
215 temporal adaptive quantization, adjust the strength of the filter with
216 the setting Adaptive quantization (adaptiveQuantization).
217  
218  
219 =head2 Xavc4kIntraCbgProfileSettings => L<Paws::MediaConvert::Xavc4kIntraCbgProfileSettings>
220  
221 Required when you set (Profile) under
222 (VideoDescription)E<gt>(CodecSettings)E<gt>(XavcSettings) to the value
223 XAVC_4K_INTRA_CBG.
224  
225  
226 =head2 Xavc4kIntraVbrProfileSettings => L<Paws::MediaConvert::Xavc4kIntraVbrProfileSettings>
227  
228 Required when you set (Profile) under
229 (VideoDescription)E<gt>(CodecSettings)E<gt>(XavcSettings) to the value
230 XAVC_4K_INTRA_VBR.
231  
232  
233 =head2 Xavc4kProfileSettings => L<Paws::MediaConvert::Xavc4kProfileSettings>
234  
235 Required when you set (Profile) under
236 (VideoDescription)E<gt>(CodecSettings)E<gt>(XavcSettings) to the value
237 XAVC_4K.
238  
239  
240 =head2 XavcHdIntraCbgProfileSettings => L<Paws::MediaConvert::XavcHdIntraCbgProfileSettings>
241  
242 Required when you set (Profile) under
243 (VideoDescription)E<gt>(CodecSettings)E<gt>(XavcSettings) to the value
244 XAVC_HD_INTRA_CBG.
245  
246  
247 =head2 XavcHdProfileSettings => L<Paws::MediaConvert::XavcHdProfileSettings>
248  
249 Required when you set (Profile) under
250 (VideoDescription)E<gt>(CodecSettings)E<gt>(XavcSettings) to the value
251 XAVC_HD.
252  
253  
254  
255 =head1 SEE ALSO
256  
257 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert>
258  
259 =head1 BUGS and CONTRIBUTIONS
260  
261 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
262  
263 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
264  
265 =cut
266