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