blib/lib/Paws/MediaConvert/Vp8Settings.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::Vp8Settings;
3 use Moose;
4 has Bitrate => (is => 'ro', isa => 'Int', request_name => 'bitrate', traits => ['NameInRequest']);
5 has FramerateControl => (is => 'ro', isa => 'Str', request_name => 'framerateControl', traits => ['NameInRequest']);
6 has FramerateConversionAlgorithm => (is => 'ro', isa => 'Str', request_name => 'framerateConversionAlgorithm', traits => ['NameInRequest']);
7 has FramerateDenominator => (is => 'ro', isa => 'Int', request_name => 'framerateDenominator', traits => ['NameInRequest']);
8 has FramerateNumerator => (is => 'ro', isa => 'Int', request_name => 'framerateNumerator', traits => ['NameInRequest']);
9 has GopSize => (is => 'ro', isa => 'Num', request_name => 'gopSize', traits => ['NameInRequest']);
10 has HrdBufferSize => (is => 'ro', isa => 'Int', request_name => 'hrdBufferSize', traits => ['NameInRequest']);
11 has MaxBitrate => (is => 'ro', isa => 'Int', request_name => 'maxBitrate', traits => ['NameInRequest']);
12 has ParControl => (is => 'ro', isa => 'Str', request_name => 'parControl', traits => ['NameInRequest']);
13 has ParDenominator => (is => 'ro', isa => 'Int', request_name => 'parDenominator', traits => ['NameInRequest']);
14 has ParNumerator => (is => 'ro', isa => 'Int', request_name => 'parNumerator', traits => ['NameInRequest']);
15 has QualityTuningLevel => (is => 'ro', isa => 'Str', request_name => 'qualityTuningLevel', traits => ['NameInRequest']);
16 has RateControlMode => (is => 'ro', isa => 'Str', request_name => 'rateControlMode', traits => ['NameInRequest']);
17  
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::MediaConvert::Vp8Settings
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::Vp8Settings object:
36  
37 $service_obj->Method(Att1 => { Bitrate => $value, ..., RateControlMode => $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::Vp8Settings object:
42  
43 $result = $service_obj->Method(...);
44 $result->Att1->Bitrate
45  
46 =head1 DESCRIPTION
47  
48 Required when you set (Codec) under
49 (VideoDescription)E<gt>(CodecSettings) to the value VP8.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 Bitrate => Int
55  
56 Target bitrate in bits/second. For example, enter five megabits per
57 second as 5000000.
58  
59  
60 =head2 FramerateControl => Str
61  
62 If you are using the console, use the Framerate setting to specify the
63 frame rate for this output. If you want to keep the same frame rate as
64 the input video, choose Follow source. If you want to do frame rate
65 conversion, choose a frame rate from the dropdown list or choose
66 Custom. The framerates shown in the dropdown list are decimal
67 approximations of fractions. If you choose Custom, specify your frame
68 rate as a fraction. If you are creating your transcoding job
69 specification as a JSON file without the console, use FramerateControl
70 to specify which value the service uses for the frame rate for this
71 output. Choose INITIALIZE_FROM_SOURCE if you want the service to use
72 the frame rate from the input. Choose SPECIFIED if you want the service
73 to use the frame rate you specify in the settings FramerateNumerator
74 and FramerateDenominator.
75  
76  
77 =head2 FramerateConversionAlgorithm => Str
78  
79 Choose the method that you want MediaConvert to use when increasing or
80 decreasing the frame rate. We recommend using drop duplicate
81 (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to
82 30 fps. For numerically complex conversions, you can use interpolate
83 (INTERPOLATE) to avoid stutter. This results in a smooth picture, but
84 might introduce undesirable video artifacts. For complex frame rate
85 conversions, especially if your source video has already been converted
86 from its original cadence, use FrameFormer (FRAMEFORMER) to do
87 motion-compensated interpolation. FrameFormer chooses the best
88 conversion method frame by frame. Note that using FrameFormer increases
89 the transcoding time and incurs a significant add-on cost.
90  
91  
92 =head2 FramerateDenominator => Int
93  
94 When you use the API for transcode jobs that use frame rate conversion,
95 specify the frame rate as a fraction. For example, 24000 / 1001 =
96 23.976 fps. Use FramerateDenominator to specify the denominator of this
97 fraction. In this example, use 1001 for the value of
98 FramerateDenominator. When you use the console for transcode jobs that
99 use frame rate conversion, provide the value as a decimal number for
100 Framerate. In this example, specify 23.976.
101  
102  
103 =head2 FramerateNumerator => Int
104  
105 When you use the API for transcode jobs that use frame rate conversion,
106 specify the frame rate as a fraction. For example, 24000 / 1001 =
107 23.976 fps. Use FramerateNumerator to specify the numerator of this
108 fraction. In this example, use 24000 for the value of
109 FramerateNumerator. When you use the console for transcode jobs that
110 use frame rate conversion, provide the value as a decimal number for
111 Framerate. In this example, specify 23.976.
112  
113  
114 =head2 GopSize => Num
115  
116 GOP Length (keyframe interval) in frames. Must be greater than zero.
117  
118  
119 =head2 HrdBufferSize => Int
120  
121 Optional. Size of buffer (HRD buffer model) in bits. For example, enter
122 five megabits as 5000000.
123  
124  
125 =head2 MaxBitrate => Int
126  
127 Ignore this setting unless you set qualityTuningLevel to MULTI_PASS.
128 Optional. Specify the maximum bitrate in bits/second. For example,
129 enter five megabits per second as 5000000. The default behavior uses
130 twice the target bitrate as the maximum bitrate.
131  
132  
133 =head2 ParControl => Str
134  
135 Optional. Specify how the service determines the pixel aspect ratio
136 (PAR) for this output. The default behavior, Follow source
137 (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your
138 output. To specify a different PAR in the console, choose any value
139 other than Follow source. To specify a different PAR by editing the
140 JSON job specification, choose SPECIFIED. When you choose SPECIFIED for
141 this setting, you must also specify values for the parNumerator and
142 parDenominator settings.
143  
144  
145 =head2 ParDenominator => Int
146  
147 Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On
148 the console, this corresponds to any value other than Follow source.
149 When you specify an output pixel aspect ratio (PAR) that is different
150 from your input video PAR, provide your output PAR as a ratio. For
151 example, for D1/DV NTSC widescreen, you would specify the ratio 40:33.
152 In this example, the value for parDenominator is 33.
153  
154  
155 =head2 ParNumerator => Int
156  
157 Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On
158 the console, this corresponds to any value other than Follow source.
159 When you specify an output pixel aspect ratio (PAR) that is different
160 from your input video PAR, provide your output PAR as a ratio. For
161 example, for D1/DV NTSC widescreen, you would specify the ratio 40:33.
162 In this example, the value for parNumerator is 40.
163  
164  
165 =head2 QualityTuningLevel => Str
166  
167 Optional. Use Quality tuning level (qualityTuningLevel) to choose how
168 you want to trade off encoding speed for output video quality. The
169 default behavior is faster, lower quality, multi-pass encoding.
170  
171  
172 =head2 RateControlMode => Str
173  
174 With the VP8 codec, you can use only the variable bitrate (VBR) rate
175 control mode.
176  
177  
178  
179 =head1 SEE ALSO
180  
181 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert>
182  
183 =head1 BUGS and CONTRIBUTIONS
184  
185 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
186  
187 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
188  
189 =cut
190