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

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 22 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::Vc3Settings;
3 use Moose;
4 has FramerateControl => (is => 'ro', isa => 'Str', request_name => 'framerateControl', traits => ['NameInRequest']);
5 has FramerateConversionAlgorithm => (is => 'ro', isa => 'Str', request_name => 'framerateConversionAlgorithm', traits => ['NameInRequest']);
6 has FramerateDenominator => (is => 'ro', isa => 'Int', request_name => 'framerateDenominator', traits => ['NameInRequest']);
7 has FramerateNumerator => (is => 'ro', isa => 'Int', request_name => 'framerateNumerator', traits => ['NameInRequest']);
8 has InterlaceMode => (is => 'ro', isa => 'Str', request_name => 'interlaceMode', traits => ['NameInRequest']);
9 has ScanTypeConversionMode => (is => 'ro', isa => 'Str', request_name => 'scanTypeConversionMode', traits => ['NameInRequest']);
10 has SlowPal => (is => 'ro', isa => 'Str', request_name => 'slowPal', traits => ['NameInRequest']);
11 has Telecine => (is => 'ro', isa => 'Str', request_name => 'telecine', traits => ['NameInRequest']);
12 has Vc3Class => (is => 'ro', isa => 'Str', request_name => 'vc3Class', traits => ['NameInRequest']);
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::MediaConvert::Vc3Settings
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::MediaConvert::Vc3Settings object:
32  
33 $service_obj->Method(Att1 => { FramerateControl => $value, ..., Vc3Class => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::Vc3Settings object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->FramerateControl
41  
42 =head1 DESCRIPTION
43  
44 Required when you set (Codec) under
45 (VideoDescription)E<gt>(CodecSettings) to the value VC3
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 FramerateControl => Str
51  
52 If you are using the console, use the Framerate setting to specify the
53 frame rate for this output. If you want to keep the same frame rate as
54 the input video, choose Follow source. If you want to do frame rate
55 conversion, choose a frame rate from the dropdown list or choose
56 Custom. The framerates shown in the dropdown list are decimal
57 approximations of fractions. If you choose Custom, specify your frame
58 rate as a fraction. If you are creating your transcoding job
59 specification as a JSON file without the console, use FramerateControl
60 to specify which value the service uses for the frame rate for this
61 output. Choose INITIALIZE_FROM_SOURCE if you want the service to use
62 the frame rate from the input. Choose SPECIFIED if you want the service
63 to use the frame rate you specify in the settings FramerateNumerator
64 and FramerateDenominator.
65  
66  
67 =head2 FramerateConversionAlgorithm => Str
68  
69 Choose the method that you want MediaConvert to use when increasing or
70 decreasing the frame rate. We recommend using drop duplicate
71 (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to
72 30 fps. For numerically complex conversions, you can use interpolate
73 (INTERPOLATE) to avoid stutter. This results in a smooth picture, but
74 might introduce undesirable video artifacts. For complex frame rate
75 conversions, especially if your source video has already been converted
76 from its original cadence, use FrameFormer (FRAMEFORMER) to do
77 motion-compensated interpolation. FrameFormer chooses the best
78 conversion method frame by frame. Note that using FrameFormer increases
79 the transcoding time and incurs a significant add-on cost.
80  
81  
82 =head2 FramerateDenominator => Int
83  
84 When you use the API for transcode jobs that use frame rate conversion,
85 specify the frame rate as a fraction. For example, 24000 / 1001 =
86 23.976 fps. Use FramerateDenominator to specify the denominator of this
87 fraction. In this example, use 1001 for the value of
88 FramerateDenominator. When you use the console for transcode jobs that
89 use frame rate conversion, provide the value as a decimal number for
90 Framerate. In this example, specify 23.976.
91  
92  
93 =head2 FramerateNumerator => Int
94  
95 When you use the API for transcode jobs that use frame rate conversion,
96 specify the frame rate as a fraction. For example, 24000 / 1001 =
97 23.976 fps. Use FramerateNumerator to specify the numerator of this
98 fraction. In this example, use 24000 for the value of
99 FramerateNumerator. When you use the console for transcode jobs that
100 use frame rate conversion, provide the value as a decimal number for
101 Framerate. In this example, specify 23.976.
102  
103  
104 =head2 InterlaceMode => Str
105  
106 Optional. Choose the scan line type for this output. If you don't
107 specify a value, MediaConvert will create a progressive output.
108  
109  
110 =head2 ScanTypeConversionMode => Str
111  
112 Use this setting for interlaced outputs, when your output frame rate is
113 half of your input frame rate. In this situation, choose Optimized
114 interlacing (INTERLACED_OPTIMIZE) to create a better quality interlaced
115 output. In this case, each progressive frame from the input corresponds
116 to an interlaced field in the output. Keep the default value, Basic
117 interlacing (INTERLACED), for all other output frame rates. With basic
118 interlacing, MediaConvert performs any frame rate conversion first and
119 then interlaces the frames. When you choose Optimized interlacing and
120 you set your output frame rate to a value that isn't suitable for
121 optimized interlacing, MediaConvert automatically falls back to basic
122 interlacing. Required settings: To use optimized interlacing, you must
123 set Telecine (telecine) to None (NONE) or Soft (SOFT). You can't use
124 optimized interlacing for hard telecine outputs. You must also set
125 Interlace mode (interlaceMode) to a value other than Progressive
126 (PROGRESSIVE).
127  
128  
129 =head2 SlowPal => Str
130  
131 Ignore this setting unless your input frame rate is 23.976 or 24 frames
132 per second (fps). Enable slow PAL to create a 25 fps output by
133 relabeling the video frames and resampling your audio. Note that
134 enabling this setting will slightly reduce the duration of your video.
135 Related settings: You must also set Framerate to 25. In your JSON job
136 specification, set (framerateControl) to (SPECIFIED),
137 (framerateNumerator) to 25 and (framerateDenominator) to 1.
138  
139  
140 =head2 Telecine => Str
141  
142 When you do frame rate conversion from 23.976 frames per second (fps)
143 to 29.97 fps, and your output scan type is interlaced, you can
144 optionally enable hard telecine (HARD) to create a smoother picture.
145 When you keep the default value, None (NONE), MediaConvert does a
146 standard frame rate conversion to 29.97 without doing anything with the
147 field polarity to create a smoother picture.
148  
149  
150 =head2 Vc3Class => Str
151  
152 Specify the VC3 class to choose the quality characteristics for this
153 output. VC3 class, together with the settings Framerate
154 (framerateNumerator and framerateDenominator) and Resolution (height
155 and width), determine your output bitrate. For example, say that your
156 video resolution is 1920x1080 and your framerate is 29.97. Then Class
157 145 (CLASS_145) gives you an output with a bitrate of approximately 145
158 Mbps and Class 220 (CLASS_220) gives you and output with a bitrate of
159 approximately 220 Mbps. VC3 class also specifies the color bit depth of
160 your output.
161  
162  
163  
164 =head1 SEE ALSO
165  
166 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert>
167  
168 =head1 BUGS and CONTRIBUTIONS
169  
170 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
171  
172 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
173  
174 =cut
175