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

Description

 
Synopsis

Documentation

data OpusSettings Source #

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

See: newOpusSettings smart constructor.

Constructors

OpusSettings' 

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.

  • sampleRate :: Maybe Natural

    Optional. Sample rate in hz. Valid values are 16000, 24000, and 48000. The default value is 48000.

  • bitrate :: Maybe Natural

    Optional. Specify the average bitrate in bits per second. Valid values are multiples of 8000, from 32000 through 192000. The default value is 96000, which we recommend for quality and bandwidth.

Instances

Instances details
Eq OpusSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.OpusSettings

Read OpusSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.OpusSettings

Show OpusSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.OpusSettings

Generic OpusSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.OpusSettings

Associated Types

type Rep OpusSettings :: Type -> Type #

NFData OpusSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.OpusSettings

Methods

rnf :: OpusSettings -> () #

Hashable OpusSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.OpusSettings

ToJSON OpusSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.OpusSettings

FromJSON OpusSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.OpusSettings

type Rep OpusSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.OpusSettings

type Rep OpusSettings = D1 ('MetaData "OpusSettings" "Amazonka.MediaConvert.Types.OpusSettings" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "OpusSettings'" '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)))))

newOpusSettings :: OpusSettings Source #

Create a value of OpusSettings 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:OpusSettings', opusSettings_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:sampleRate:OpusSettings', opusSettings_sampleRate - Optional. Sample rate in hz. Valid values are 16000, 24000, and 48000. The default value is 48000.

$sel:bitrate:OpusSettings', opusSettings_bitrate - Optional. Specify the average bitrate in bits per second. Valid values are multiples of 8000, from 32000 through 192000. The default value is 96000, which we recommend for quality and bandwidth.

opusSettings_channels :: Lens' OpusSettings (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.

opusSettings_sampleRate :: Lens' OpusSettings (Maybe Natural) Source #

Optional. Sample rate in hz. Valid values are 16000, 24000, and 48000. The default value is 48000.

opusSettings_bitrate :: Lens' OpusSettings (Maybe Natural) Source #

Optional. Specify the average bitrate in bits per second. Valid values are multiples of 8000, from 32000 through 192000. The default value is 96000, which we recommend for quality and bandwidth.