| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaConvert::Mp3Settings; | ||
| 3 | use Moose; | ||
| 4 | has Bitrate => (is => 'ro', isa => 'Int', request_name => 'bitrate', traits => ['NameInRequest']); | ||
| 5 | has Channels => (is => 'ro', isa => 'Int', request_name => 'channels', traits => ['NameInRequest']); | ||
| 6 | has RateControlMode => (is => 'ro', isa => 'Str', request_name => 'rateControlMode', traits => ['NameInRequest']); | ||
| 7 | has SampleRate => (is => 'ro', isa => 'Int', request_name => 'sampleRate', traits => ['NameInRequest']); | ||
| 8 | has VbrQuality => (is => 'ro', isa => 'Int', request_name => 'vbrQuality', traits => ['NameInRequest']); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::MediaConvert::Mp3Settings | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::MediaConvert::Mp3Settings object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { Bitrate => $value, ..., VbrQuality => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::Mp3Settings object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->Bitrate | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Required when you set Codec, under AudioDescriptionsE<gt>CodecSettings, | ||
| 41 | to the value MP3. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 Bitrate => Int | ||
| 47 | |||
| 48 | Specify the average bitrate in bits per second. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 Channels => Int | ||
| 52 | |||
| 53 | Specify the number of channels in this output audio track. Choosing | ||
| 54 | Mono on the console gives you 1 output channel; choosing Stereo gives | ||
| 55 | you 2. In the API, valid values are 1 and 2. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 RateControlMode => Str | ||
| 59 | |||
| 60 | Specify whether the service encodes this MP3 audio output with a | ||
| 61 | constant bitrate (CBR) or a variable bitrate (VBR). | ||
| 62 | |||
| 63 | |||
| 64 | =head2 SampleRate => Int | ||
| 65 | |||
| 66 | Sample rate in hz. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 VbrQuality => Int | ||
| 70 | |||
| 71 | Required when you set Bitrate control mode (rateControlMode) to VBR. | ||
| 72 | Specify the audio quality of this MP3 output from 0 (highest quality) | ||
| 73 | to 9 (lowest quality). | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head1 SEE ALSO | ||
| 78 | |||
| 79 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert> | ||
| 80 | |||
| 81 | =head1 BUGS and CONTRIBUTIONS | ||
| 82 | |||
| 83 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 84 | |||
| 85 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 86 | |||
| 87 | =cut | ||
| 88 |