Transcoding Templates Dashboard
Overview
Creating and managing transcode templates significantly streamlines the setup process for live streams and live encoding, allowing for quick application of predefined settings to new or existing streams. Below is a general guide on how to create, apply, manage, and delete transcode templates in Bitstream.
Template Settings
Basic Information
| Parameter | Required | Type | Default Value | Value range | Description | Note |
|---|---|---|---|---|---|---|
| Name | Yes | string | Max length: 128 characters, accepts numbers, letters, and ("_" and "-") symbols | User-defined name for the template | ||
| Description | No | string | Max length: 128 characters, accepts numbers, letters, and ("_" and "-") symbols | User-defined explanation of the template |
Stream Settings
| Parameter | Required | Type | Default Value | Value range | Description | Note |
|---|---|---|---|---|---|---|
| Segment Duration | Yes | int | 4 | 1-20 seconds | The length of each video/audio segment in the HLS stream | Recommended value is 4 seconds |
| Window Size | Yes | int | 30 | 3-30 seconds | The duration of the live content that is made available to viewers at any given moment through the playlist | Recommended value is 30 seconds |
| HLS Format | Yes | string | fMP4 | TS, fMP4 | The stream container format | Recommendations: - TS for H264 HLS - fMP4 for H265 HLS - fMP4 for all DASH. |
Deinterlace Settings
| Parameter | Required | Type | Default Value | Value range | Description | Note |
|---|---|---|---|---|---|---|
| Parity | Yes | int | string | Auto, TFF, BFF | Deinterlace based on top field first (tff) or bottom field first (bff) | Recommended value is Auto |
| Mode | Yes | int | string | Send Frame, Send Field | Send a frame for each field or for each frame | Recommended value is Send Frame |
Video Settings
| Parameter | Required | Type | Default Value | Value range | Description | Note |
|---|---|---|---|---|---|---|
| Codec | Yes | string | H264 | H264, H265 | Video encoding format. Currently supports H264 and H265 | |
| Bitrate | Yes | int | 500 | 100-100000 | Video bit rate in kbps | |
| Frame Rate | No | int | 25 | 0-120 | Frame rate used for the output video | A value of 0 follows the source frame rate |
| Width | Yes | int | 1920 | 0-7680 | Output resolution width value | |
| Height | Yes | int | 1080 | 0-7680 | Output resolution height value | |
| Default Audio Language | Yes | string | eng | ISO 639-2B Language code | Default language code to be applied for audio tracks that are not described in the template |
Advance Encoding Parameters
| Parameter | Required | Type | Default Value | Value range | Description | Note |
|---|---|---|---|---|---|---|
| Enable Look Ahead | Yes | bool | On | On/Off | Look ahead encoding optimizes video compression by analyzing future frames before encoding the current frame. | |
| Look Ahead Depth | Yes | int | 4 | 4-40 | Specifies the number of future frames to analyze. | |
| RDO Quantization | No | bool | On | On/Off | Enables or disables Rate-Distortion Optimization Quantization for better video quality at the cost of increased computational complexity. | |
| H.265 RDO Level | No | int | 1 | 1, 2, 3 | Specifies the Rate-Distortion Optimization level for H.265 encoding. Higher levels provide better quality at the cost of increased computational complexity. | |
| Custom VPU xcoder-params | no | string | 0 | various | Provide custom x-coder params for encoding | Requires knowledge of the Quadra Encoding parameters. NOTE: incorrect parameters and values may result in the encoding session to fail without any error message. Use with caution. |
Audio Codec Settings
| Parameter | Required | Type | Default Value | Value range | Description | Note |
|---|---|---|---|---|---|---|
| Codec | Yes | string | AAC | AAC, Copy | Audio encoding format | If it is copy, the audio pass-through, and other audio parameters do not need to be set |
| Channel | Only if AAC is selected in the Audio Codec | int | 1 | 0-8 | Number of audio channels per audio stream. 0 - Use source stream settings 1-8 - number of audio channels to use up till the supported max of 8 channels | |
| Profile | Only if AAC is selected in the Audio Codec | string | AAC-LC | AAC-LC, AAC-HE, AAC-HEv2 | AAC-LC - Low-Complexity AAC-HE - High-Efficiency AAC-HEv2 - High-Efficiency v2 | |
| Bitrate | Only if AAC is selected in the Audio Codec | int | 100 | 20-320 | Audio bit rate in kbps | |
| Sample Rate | Only if AAC is selected in the Audio Codec | string | 44.1k | 96k, 88.2k, 64k, 48k, 44.1k, 32k, 24k, 22.05k, 16k, 12k, 11.025k, 8k, 7.35k | Target audio sampling rate | |
| Input Index | Yes | int | 0 | Audio stream selection index | Selects the audio stream to use | |
| Language | Yes | string | copy | ISO 639-2B Language code or "copy" | Sets the language code for the audio output | |
| Default Language | Yes | string | copy | ISO 639-2B code | Sets the default language code for the audio output |
Logo Settings
| Parameter | Required | Type | Default Value | Value range | Description | Note |
|---|---|---|---|---|---|---|
| Image | No | jpg/jpeg/png | Select from uploaded images | Specifies the image to use as an overlay | ||
| Type | No | string | Fixed | Fixed, Pixel | Fixed - specify location in one of the 4 corners Pixel - use x and y offsets to specify the image location | |
| Location | No | string | Top-Right | Top Left, Top Right, Bottom Left, Bottom Right | Position of the logo in the video. | |
| X/Y-Offsets | No | int | X: 10, Y: 10 | X: 10 to (Width - 10), Y: 10 to (Height - 10) | Horizontal (X) and vertical (Y) offsets for the logo position from the center of the video in pixels. | Positive X values move the logo to the right, negative to the left. Positive Y values move the logo upwards, negative downwards. |
| Upload New Images | No | button | - | - | Button to upload new images to the system. | Supports jpg/jpeg/png files with a size less than 2MB.Max resolution is 480px, min is 32px. |