blib/lib/Paws/MediaConvert/AacSettings.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::AacSettings;
3 use Moose;
4 has AudioDescriptionBroadcasterMix => (is => 'ro', isa => 'Str', request_name => 'audioDescriptionBroadcasterMix', traits => ['NameInRequest']);
5 has Bitrate => (is => 'ro', isa => 'Int', request_name => 'bitrate', traits => ['NameInRequest']);
6 has CodecProfile => (is => 'ro', isa => 'Str', request_name => 'codecProfile', traits => ['NameInRequest']);
7 has CodingMode => (is => 'ro', isa => 'Str', request_name => 'codingMode', traits => ['NameInRequest']);
8 has RateControlMode => (is => 'ro', isa => 'Str', request_name => 'rateControlMode', traits => ['NameInRequest']);
9 has RawFormat => (is => 'ro', isa => 'Str', request_name => 'rawFormat', traits => ['NameInRequest']);
10 has SampleRate => (is => 'ro', isa => 'Int', request_name => 'sampleRate', traits => ['NameInRequest']);
11 has Specification => (is => 'ro', isa => 'Str', request_name => 'specification', traits => ['NameInRequest']);
12 has VbrQuality => (is => 'ro', isa => 'Str', request_name => 'vbrQuality', traits => ['NameInRequest']);
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::MediaConvert::AacSettings
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::AacSettings object:
32  
33 $service_obj->Method(Att1 => { AudioDescriptionBroadcasterMix => $value, ..., VbrQuality => $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::AacSettings object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->AudioDescriptionBroadcasterMix
41  
42 =head1 DESCRIPTION
43  
44 Required when you set (Codec) under
45 (AudioDescriptions)E<gt>(CodecSettings) to the value AAC. The service
46 accepts one of two mutually exclusive groups of AAC settings--VBR and
47 CBR. To select one of these modes, set the value of Bitrate control
48 mode (rateControlMode) to "VBR" or "CBR". In VBR mode, you control the
49 audio quality with the setting VBR quality (vbrQuality). In CBR mode,
50 you use the setting Bitrate (bitrate). Defaults and valid values depend
51 on the rate control mode.
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 AudioDescriptionBroadcasterMix => Str
57  
58 Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main
59 audio + audio description (AD) as a stereo pair. The value for
60 AudioType will be set to 3, which signals to downstream systems that
61 this stream contains "broadcaster mixed AD". Note that the input
62 received by the encoder must contain pre-mixed audio; the encoder does
63 not perform the mixing. When you choose BROADCASTER_MIXED_AD, the
64 encoder ignores any values you provide in AudioType and
65 FollowInputAudioType. Choose NORMAL when the input does not contain
66 pre-mixed audio + audio description (AD). In this case, the encoder
67 will use any values you provide for AudioType and FollowInputAudioType.
68  
69  
70 =head2 Bitrate => Int
71  
72 Specify the average bitrate in bits per second. The set of valid values
73 for this setting is: 6000, 8000, 10000, 12000, 14000, 16000, 20000,
74 24000, 28000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000,
75 128000, 160000, 192000, 224000, 256000, 288000, 320000, 384000, 448000,
76 512000, 576000, 640000, 768000, 896000, 1024000. The value you set is
77 also constrained by the values that you choose for Profile
78 (codecProfile), Bitrate control mode (codingMode), and Sample rate
79 (sampleRate). Default values depend on Bitrate control mode and
80 Profile.
81  
82  
83 =head2 CodecProfile => Str
84  
85 AAC Profile.
86  
87  
88 =head2 CodingMode => Str
89  
90 Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid
91 values depend on rate control mode and profile. "1.0 - Audio
92 Description (Receiver Mix)" setting receives a stereo description plus
93 control track and emits a mono AAC encode of the description track,
94 with control data emitted in the PES header as per ETSI TS 101 154
95 Annex E.
96  
97  
98 =head2 RateControlMode => Str
99  
100 Rate Control Mode.
101  
102  
103 =head2 RawFormat => Str
104  
105 Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an
106 output, you must choose "No container" for the output container.
107  
108  
109 =head2 SampleRate => Int
110  
111 Sample rate in Hz. Valid values depend on rate control mode and
112 profile.
113  
114  
115 =head2 Specification => Str
116  
117 Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport
118 Stream containers.
119  
120  
121 =head2 VbrQuality => Str
122  
123 VBR Quality Level - Only used if rate_control_mode is VBR.
124  
125  
126  
127 =head1 SEE ALSO
128  
129 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert>
130  
131 =head1 BUGS and CONTRIBUTIONS
132  
133 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
134  
135 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
136  
137 =cut
138