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.Mp2Settings

Description

 
Synopsis

Documentation

data Mp2Settings Source #

Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value MP2.

See: newMp2Settings smart constructor.

Constructors

Mp2Settings' 

Fields

  • channels :: Maybe Natural

    Set Channels to specify the number of channels in this output audio track. Choosing Mono in the console will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.

  • sampleRate :: Maybe Natural

    Sample rate in hz.

  • bitrate :: Maybe Natural

    Specify the average bitrate in bits per second.

Instances

Instances details
Eq Mp2Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp2Settings

Read Mp2Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp2Settings

Show Mp2Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp2Settings

Generic Mp2Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp2Settings

Associated Types

type Rep Mp2Settings :: Type -> Type #

NFData Mp2Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp2Settings

Methods

rnf :: Mp2Settings -> () #

Hashable Mp2Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp2Settings

ToJSON Mp2Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp2Settings

FromJSON Mp2Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp2Settings

type Rep Mp2Settings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.Mp2Settings

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

newMp2Settings :: Mp2Settings Source #

Create a value of Mp2Settings 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:Mp2Settings', mp2Settings_channels - Set Channels to specify the number of channels in this output audio track. Choosing Mono in the console will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.

$sel:sampleRate:Mp2Settings', mp2Settings_sampleRate - Sample rate in hz.

$sel:bitrate:Mp2Settings', mp2Settings_bitrate - Specify the average bitrate in bits per second.

mp2Settings_channels :: Lens' Mp2Settings (Maybe Natural) Source #

Set Channels to specify the number of channels in this output audio track. Choosing Mono in the console will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.

mp2Settings_bitrate :: Lens' Mp2Settings (Maybe Natural) Source #

Specify the average bitrate in bits per second.