libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaConvert.Types.Mp3Settings

Description

 
Synopsis

Documentation

data Mp3Settings Source #

Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.

See: newMp3Settings smart constructor.

Constructors

Mp3Settings' 

Fields

  • channels :: Maybe Natural

    Specify the number of channels in this output audio track. Choosing Mono on the console gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.

  • rateControlMode :: Maybe Mp3RateControlMode

    Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).

  • sampleRate :: Maybe Natural

    Sample rate in hz.

  • bitrate :: Maybe Natural

    Specify the average bitrate in bits per second.

  • vbrQuality :: Maybe Natural

    Required when you set Bitrate control mode (rateControlMode) to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).

Instances

Instances details
Eq Mp3Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp3Settings

Read Mp3Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp3Settings

Show Mp3Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp3Settings

Generic Mp3Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp3Settings

Associated Types

type Rep Mp3Settings :: Type -> Type #

NFData Mp3Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp3Settings

Methods

rnf :: Mp3Settings -> () #

Hashable Mp3Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp3Settings

ToJSON Mp3Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp3Settings

FromJSON Mp3Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp3Settings

type Rep Mp3Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp3Settings

type Rep Mp3Settings = D1 ('MetaData "Mp3Settings" "Amazonka.MediaConvert.Types.Mp3Settings" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "Mp3Settings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "channels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "rateControlMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Mp3RateControlMode))) :*: (S1 ('MetaSel ('Just "sampleRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "bitrate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "vbrQuality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))

newMp3Settings :: Mp3Settings Source #

Create a value of Mp3Settings with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:channels:Mp3Settings', mp3Settings_channels - Specify the number of channels in this output audio track. Choosing Mono on the console gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.

$sel:rateControlMode:Mp3Settings', mp3Settings_rateControlMode - Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).

$sel:sampleRate:Mp3Settings', mp3Settings_sampleRate - Sample rate in hz.

$sel:bitrate:Mp3Settings', mp3Settings_bitrate - Specify the average bitrate in bits per second.

$sel:vbrQuality:Mp3Settings', mp3Settings_vbrQuality - Required when you set Bitrate control mode (rateControlMode) to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).

mp3Settings_channels :: Lens' Mp3Settings (Maybe Natural) Source #

Specify the number of channels in this output audio track. Choosing Mono on the console gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.

mp3Settings_rateControlMode :: Lens' Mp3Settings (Maybe Mp3RateControlMode) Source #

Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).

mp3Settings_bitrate :: Lens' Mp3Settings (Maybe Natural) Source #

Specify the average bitrate in bits per second.

mp3Settings_vbrQuality :: Lens' Mp3Settings (Maybe Natural) Source #

Required when you set Bitrate control mode (rateControlMode) to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).