Skip to main content
Version: v2.1.2

Transcoding Templates Dashboard

Templates icon

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

ParameterRequiredTypeDefault ValueValue rangeDescriptionNote
NameYesstringMax length: 128 characters, accepts numbers, letters, and ("_" and "-") symbolsUser-defined name for the template
DescriptionNostringMax length: 128 characters, accepts numbers, letters, and ("_" and "-") symbolsUser-defined explanation of the template

Stream Settings

ParameterRequiredTypeDefault ValueValue rangeDescriptionNote
Segment DurationYesint41-20 secondsThe length of each video/audio segment in the HLS streamRecommended value is 4 seconds
Window SizeYesint303-30 secondsThe duration of the live content that is made available to viewers at any given moment through the playlistRecommended value is 30 seconds
HLS FormatYesstringfMP4TS, fMP4The stream container formatRecommendations:
- TS for H264 HLS
- fMP4 for H265 HLS
- fMP4 for all DASH.

Deinterlace Settings

ParameterRequiredTypeDefault ValueValue rangeDescriptionNote
ParityYesintstringAuto, TFF, BFFDeinterlace based on top field first (tff) or bottom field first (bff)Recommended value is Auto
ModeYesintstringSend Frame, Send FieldSend a frame for each field or for each frameRecommended value is Send Frame

Video Settings

ParameterRequiredTypeDefault ValueValue rangeDescriptionNote
CodecYesstringH264H264, H265Video encoding format. Currently supports H264 and H265
BitrateYesint500100-100000Video bit rate in kbps
Frame RateNoint250-120Frame rate used for the output videoA value of 0 follows the source frame rate
WidthYesint19200-7680Output resolution width value
HeightYesint10800-7680Output resolution height value
Default Audio LanguageYesstringengISO 639-2B Language codeDefault language code to be applied for audio tracks that are not described in the template

Advance Encoding Parameters

ParameterRequiredTypeDefault ValueValue rangeDescriptionNote
Enable Look AheadYesboolOnOn/OffLook ahead encoding optimizes video compression by analyzing future frames before encoding the current frame.
Look Ahead DepthYesint44-40Specifies the number of future frames to analyze.
RDO QuantizationNoboolOnOn/OffEnables or disables Rate-Distortion Optimization Quantization for better video quality at the cost of increased computational complexity.
H.265 RDO LevelNoint11, 2, 3Specifies the Rate-Distortion Optimization level for H.265 encoding. Higher levels provide better quality at the cost of increased computational complexity.
Custom VPU xcoder-paramsnostring0variousProvide custom x-coder params for encodingRequires 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

ParameterRequiredTypeDefault ValueValue rangeDescriptionNote
CodecYesstringAACAAC, CopyAudio encoding formatIf it is copy, the audio pass-through, and other audio parameters do not need to be set
ChannelOnly if AAC is selected in the Audio Codecint10-8Number 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
ProfileOnly if AAC is selected in the Audio CodecstringAAC-LCAAC-LC, AAC-HE, AAC-HEv2AAC-LC - Low-Complexity
AAC-HE - High-Efficiency
AAC-HEv2 - High-Efficiency v2
BitrateOnly if AAC is selected in the Audio Codecint10020-320Audio bit rate in kbps
Sample RateOnly if AAC is selected in the Audio Codecstring44.1k96k, 88.2k, 64k, 48k, 44.1k, 32k, 24k, 22.05k, 16k, 12k, 11.025k, 8k, 7.35kTarget audio sampling rate
Input IndexYesint0Audio stream selection indexSelects the audio stream to use
LanguageYesstringcopyISO 639-2B Language code or "copy"Sets the language code for the audio output
Default LanguageYesstringcopyISO 639-2B codeSets the default language code for the audio output

Logo Settings

ParameterRequiredTypeDefault ValueValue rangeDescriptionNote
ImageNojpg/jpeg/pngSelect from uploaded imagesSpecifies the image to use as an overlay
TypeNostringFixedFixed, PixelFixed - specify location in one of the 4 corners Pixel - use x and y offsets to specify the image location
LocationNostringTop-RightTop Left, Top Right, Bottom Left, Bottom RightPosition of the logo in the video.
X/Y-OffsetsNointX: 10, Y: 10X: 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 ImagesNobutton--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.

Getting Started