Clevercast allows you to send an SRT broadcast with an audio track for each language. The SRT protocol is reliable for broadcasts over unreliable networks and very long distances. It may contain multiple audio tracks (of which the number depends on your encoder).
There are many encoders that support SRT. OBS Studio also supports SRT multi-track broadcasting through its Custom FFmpeg Record output. Since OBS Studio only you to configure six tracks, you can use it to broadcast 6 languages to Clevercast.
1. Set up your multilingual event
In Clevercast, an Event is used as name for a live stream. To start a new multilingual live stream, go to the event overview page. Click on the Create Multilingual menu on the left side of the screen.
A popup dialog will be displayed, select:
- Enter the name of your live stream
- Select SRT Listener (= in most cases, also if you’re using OBS Studio) or SRT Caller (= only if your encoder acts as the listener) as the ‘Broadcast Protocol’.
- Select your broadcast’s original language as the ‘Default Language’. If your floor audio contains multiple languages, you can select Original instead of a language.
- Press the ‘Create’ button
A multi-language event will be created. You can now add the additional language(s) that you will be broadcasting. Go to the Advanced panel at the bottom of the page and select the Additional Languages you need. The number of languages you can select depends on your Clevercast plan.
In the Advanced Panel also make the following changes:
- Set Languages per Track to 1 if each track contains a single language. (Advanced: set it to 2 if you have an encoder that supports stereo tracks (eg. Intino, Makito X) and you are using the stereo to pan 2 languages L+R)
- Set your SRT Passphrase: this must consist of 16 alphanumeric characters.
2. Audio Input and OBS Studio settings
The Broadcast panel on the left of your Event page in Clevercast will contain the order of the languages. Make sure your input sends the languages to your encoder in the same order. Your encoder (eg OBS Studio) must send the same number of tracks as the number of languages in Clevercast.
Specific for OBS Studio, use option 2 in this OBS Studio guide to configure the audio tracks. This guide contains the instructions to configure the Custom FFmpeg Recording output. To configure this tab, you will also need some information from the Clevercast event page.
Go to OBS Studio’s Output menu, select the Advanced ‘Output Mode’ and go to the Recording tab. Configure this tab as follows:
- In the
Custom Output (FFmpeg)
- In the
FFmpeg Output Typedropdown, select
Output to URL
- In the
File Path or URLbox, type the URL of the SRT Caller (you need data from Clevercast for constructing the URL, see below)
Container Formatdropdown, select
- Select a
Video Bitratethat is in accordance with your connection and encoder resources.
Keyframe interval (frames)set
50(if your framerate is 25 FPS, recommended) or
60(if your framerate is 30 FPS)
Video Encoder Settings. For example:
presetvalue depends on your CPU power. Set it to ‘veryfast’ if you have enough headroom left while active (with actual content). Otherwise use ‘ultrafast’.
x-264-paramsvalue should be used to set ‘vbv-maxrate’ and ‘vbv-bufsize’ to the value of your video bitrate (eg ‘6000k’ if your video bitrate is 6000 kbps).
128 Kbps(or more in special circumstances)
- Check the number of
Audio Tracksthat corresponds with the total number of languages in Clevercast
The SRT Caller URL can be copied from the Broadcast panel of your Clevercast event. Here is an example of an SRT Caller URL:
The URL scheme is
srt:// followed by the
IP address and
Port of the SRT listener. The following query-string arguments are being used:
modeargument should be set to
portargument should be set to the
Listener port(= same port as in the first part of the URL)
latencyargument should preferably be set to
2000000(= 2 seconds)
passphraseargument can be set in the Advanced panel of your event
pbkeylenargument must be set to the length of your passphrase
inputbw=0&oheadbw=10&maxbw=0arguments are set to limit overhead bandwidth. If these aren’t set, SRT’s built-in error correction mechanism could cause sudden bitrate peaks, which could result in your broadcast stopping with an error (depending on your available upload bandwidth).
Make sure to configure the other Video and Audio settings in OBS in accordance with our broadcasting guidelines.
3. Test your broadcast
Before you start your encoder, press the Change Event Status button in Clevercast and select ‘Preview Broadcast’. This will start server-side processing of your stream, required for the SRT listener to start.
Then start OBS by pressing the Start Recording button (= NOT the Start Streaming button). After about a number of seconds (latency), you will be able to see your broadcast in the Preview Player. Note that the preview is only visible to you as Clevercast admin. Your viewers will not be able to see the video until the event is started.
Clevercast transmuxes and transcodes the incoming streams and delivers the result to your viewers using adaptive streaming. Press the headset menu in the preview player to change the language. Clevercast player can be embedded in your site using the embed code below the players. For a responsive embed code, press the ‘Customize’ button, select ‘Use Responsive Embed Code’ and use the Copy button in the popup dialog.
4. Managing the live stream
When you are ready to start the live stream, press the Start Event button: the live stream will automatically become available to your viewers in the embedded player. You will also see the stream start in the ‘Public Livestream’ player.
After you have finished broadcasting, set the Event status to ‘Ended’ or reset it to ‘Waiting for Broadcast’. This will stop your consumption of server-side resources.