Audio Encoder

Encodes raw audio streams to AAC, Opus, MP3 or MP2 with configurable bitrate and quality

Component Configuration

Option Description Required Environment override

id

A unique identifier for the component instance

✓

displayName

The name shown in the Studio UI of this component

✓

renditionName

Name of this rendition of encoded audio

✓

channelLayout

Channel layout (default: "stereo")

✗

bitrate

Bitrate (bits per second) (default: 96000)

✗

codec

Codec settings

✓

<COMPONENT_ID>_CODEC

notes

Notes about this component

✗

Options with an environment override can be set when Studio starts, without editing the workflow. <COMPONENT_ID> is this component’s id in your workflow, uppercased, with spaces and dashes replaced by underscores and other punctuation removed — a component named SRT Input reads SRT_INPUT_PORT. Renaming a component changes its id, and so changes these variable names.

Codec (AAC)

Option Description Required

kind

"aac"

✓

sampleRate

Sample rate (Hz) (default: 48000)

✗

profile

AAC profile (default: "lc")

✗

Codec (Opus)

Option Description Required

kind

"opus"

✓

Codec (MP3)

Option Description Required

kind

"mp3"

✓

sampleRate

Sample rate (Hz). MP3 is mono/stereo only, and the bitrate must be one this rate allows. (default: 48000)

✗

Codec (MP2)

Option Description Required

kind

"mp2"

✓

sampleRate

Sample rate (Hz). MP2 is mono/stereo only, and the bitrate must be one this rate allows — at 32/44.1/48 kHz the allowed set also differs between mono and stereo. (default: 48000)

✗

Tags: audio encoder aac opus mp3 mp2 musicam layer ii codec