blib/lib/Paws/MediaLive/H265Settings.pm untested

filter: Statementstmt 0.0% 0 / 61 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 62 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaLive::H265Settings;
3 use Moose;
4 has AdaptiveQuantization => (is => 'ro', isa => 'Str', request_name => 'adaptiveQuantization', traits => ['NameInRequest']);
5 has AfdSignaling => (is => 'ro', isa => 'Str', request_name => 'afdSignaling', traits => ['NameInRequest']);
6 has AlternativeTransferFunction => (is => 'ro', isa => 'Str', request_name => 'alternativeTransferFunction', traits => ['NameInRequest']);
7 has Bitrate => (is => 'ro', isa => 'Int', request_name => 'bitrate', traits => ['NameInRequest']);
8 has BufSize => (is => 'ro', isa => 'Int', request_name => 'bufSize', traits => ['NameInRequest']);
9 has ColorMetadata => (is => 'ro', isa => 'Str', request_name => 'colorMetadata', traits => ['NameInRequest']);
10 has ColorSpaceSettings => (is => 'ro', isa => 'Paws::MediaLive::H265ColorSpaceSettings', request_name => 'colorSpaceSettings', traits => ['NameInRequest']);
11 has FilterSettings => (is => 'ro', isa => 'Paws::MediaLive::H265FilterSettings', request_name => 'filterSettings', traits => ['NameInRequest']);
12 has FixedAfd => (is => 'ro', isa => 'Str', request_name => 'fixedAfd', traits => ['NameInRequest']);
13 has FlickerAq => (is => 'ro', isa => 'Str', request_name => 'flickerAq', traits => ['NameInRequest']);
14 has FramerateDenominator => (is => 'ro', isa => 'Int', request_name => 'framerateDenominator', traits => ['NameInRequest'], required => 1);
15 has FramerateNumerator => (is => 'ro', isa => 'Int', request_name => 'framerateNumerator', traits => ['NameInRequest'], required => 1);
16 has GopClosedCadence => (is => 'ro', isa => 'Int', request_name => 'gopClosedCadence', traits => ['NameInRequest']);
17 has GopSize => (is => 'ro', isa => 'Num', request_name => 'gopSize', traits => ['NameInRequest']);
18 has GopSizeUnits => (is => 'ro', isa => 'Str', request_name => 'gopSizeUnits', traits => ['NameInRequest']);
19 has Level => (is => 'ro', isa => 'Str', request_name => 'level', traits => ['NameInRequest']);
20 has LookAheadRateControl => (is => 'ro', isa => 'Str', request_name => 'lookAheadRateControl', traits => ['NameInRequest']);
21 has MaxBitrate => (is => 'ro', isa => 'Int', request_name => 'maxBitrate', traits => ['NameInRequest']);
22 has MinIInterval => (is => 'ro', isa => 'Int', request_name => 'minIInterval', traits => ['NameInRequest']);
23 has ParDenominator => (is => 'ro', isa => 'Int', request_name => 'parDenominator', traits => ['NameInRequest']);
24 has ParNumerator => (is => 'ro', isa => 'Int', request_name => 'parNumerator', traits => ['NameInRequest']);
25 has Profile => (is => 'ro', isa => 'Str', request_name => 'profile', traits => ['NameInRequest']);
26 has QvbrQualityLevel => (is => 'ro', isa => 'Int', request_name => 'qvbrQualityLevel', traits => ['NameInRequest']);
27 has RateControlMode => (is => 'ro', isa => 'Str', request_name => 'rateControlMode', traits => ['NameInRequest']);
28 has ScanType => (is => 'ro', isa => 'Str', request_name => 'scanType', traits => ['NameInRequest']);
29 has SceneChangeDetect => (is => 'ro', isa => 'Str', request_name => 'sceneChangeDetect', traits => ['NameInRequest']);
30 has Slices => (is => 'ro', isa => 'Int', request_name => 'slices', traits => ['NameInRequest']);
31 has Tier => (is => 'ro', isa => 'Str', request_name => 'tier', traits => ['NameInRequest']);
32 has TimecodeInsertion => (is => 'ro', isa => 'Str', request_name => 'timecodeInsertion', traits => ['NameInRequest']);
33  
34 1;
35  
36 ### main pod documentation begin ###
37  
38 =head1 NAME
39  
40 Paws::MediaLive::H265Settings
41  
42 =head1 USAGE
43  
44 This class represents one of two things:
45  
46 =head3 Arguments in a call to a service
47  
48 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
49 Each attribute should be used as a named argument in the calls that expect this type of object.
50  
51 As an example, if Att1 is expected to be a Paws::MediaLive::H265Settings object:
52  
53 $service_obj->Method(Att1 => { AdaptiveQuantization => $value, ..., TimecodeInsertion => $value });
54  
55 =head3 Results returned from an API call
56  
57 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaLive::H265Settings object:
58  
59 $result = $service_obj->Method(...);
60 $result->Att1->AdaptiveQuantization
61  
62 =head1 DESCRIPTION
63  
64 H265 Settings
65  
66 =head1 ATTRIBUTES
67  
68  
69 =head2 AdaptiveQuantization => Str
70  
71 Adaptive quantization. Allows intra-frame quantizers to vary to improve
72 visual quality.
73  
74  
75 =head2 AfdSignaling => Str
76  
77 Indicates that AFD values will be written into the output stream. If
78 afdSignaling is "auto", the system will try to preserve the input AFD
79 value (in cases where multiple AFD values are valid). If set to
80 "fixed", the AFD value will be the value configured in the fixedAfd
81 parameter.
82  
83  
84 =head2 AlternativeTransferFunction => Str
85  
86 Whether or not EML should insert an Alternative Transfer Function SEI
87 message to support backwards compatibility with non-HDR decoders and
88 displays.
89  
90  
91 =head2 Bitrate => Int
92  
93 Average bitrate in bits/second. Required when the rate control mode is
94 VBR or CBR. Not used for QVBR. In an MS Smooth output group, each
95 output must have a unique value when its bitrate is rounded down to the
96 nearest multiple of 1000.
97  
98  
99 =head2 BufSize => Int
100  
101 Size of buffer (HRD buffer model) in bits.
102  
103  
104 =head2 ColorMetadata => Str
105  
106 Includes colorspace metadata in the output.
107  
108  
109 =head2 ColorSpaceSettings => L<Paws::MediaLive::H265ColorSpaceSettings>
110  
111 Color Space settings
112  
113  
114 =head2 FilterSettings => L<Paws::MediaLive::H265FilterSettings>
115  
116 Optional filters that you can apply to an encode.
117  
118  
119 =head2 FixedAfd => Str
120  
121 Four bit AFD value to write on all frames of video in the output
122 stream. Only valid when afdSignaling is set to 'Fixed'.
123  
124  
125 =head2 FlickerAq => Str
126  
127 If set to enabled, adjust quantization within each frame to reduce
128 flicker or 'pop' on I-frames.
129  
130  
131 =head2 B<REQUIRED> FramerateDenominator => Int
132  
133 Framerate denominator.
134  
135  
136 =head2 B<REQUIRED> FramerateNumerator => Int
137  
138 Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 =
139 23.976 fps.
140  
141  
142 =head2 GopClosedCadence => Int
143  
144 Frequency of closed GOPs. In streaming applications, it is recommended
145 that this be set to 1 so a decoder joining mid-stream will receive an
146 IDR frame as quickly as possible. Setting this value to 0 will break
147 output segmenting.
148  
149  
150 =head2 GopSize => Num
151  
152 GOP size (keyframe interval) in units of either frames or seconds per
153 gopSizeUnits. If gopSizeUnits is frames, gopSize must be an integer and
154 must be greater than or equal to 1. If gopSizeUnits is seconds, gopSize
155 must be greater than 0, but need not be an integer.
156  
157  
158 =head2 GopSizeUnits => Str
159  
160 Indicates if the gopSize is specified in frames or seconds. If seconds
161 the system will convert the gopSize into a frame count at run time.
162  
163  
164 =head2 Level => Str
165  
166 H.265 Level.
167  
168  
169 =head2 LookAheadRateControl => Str
170  
171 Amount of lookahead. A value of low can decrease latency and memory
172 usage, while high can produce better quality for certain content.
173  
174  
175 =head2 MaxBitrate => Int
176  
177 For QVBR: See the tooltip for Quality level
178  
179  
180 =head2 MinIInterval => Int
181  
182 Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5
183 if multiplex rate control is used. Enforces separation between repeated
184 (cadence) I-frames and I-frames inserted by Scene Change Detection. If
185 a scene change I-frame is within I-interval frames of a cadence
186 I-frame, the GOP is shrunk and/or stretched to the scene change
187 I-frame. GOP stretch requires enabling lookahead as well as setting
188 I-interval. The normal cadence resumes for the next GOP. Note: Maximum
189 GOP stretch = GOP size + Min-I-interval - 1
190  
191  
192 =head2 ParDenominator => Int
193  
194 Pixel Aspect Ratio denominator.
195  
196  
197 =head2 ParNumerator => Int
198  
199 Pixel Aspect Ratio numerator.
200  
201  
202 =head2 Profile => Str
203  
204 H.265 Profile.
205  
206  
207 =head2 QvbrQualityLevel => Int
208  
209 Controls the target quality for the video encode. Applies only when the
210 rate control mode is QVBR. Set values for the QVBR quality level field
211 and Max bitrate field that suit your most important viewing devices.
212 Recommended values are: - Primary screen: Quality level: 8 to 10. Max
213 bitrate: 4M - PC or tablet: Quality level: 7. Max bitrate: 1.5M to 3M -
214 Smartphone: Quality level: 6. Max bitrate: 1M to 1.5M
215  
216  
217 =head2 RateControlMode => Str
218  
219 Rate control mode. QVBR: Quality will match the specified quality level
220 except when it is constrained by the maximum bitrate. Recommended if
221 you or your viewers pay for bandwidth. CBR: Quality varies, depending
222 on the video complexity. Recommended only if you distribute your assets
223 to devices that cannot handle variable bitrates. Multiplex: This rate
224 control mode is only supported (and is required) when the video is
225 being delivered to a MediaLive Multiplex in which case the rate control
226 configuration is controlled by the properties within the Multiplex
227 Program.
228  
229  
230 =head2 ScanType => Str
231  
232 Sets the scan type of the output to progressive or top-field-first
233 interlaced.
234  
235  
236 =head2 SceneChangeDetect => Str
237  
238 Scene change detection.
239  
240  
241 =head2 Slices => Int
242  
243 Number of slices per picture. Must be less than or equal to the number
244 of macroblock rows for progressive pictures, and less than or equal to
245 half the number of macroblock rows for interlaced pictures. This field
246 is optional; when no value is specified the encoder will choose the
247 number of slices based on encode resolution.
248  
249  
250 =head2 Tier => Str
251  
252 H.265 Tier.
253  
254  
255 =head2 TimecodeInsertion => Str
256  
257 Determines how timecodes should be inserted into the video elementary
258 stream. - 'disabled': Do not include timecodes - 'picTimingSei': Pass
259 through picture timing SEI messages from the source specified in
260 Timecode Config
261  
262  
263  
264 =head1 SEE ALSO
265  
266 This class forms part of L<Paws>, describing an object used in L<Paws::MediaLive>
267  
268 =head1 BUGS and CONTRIBUTIONS
269  
270 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
271  
272 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
273  
274 =cut
275