Skip to content

/AWS1/CL_MDCVORBISSETTINGS

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

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_channels TYPE /AWS1/MDC__INTEGERMIN1MAX2 /AWS1/MDC__INTEGERMIN1MAX2

Optional. 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. The default value is 2.

iv_samplerate TYPE /AWS1/MDC__INTEGERMIN22050MA00 /AWS1/MDC__INTEGERMIN22050MA00

Optional. Specify the audio sample rate in Hz. Valid values are 22050, 32000, 44100, and 48000. The default value is 48000.

iv_vbrquality TYPE /AWS1/MDC__INTEGERMINNEG1MAX10 /AWS1/MDC__INTEGERMINNEG1MAX10

Optional. Specify the variable audio quality of this Vorbis output from -1 (lowest quality, ~45 kbit/s) to 10 (highest quality, ~500 kbit/s). The default value is 4 (~128 kbit/s). Values 5 and 6 are approximately 160 and 192 kbit/s, respectively.


Queryable Attributes

Channels

Optional. 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. The default value is 2.

Accessible with the following methods

Method Description
GET_CHANNELS() Getter for CHANNELS, with configurable default
ASK_CHANNELS() Getter for CHANNELS w/ exceptions if field has no value
HAS_CHANNELS() Determine if CHANNELS has a value

SampleRate

Optional. Specify the audio sample rate in Hz. Valid values are 22050, 32000, 44100, and 48000. The default value is 48000.

Accessible with the following methods

Method Description
GET_SAMPLERATE() Getter for SAMPLERATE, with configurable default
ASK_SAMPLERATE() Getter for SAMPLERATE w/ exceptions if field has no value
HAS_SAMPLERATE() Determine if SAMPLERATE has a value

VbrQuality

Optional. Specify the variable audio quality of this Vorbis output from -1 (lowest quality, ~45 kbit/s) to 10 (highest quality, ~500 kbit/s). The default value is 4 (~128 kbit/s). Values 5 and 6 are approximately 160 and 192 kbit/s, respectively.

Accessible with the following methods

Method Description
GET_VBRQUALITY() Getter for VBRQUALITY, with configurable default
ASK_VBRQUALITY() Getter for VBRQUALITY w/ exceptions if field has no value
HAS_VBRQUALITY() Determine if VBRQUALITY has a value