1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Broadcast a video stream and multiple audio channels
This guide explains how to broadcast a live video with multiple audio tracks via the Infomaniak Video Streaming service. It does not cover VOD or an audio streaming service (used only as a complement if you choose approach A below).
Preamble
- A live Video Streaming stream does not offer selectable multi-audio tracks in a single player.
- Two possible topologies:
- Approach A — 1 video stream + 1..N separate audio players (language selection on the page side).
- Approach B — N Video Streaming streams broadcasting the same image with different audio (one player per language).
Method to obtain a multilingual live stream
Approach A — 1 video player + separate audio players
- General idea: you send a single live video to Infomaniak and, on your page, you add audio players (one per language). The user mutes the video player's sound and activates the audio player in the desired language.
- Simple on the sending side: one video stream to send to Infomaniak.
- Less simple on the page side: the user must juggle between the video player's sound (muted) and the audio player (activated). A slight delay between the image and the audio may exist.
To do this:
- Retrieve the streaming address and key in the Infomaniak Manager (this is the "ingest"). Copy them into your streaming software.
- Start your live video from the software: Infomaniak receives the image and publishes a video player (player) that you can integrate on your site.
- On your web page, add the audio players (one per language). They are separate from the "Video Streaming" product: you place them right next to the video player.
- Provide a small language selection interface (FR/EN/ES buttons...). When the user selects a language, mute the video player and activate the corresponding audio player.
- Reduce the delay (if it is important to you): avoid "rewind" options and unnecessary processing that add delay; keep stable settings in your software.
Ingest is the step of connection : Infomaniak provides you with a receiving address and a key ; you paste them into your streaming software (e.g. OBS or a hardware encoder). When you click on « Start », your video is sent to this address: Infomaniak receives it and can then stream it to viewers; without this address and this key, nothing happens on the platform.
Approach B — multiple video players (one per language)
- General idea: you create multiple live videos at Infomaniak, all with the same image, but each with a different language. On your page, the user chooses their language and you display the corresponding video player.
- More fluid for the user: they simply choose a player « in their language ».
- More demanding for you: multiple lives to create/maintain and more data to send in parallel.
To do this:
- Create a live per language in the Infomaniak Manager. For each live, note the address and the streaming key (the « ingest »).
- In your streaming software, duplicate the video output and assign the correct audio track (FR, EN, etc.) to each copy. Send each copy to the address/key of the corresponding live.
- Let Infomaniak handle the playback qualities (resolution/quality adapted to the viewer's connection). If you prefer to handle everything yourself, it's possible but more advanced; stay simple if you're a beginner.
- Integrate a language selector on your page: when the user chooses « FR », you display the FR live player; if they choose « EN », you display the EN live player, etc.
- Check your upload connection: the more languages, the more data you send at the same time. Do a load test before the big day.
Each language has its own live, therefore its own receiving address and its key ; you must send the same image multiple times (once per language) to Infomaniak: it's always the connection step that allows the platform to receive each version.