Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data AacSettings = AacSettings' {
- audioDescriptionBroadcasterMix :: Maybe AacAudioDescriptionBroadcasterMix
- bitrate :: Maybe Natural
- codecProfile :: Maybe AacCodecProfile
- codingMode :: Maybe AacCodingMode
- rateControlMode :: Maybe AacRateControlMode
- rawFormat :: Maybe AacRawFormat
- sampleRate :: Maybe Natural
- specification :: Maybe AacSpecification
- vbrQuality :: Maybe AacVbrQuality
- newAacSettings :: AacSettings
- aacSettings_audioDescriptionBroadcasterMix :: Lens' AacSettings (Maybe AacAudioDescriptionBroadcasterMix)
- aacSettings_bitrate :: Lens' AacSettings (Maybe Natural)
- aacSettings_codecProfile :: Lens' AacSettings (Maybe AacCodecProfile)
- aacSettings_codingMode :: Lens' AacSettings (Maybe AacCodingMode)
- aacSettings_rateControlMode :: Lens' AacSettings (Maybe AacRateControlMode)
- aacSettings_rawFormat :: Lens' AacSettings (Maybe AacRawFormat)
- aacSettings_sampleRate :: Lens' AacSettings (Maybe Natural)
- aacSettings_specification :: Lens' AacSettings (Maybe AacSpecification)
- aacSettings_vbrQuality :: Lens' AacSettings (Maybe AacVbrQuality)
Documentation
data 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.
See: newAacSettings
smart constructor.
AacSettings' | |
|
Instances
newAacSettings :: AacSettings Source #
Create a value of AacSettings
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:audioDescriptionBroadcasterMix:AacSettings'
, aacSettings_audioDescriptionBroadcasterMix
- Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio
+ audio description (AD) as a stereo pair. The value for AudioType will
be set to 3, which signals to downstream systems that this stream
contains "broadcaster mixed AD". Note that the input received by the
encoder must contain pre-mixed audio; the encoder does not perform the
mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any
values you provide in AudioType and FollowInputAudioType. Choose NORMAL
when the input does not contain pre-mixed audio + audio description
(AD). In this case, the encoder will use any values you provide for
AudioType and FollowInputAudioType.
$sel:bitrate:AacSettings'
, aacSettings_bitrate
- Specify the average bitrate in bits per second. The set of valid values
for this setting is: 6000, 8000, 10000, 12000, 14000, 16000, 20000,
24000, 28000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000,
128000, 160000, 192000, 224000, 256000, 288000, 320000, 384000, 448000,
512000, 576000, 640000, 768000, 896000, 1024000. The value you set is
also constrained by the values that you choose for Profile
(codecProfile), Bitrate control mode (codingMode), and Sample rate
(sampleRate). Default values depend on Bitrate control mode and Profile.
$sel:codecProfile:AacSettings'
, aacSettings_codecProfile
- AAC Profile.
$sel:codingMode:AacSettings'
, aacSettings_codingMode
- The Coding mode that you specify determines the number of audio channels
and the audio channel layout metadata in your AAC output. Valid coding
modes depend on the Rate control mode and Profile that you select. The
following list shows the number of audio channels and channel layout for
each coding mode. * 1.0 Audio Description (Receiver Mix): One channel,
C. Includes audio description data from your stereo input. For more
information see ETSI TS 101 154 Annex E. * 1.0 Mono: One channel, C. *
2.0 Stereo: Two channels, L, R. * 5.1 Surround: Five channels, C, L, R,
Ls, Rs, LFE.
$sel:rateControlMode:AacSettings'
, aacSettings_rateControlMode
- Rate Control Mode.
$sel:rawFormat:AacSettings'
, aacSettings_rawFormat
- Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an
output, you must choose "No container" for the output container.
$sel:sampleRate:AacSettings'
, aacSettings_sampleRate
- Specify the Sample rate in Hz. Valid sample rates depend on the Profile
and Coding mode that you select. The following list shows valid sample
rates for each Profile and Coding mode. * LC Profile, Coding mode 1.0,
2.0, and Receiver Mix: 8000, 12000, 16000, 22050, 24000, 32000, 44100,
48000, 88200, 96000. * LC Profile, Coding mode 5.1: 32000, 44100, 48000,
96000. * HEV1 Profile, Coding mode 1.0 and Receiver Mix: 22050, 24000,
32000, 44100, 48000. * HEV1 Profile, Coding mode 2.0 and 5.1: 32000,
44100, 48000, 96000. * HEV2 Profile, Coding mode 2.0: 22050, 24000,
32000, 44100, 48000.
$sel:specification:AacSettings'
, aacSettings_specification
- Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport
Stream containers.
$sel:vbrQuality:AacSettings'
, aacSettings_vbrQuality
- VBR Quality Level - Only used if rate_control_mode is VBR.
aacSettings_audioDescriptionBroadcasterMix :: Lens' AacSettings (Maybe AacAudioDescriptionBroadcasterMix) Source #
Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.
aacSettings_bitrate :: Lens' AacSettings (Maybe Natural) Source #
Specify the average bitrate in bits per second. The set of valid values for this setting is: 6000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 384000, 448000, 512000, 576000, 640000, 768000, 896000, 1024000. The value you set is also constrained by the values that you choose for Profile (codecProfile), Bitrate control mode (codingMode), and Sample rate (sampleRate). Default values depend on Bitrate control mode and Profile.
aacSettings_codecProfile :: Lens' AacSettings (Maybe AacCodecProfile) Source #
AAC Profile.
aacSettings_codingMode :: Lens' AacSettings (Maybe AacCodingMode) Source #
The Coding mode that you specify determines the number of audio channels and the audio channel layout metadata in your AAC output. Valid coding modes depend on the Rate control mode and Profile that you select. The following list shows the number of audio channels and channel layout for each coding mode. * 1.0 Audio Description (Receiver Mix): One channel, C. Includes audio description data from your stereo input. For more information see ETSI TS 101 154 Annex E. * 1.0 Mono: One channel, C. * 2.0 Stereo: Two channels, L, R. * 5.1 Surround: Five channels, C, L, R, Ls, Rs, LFE.
aacSettings_rateControlMode :: Lens' AacSettings (Maybe AacRateControlMode) Source #
Rate Control Mode.
aacSettings_rawFormat :: Lens' AacSettings (Maybe AacRawFormat) Source #
Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, you must choose "No container" for the output container.
aacSettings_sampleRate :: Lens' AacSettings (Maybe Natural) Source #
Specify the Sample rate in Hz. Valid sample rates depend on the Profile and Coding mode that you select. The following list shows valid sample rates for each Profile and Coding mode. * LC Profile, Coding mode 1.0, 2.0, and Receiver Mix: 8000, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000. * LC Profile, Coding mode 5.1: 32000, 44100, 48000, 96000. * HEV1 Profile, Coding mode 1.0 and Receiver Mix: 22050, 24000, 32000, 44100, 48000. * HEV1 Profile, Coding mode 2.0 and 5.1: 32000, 44100, 48000, 96000. * HEV2 Profile, Coding mode 2.0: 22050, 24000, 32000, 44100, 48000.
aacSettings_specification :: Lens' AacSettings (Maybe AacSpecification) Source #
Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
aacSettings_vbrQuality :: Lens' AacSettings (Maybe AacVbrQuality) Source #
VBR Quality Level - Only used if rate_control_mode is VBR.