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

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 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::VideoDescription;
3 use Moose;
4 has CodecSettings => (is => 'ro', isa => 'Paws::MediaLive::VideoCodecSettings', request_name => 'codecSettings', traits => ['NameInRequest']);
5 has Height => (is => 'ro', isa => 'Int', request_name => 'height', traits => ['NameInRequest']);
6 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
7 has RespondToAfd => (is => 'ro', isa => 'Str', request_name => 'respondToAfd', traits => ['NameInRequest']);
8 has ScalingBehavior => (is => 'ro', isa => 'Str', request_name => 'scalingBehavior', traits => ['NameInRequest']);
9 has Sharpness => (is => 'ro', isa => 'Int', request_name => 'sharpness', traits => ['NameInRequest']);
10 has Width => (is => 'ro', isa => 'Int', request_name => 'width', traits => ['NameInRequest']);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::MediaLive::VideoDescription
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::MediaLive::VideoDescription object:
30  
31 $service_obj->Method(Att1 => { CodecSettings => $value, ..., Width => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaLive::VideoDescription object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->CodecSettings
39  
40 =head1 DESCRIPTION
41  
42 Video settings for this stream.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 CodecSettings => L<Paws::MediaLive::VideoCodecSettings>
48  
49 Video codec settings.
50  
51  
52 =head2 Height => Int
53  
54 Output video height, in pixels. Must be an even number. For most
55 codecs, you can leave this field and width blank in order to use the
56 height and width (resolution) from the source. Note, however, that
57 leaving blank is not recommended. For the Frame Capture codec, height
58 and width are required.
59  
60  
61 =head2 B<REQUIRED> Name => Str
62  
63 The name of this VideoDescription. Outputs will use this name to
64 uniquely identify this Description. Description names should be unique
65 within this Live Event.
66  
67  
68 =head2 RespondToAfd => Str
69  
70 Indicates how MediaLive will respond to the AFD values that might be in
71 the input video. If you do not know what AFD signaling is, or if your
72 downstream system has not given you guidance, choose PASSTHROUGH.
73 RESPOND: MediaLive clips the input video using a formula that uses the
74 AFD values (configured in afdSignaling ), the input display aspect
75 ratio, and the output display aspect ratio. MediaLive also includes the
76 AFD values in the output, unless the codec for this encode is
77 FRAME_CAPTURE. PASSTHROUGH: MediaLive ignores the AFD values and does
78 not clip the video. But MediaLive does include the values in the
79 output. NONE: MediaLive does not clip the input video and does not
80 include the AFD values in the output
81  
82  
83 =head2 ScalingBehavior => Str
84  
85 STRETCH_TO_OUTPUT configures the output position to stretch the video
86 to the specified output resolution (height and width). This option will
87 override any position value. DEFAULT may insert black boxes (pillar
88 boxes or letter boxes) around the video to provide the specified output
89 resolution.
90  
91  
92 =head2 Sharpness => Int
93  
94 Changes the strength of the anti-alias filter used for scaling. 0 is
95 the softest setting, 100 is the sharpest. A setting of 50 is
96 recommended for most content.
97  
98  
99 =head2 Width => Int
100  
101 Output video width, in pixels. Must be an even number. For most codecs,
102 you can leave this field and height blank in order to use the height
103 and width (resolution) from the source. Note, however, that leaving
104 blank is not recommended. For the Frame Capture codec, height and width
105 are required.
106  
107  
108  
109 =head1 SEE ALSO
110  
111 This class forms part of L<Paws>, describing an object used in L<Paws::MediaLive>
112  
113 =head1 BUGS and CONTRIBUTIONS
114  
115 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
116  
117 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
118  
119 =cut
120