Live Transcoding
The <LiveTranscoding> block defines which transcoding presets are enabled for an application. When active, incoming streams are automatically transcoded into additional quality levels based on the selected presets.
Available in: mono, origin, transcode
Sample Configuration
<LiveTranscoding enabled="true">
<Preset name="360p" />
<Preset name="480p" />
<Preset name="720p" />
</LiveTranscoding>
Parameters
| Parameter | Description | Default |
|---|---|---|
LiveTranscoding:enabled | Enables or disables live transcoding for this application. | false |
Preset:name | Name of a transcoding preset. Must match a preset defined in the <Transcoder> section of config/preferences.xml. | — |
You can enable multiple presets to generate several quality variants of the same stream simultaneously. Each transcoded variant is published as a separate stream with the preset's suffix appended to the original stream name. For example, a stream mystream with the 720p preset (suffix _720p) would produce an additional stream named mystream_720p.
Presets referenced here must be already defined in the global <Transcoder> configuration block. For details on creating and configuring presets, see the Transcoder Configuration guide.
Transcoding in a Cluster
In a cluster setup, the transcode-type application is dedicated to transcoding tasks. When an origin application has transcoding enabled, it can delegate the actual encoding work to connected transcode nodes, offloading the CPU/GPU-intensive processing from the origin server.
If a standalone mono application has transcoding enabled, it handles both ingesting and transcoding on the same machine.
All parameters support environment variables using the ${EV:VARIABLE_NAME} syntax. Fields locked by environment variables cannot be modified via the REST API.
If you have any questions or need assistance, please create a support ticket and our team will help you.