amazonka-mediaconvert-2.0: Amazon Elemental MediaConvert SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MediaConvert.Types.AudioCodecSettings

Description

 
Synopsis

Documentation

data AudioCodecSettings Source #

Settings related to audio encoding. The settings in this group vary depending on the value that you choose for your audio codec.

See: newAudioCodecSettings smart constructor.

Constructors

AudioCodecSettings' 

Fields

  • aacSettings :: Maybe AacSettings

    Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AAC. The service accepts one of two mutually exclusive groups of AAC settings--VBR and CBR. To select one of these modes, set the value of Bitrate control mode (rateControlMode) to "VBR" or "CBR". In VBR mode, you control the audio quality with the setting VBR quality (vbrQuality). In CBR mode, you use the setting Bitrate (bitrate). Defaults and valid values depend on the rate control mode.

  • ac3Settings :: Maybe Ac3Settings

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

  • aiffSettings :: Maybe AiffSettings

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

  • codec :: Maybe AudioCodec

    Choose the audio codec for this output. Note that the option Dolby Digital passthrough (PASSTHROUGH) applies only to Dolby Digital and Dolby Digital Plus audio inputs. Make sure that you choose a codec that's supported with your output container: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#reference-codecs-containers-output-audio For audio-only outputs, make sure that both your input audio codec and your output audio codec are supported for audio-only workflows. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers-input.html#reference-codecs-containers-input-audio-only and https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#audio-only-output

  • eac3AtmosSettings :: Maybe Eac3AtmosSettings

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

  • eac3Settings :: Maybe Eac3Settings

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

  • mp2Settings :: Maybe Mp2Settings

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

  • mp3Settings :: Maybe Mp3Settings

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

  • opusSettings :: Maybe OpusSettings

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

  • vorbisSettings :: Maybe VorbisSettings

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

  • wavSettings :: Maybe WavSettings

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

Instances

Instances details
FromJSON AudioCodecSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.AudioCodecSettings

ToJSON AudioCodecSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.AudioCodecSettings

Generic AudioCodecSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.AudioCodecSettings

Associated Types

type Rep AudioCodecSettings :: Type -> Type #

Read AudioCodecSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.AudioCodecSettings

Show AudioCodecSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.AudioCodecSettings

NFData AudioCodecSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.AudioCodecSettings

Methods

rnf :: AudioCodecSettings -> () #

Eq AudioCodecSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.AudioCodecSettings

Hashable AudioCodecSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.AudioCodecSettings

type Rep AudioCodecSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.AudioCodecSettings

type Rep AudioCodecSettings = D1 ('MetaData "AudioCodecSettings" "Amazonka.MediaConvert.Types.AudioCodecSettings" "amazonka-mediaconvert-2.0-ClG8xHhlx4y6bdaCrZchqH" 'False) (C1 ('MetaCons "AudioCodecSettings'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "aacSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AacSettings)) :*: S1 ('MetaSel ('Just "ac3Settings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Ac3Settings))) :*: (S1 ('MetaSel ('Just "aiffSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AiffSettings)) :*: (S1 ('MetaSel ('Just "codec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AudioCodec)) :*: S1 ('MetaSel ('Just "eac3AtmosSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Eac3AtmosSettings))))) :*: ((S1 ('MetaSel ('Just "eac3Settings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Eac3Settings)) :*: (S1 ('MetaSel ('Just "mp2Settings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Mp2Settings)) :*: S1 ('MetaSel ('Just "mp3Settings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Mp3Settings)))) :*: (S1 ('MetaSel ('Just "opusSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpusSettings)) :*: (S1 ('MetaSel ('Just "vorbisSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VorbisSettings)) :*: S1 ('MetaSel ('Just "wavSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WavSettings)))))))

newAudioCodecSettings :: AudioCodecSettings Source #

Create a value of AudioCodecSettings 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:aacSettings:AudioCodecSettings', audioCodecSettings_aacSettings - Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AAC. The service accepts one of two mutually exclusive groups of AAC settings--VBR and CBR. To select one of these modes, set the value of Bitrate control mode (rateControlMode) to "VBR" or "CBR". In VBR mode, you control the audio quality with the setting VBR quality (vbrQuality). In CBR mode, you use the setting Bitrate (bitrate). Defaults and valid values depend on the rate control mode.

$sel:ac3Settings:AudioCodecSettings', audioCodecSettings_ac3Settings - Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AC3.

$sel:aiffSettings:AudioCodecSettings', audioCodecSettings_aiffSettings - Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AIFF.

$sel:codec:AudioCodecSettings', audioCodecSettings_codec - Choose the audio codec for this output. Note that the option Dolby Digital passthrough (PASSTHROUGH) applies only to Dolby Digital and Dolby Digital Plus audio inputs. Make sure that you choose a codec that's supported with your output container: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#reference-codecs-containers-output-audio For audio-only outputs, make sure that both your input audio codec and your output audio codec are supported for audio-only workflows. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers-input.html#reference-codecs-containers-input-audio-only and https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#audio-only-output

$sel:eac3AtmosSettings:AudioCodecSettings', audioCodecSettings_eac3AtmosSettings - Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3_ATMOS.

$sel:eac3Settings:AudioCodecSettings', audioCodecSettings_eac3Settings - Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3.

$sel:mp2Settings:AudioCodecSettings', audioCodecSettings_mp2Settings - Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value MP2.

$sel:mp3Settings:AudioCodecSettings', audioCodecSettings_mp3Settings - Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.

$sel:opusSettings:AudioCodecSettings', audioCodecSettings_opusSettings - Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.

$sel:vorbisSettings:AudioCodecSettings', audioCodecSettings_vorbisSettings - Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.

$sel:wavSettings:AudioCodecSettings', audioCodecSettings_wavSettings - Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value WAV.

audioCodecSettings_aacSettings :: Lens' AudioCodecSettings (Maybe AacSettings) Source #

Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AAC. The service accepts one of two mutually exclusive groups of AAC settings--VBR and CBR. To select one of these modes, set the value of Bitrate control mode (rateControlMode) to "VBR" or "CBR". In VBR mode, you control the audio quality with the setting VBR quality (vbrQuality). In CBR mode, you use the setting Bitrate (bitrate). Defaults and valid values depend on the rate control mode.

audioCodecSettings_ac3Settings :: Lens' AudioCodecSettings (Maybe Ac3Settings) Source #

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

audioCodecSettings_aiffSettings :: Lens' AudioCodecSettings (Maybe AiffSettings) Source #

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

audioCodecSettings_codec :: Lens' AudioCodecSettings (Maybe AudioCodec) Source #

Choose the audio codec for this output. Note that the option Dolby Digital passthrough (PASSTHROUGH) applies only to Dolby Digital and Dolby Digital Plus audio inputs. Make sure that you choose a codec that's supported with your output container: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#reference-codecs-containers-output-audio For audio-only outputs, make sure that both your input audio codec and your output audio codec are supported for audio-only workflows. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers-input.html#reference-codecs-containers-input-audio-only and https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#audio-only-output

audioCodecSettings_eac3AtmosSettings :: Lens' AudioCodecSettings (Maybe Eac3AtmosSettings) Source #

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

audioCodecSettings_eac3Settings :: Lens' AudioCodecSettings (Maybe Eac3Settings) Source #

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

audioCodecSettings_mp2Settings :: Lens' AudioCodecSettings (Maybe Mp2Settings) Source #

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

audioCodecSettings_mp3Settings :: Lens' AudioCodecSettings (Maybe Mp3Settings) Source #

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

audioCodecSettings_opusSettings :: Lens' AudioCodecSettings (Maybe OpusSettings) Source #

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

audioCodecSettings_vorbisSettings :: Lens' AudioCodecSettings (Maybe VorbisSettings) Source #

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

audioCodecSettings_wavSettings :: Lens' AudioCodecSettings (Maybe WavSettings) Source #

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