blib/lib/Paws/MediaLive/Mpeg2Settings.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::MediaLive::Mpeg2Settings;
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 ColorMetadata => (is => 'ro', isa => 'Str', request_name => 'colorMetadata', traits => ['NameInRequest']);
7 has ColorSpace => (is => 'ro', isa => 'Str', request_name => 'colorSpace', traits => ['NameInRequest']);
8 has DisplayAspectRatio => (is => 'ro', isa => 'Str', request_name => 'displayAspectRatio', traits => ['NameInRequest']);
9 has FilterSettings => (is => 'ro', isa => 'Paws::MediaLive::Mpeg2FilterSettings', request_name => 'filterSettings', traits => ['NameInRequest']);
10 has FixedAfd => (is => 'ro', isa => 'Str', request_name => 'fixedAfd', traits => ['NameInRequest']);
11 has FramerateDenominator => (is => 'ro', isa => 'Int', request_name => 'framerateDenominator', traits => ['NameInRequest'], required => 1);
12 has FramerateNumerator => (is => 'ro', isa => 'Int', request_name => 'framerateNumerator', traits => ['NameInRequest'], required => 1);
13 has GopClosedCadence => (is => 'ro', isa => 'Int', request_name => 'gopClosedCadence', traits => ['NameInRequest']);
14 has GopNumBFrames => (is => 'ro', isa => 'Int', request_name => 'gopNumBFrames', traits => ['NameInRequest']);
15 has GopSize => (is => 'ro', isa => 'Num', request_name => 'gopSize', traits => ['NameInRequest']);
16 has GopSizeUnits => (is => 'ro', isa => 'Str', request_name => 'gopSizeUnits', traits => ['NameInRequest']);
17 has ScanType => (is => 'ro', isa => 'Str', request_name => 'scanType', traits => ['NameInRequest']);
18 has SubgopLength => (is => 'ro', isa => 'Str', request_name => 'subgopLength', traits => ['NameInRequest']);
19 has TimecodeInsertion => (is => 'ro', isa => 'Str', request_name => 'timecodeInsertion', traits => ['NameInRequest']);
20  
21 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::MediaLive::Mpeg2Settings
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::MediaLive::Mpeg2Settings object:
39  
40 $service_obj->Method(Att1 => { AdaptiveQuantization => $value, ..., TimecodeInsertion => $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::MediaLive::Mpeg2Settings object:
45  
46 $result = $service_obj->Method(...);
47 $result->Att1->AdaptiveQuantization
48  
49 =head1 DESCRIPTION
50  
51 Mpeg2 Settings
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 AdaptiveQuantization => Str
57  
58 Choose Off to disable adaptive quantization. Or choose another value to
59 enable the quantizer and set its strength. The strengths are: Auto,
60 Off, Low, Medium, High. When you enable this field, MediaLive allows
61 intra-frame quantizers to vary, which might improve visual quality.
62  
63  
64 =head2 AfdSignaling => Str
65  
66 Indicates the AFD values that MediaLive will write into the video
67 encode. If you do not know what AFD signaling is, or if your downstream
68 system has not given you guidance, choose AUTO. AUTO: MediaLive will
69 try to preserve the input AFD value (in cases where multiple AFD values
70 are valid). FIXED: MediaLive will use the value you specify in
71 fixedAFD.
72  
73  
74 =head2 ColorMetadata => Str
75  
76 Specifies whether to include the color space metadata. The metadata
77 describes the color space that applies to the video (the colorSpace
78 field). We recommend that you insert the metadata.
79  
80  
81 =head2 ColorSpace => Str
82  
83 Choose the type of color space conversion to apply to the output. For
84 detailed information on setting up both the input and the output to
85 obtain the desired color space in the output, see the section on
86 \"MediaLive Features - Video - color space\" in the MediaLive User
87 Guide. PASSTHROUGH: Keep the color space of the input content - do not
88 convert it. AUTO:Convert all content that is SD to rec 601, and convert
89 all content that is HD to rec 709.
90  
91  
92 =head2 DisplayAspectRatio => Str
93  
94 Sets the pixel aspect ratio for the encode.
95  
96  
97 =head2 FilterSettings => L<Paws::MediaLive::Mpeg2FilterSettings>
98  
99 Optionally specify a noise reduction filter, which can improve quality
100 of compressed content. If you do not choose a filter, no filter will be
101 applied. TEMPORAL: This filter is useful for both source content that
102 is noisy (when it has excessive digital artifacts) and source content
103 that is clean. When the content is noisy, the filter cleans up the
104 source content before the encoding phase, with these two effects:
105 First, it improves the output video quality because the content has
106 been cleaned up. Secondly, it decreases the bandwidth because MediaLive
107 does not waste bits on encoding noise. When the content is reasonably
108 clean, the filter tends to decrease the bitrate.
109  
110  
111 =head2 FixedAfd => Str
112  
113 Complete this field only when afdSignaling is set to FIXED. Enter the
114 AFD value (4 bits) to write on all frames of the video encode.
115  
116  
117 =head2 B<REQUIRED> FramerateDenominator => Int
118  
119 description": "The framerate denominator. For example, 1001. The
120 framerate is the numerator divided by the denominator. For example,
121 24000 / 1001 = 23.976 FPS.
122  
123  
124 =head2 B<REQUIRED> FramerateNumerator => Int
125  
126 The framerate numerator. For example, 24000. The framerate is the
127 numerator divided by the denominator. For example, 24000 / 1001 =
128 23.976 FPS.
129  
130  
131 =head2 GopClosedCadence => Int
132  
133 MPEG2: default is open GOP.
134  
135  
136 =head2 GopNumBFrames => Int
137  
138 Relates to the GOP structure. The number of B-frames between reference
139 frames. If you do not know what a B-frame is, use the default.
140  
141  
142 =head2 GopSize => Num
143  
144 Relates to the GOP structure. The GOP size (keyframe interval) in the
145 units specified in gopSizeUnits. If you do not know what GOP is, use
146 the default. If gopSizeUnits is frames, then the gopSize must be an
147 integer and must be greater than or equal to 1. If gopSizeUnits is
148 seconds, the gopSize must be greater than 0, but does not need to be an
149 integer.
150  
151  
152 =head2 GopSizeUnits => Str
153  
154 Relates to the GOP structure. Specifies whether the gopSize is
155 specified in frames or seconds. If you do not plan to change the
156 default gopSize, leave the default. If you specify SECONDS, MediaLive
157 will internally convert the gop size to a frame count.
158  
159  
160 =head2 ScanType => Str
161  
162 Set the scan type of the output to PROGRESSIVE or INTERLACED (top field
163 first).
164  
165  
166 =head2 SubgopLength => Str
167  
168 Relates to the GOP structure. If you do not know what GOP is, use the
169 default. FIXED: Set the number of B-frames in each sub-GOP to the value
170 in gopNumBFrames. DYNAMIC: Let MediaLive optimize the number of
171 B-frames in each sub-GOP, to improve visual quality.
172  
173  
174 =head2 TimecodeInsertion => Str
175  
176 Determines how MediaLive inserts timecodes in the output video. For
177 detailed information about setting up the input and the output for a
178 timecode, see the section on \"MediaLive Features - Timecode
179 configuration\" in the MediaLive User Guide. DISABLED: do not include
180 timecodes. GOP_TIMECODE: Include timecode metadata in the GOP header.
181  
182  
183  
184 =head1 SEE ALSO
185  
186 This class forms part of L<Paws>, describing an object used in L<Paws::MediaLive>
187  
188 =head1 BUGS and CONTRIBUTIONS
189  
190 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
191  
192 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
193  
194 =cut
195