line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::ElasticTranscoder::AudioCodecOptions; |
2
|
1
|
|
|
1
|
|
606
|
use Moose; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
11
|
|
3
|
|
|
|
|
|
|
has BitDepth => (is => 'ro', isa => 'Str'); |
4
|
|
|
|
|
|
|
has BitOrder => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has Profile => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has Signed => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
1; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
### main pod documentation begin ### |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Paws::ElasticTranscoder::AudioCodecOptions |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 USAGE |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
This class represents one of two things: |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
22
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::ElasticTranscoder::AudioCodecOptions object: |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { BitDepth => $value, ..., Signed => $value }); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head3 Results returned from an API call |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticTranscoder::AudioCodecOptions object: |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
33
|
|
|
|
|
|
|
$result->Att1->BitDepth |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 DESCRIPTION |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Options associated with your audio codec. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head2 BitDepth => Str |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
You can only choose an audio bit depth when you specify C<flac> or |
45
|
|
|
|
|
|
|
C<pcm> for the value of Audio:Codec. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
The bit depth of a sample is how many bits of information are included |
48
|
|
|
|
|
|
|
in the audio samples. The higher the bit depth, the better the audio, |
49
|
|
|
|
|
|
|
but the larger the file. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Valid values are C<16> and C<24>. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
The most common bit depth is C<24>. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 BitOrder => Str |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
You can only choose an audio bit order when you specify C<pcm> for the |
59
|
|
|
|
|
|
|
value of Audio:Codec. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
The order the bits of a PCM sample are stored in. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
The supported value is C<LittleEndian>. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head2 Profile => Str |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
You can only choose an audio profile when you specify AAC for the value |
69
|
|
|
|
|
|
|
of Audio:Codec. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
Specify the AAC profile for the output file. Elastic Transcoder |
72
|
|
|
|
|
|
|
supports the following profiles: |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=over |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=item * |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
C<auto>: If you specify C<auto>, Elastic Transcoder selects the profile |
79
|
|
|
|
|
|
|
based on the bit rate selected for the output file. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=item * |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
C<AAC-LC>: The most common AAC profile. Use for bit rates larger than |
84
|
|
|
|
|
|
|
64 kbps. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=item * |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
C<HE-AAC>: Not supported on some older players and devices. Use for bit |
89
|
|
|
|
|
|
|
rates between 40 and 80 kbps. |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=item * |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
C<HE-AACv2>: Not supported on some players and devices. Use for bit |
94
|
|
|
|
|
|
|
rates less than 48 kbps. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=back |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
All outputs in a C<Smooth> playlist must have the same value for |
99
|
|
|
|
|
|
|
C<Profile>. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
If you created any presets before AAC profiles were added, Elastic |
102
|
|
|
|
|
|
|
Transcoder automatically updated your presets to use AAC-LC. You can |
103
|
|
|
|
|
|
|
change the value as required. |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head2 Signed => Str |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
You can only choose whether an audio sample is signed when you specify |
109
|
|
|
|
|
|
|
C<pcm> for the value of Audio:Codec. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
Whether audio samples are represented with negative and positive |
112
|
|
|
|
|
|
|
numbers (signed) or only positive numbers (unsigned). |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
The supported value is C<Signed>. |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head1 SEE ALSO |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::ElasticTranscoder> |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=cut |
129
|
|
|
|
|
|
|
|