1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Setting up an encoder for video streaming
This guide helps you configure your encoder with Infomaniak's Streaming video service.
Preamble
The structure of this guide is based on the chosen encoding quality for your stream:
Here's how to access the configuration information required by your encoder:
- Log in to the Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Edge
- Click on the icon at the top right of the interface (or navigate using the left side menu, for example)
- Choose Video Streaming (Streaming universe)
- Click on the action menu â‹® to the right of the relevant object in the displayed table
- Click on Configure Encoder
- Follow the instructions tailored to your situation
1. Automatic Multi-Bitrate Management by Infomaniak
The following information applies if you have chosen to let Infomaniak automatically manage the quality of your stream. With this scenario, the following configuration information is available:
In this example, the stream is named "F.A.Q." and its authentication key is "3bmPvLqc" :
- Server Address : rtmp://faq.vprimary.infomaniak.com/livecast?key=3bmPvLqc
- Stream Identifier : faq
1.1 Source Quality Configuration
The stream qualities generated by Infomaniak will depend on the quality of your source (bitrate). As an indication, here's the list of qualities that could be generated when your encoder connects:
- 1080p with a bitrate of 3 Mbps
- 720p with a bitrate of 1.8 Mbps
- 480p with a bitrate of 0.8 Mbps
- 360p with a bitrate of 0.5 Mbps
- 240p with a bitrate of 0.3 Mbps*
*240p will only be offered if your source bitrate is less than 0.8 Mbps.
It is recommended to ideally set a 1080p source with a bitrate of 3.2 Mbps to generate the entire available qualities. If your source bitrate is limited to 1 Mbps, only the following resolutions will be generated: 480p, 360p, and 240p.
Important: Ensure that the bitrate control is set to CBR (constant bitrate) mode on your encoder. ABR (adaptive bitrate) mode can distort the detection of your source's bitrate.
1.2 Your Encoder Requires a Connection Address and a Stream Identifier
If your encoder requests a connection address and a stream identifier, simply enter the server address and the stream identifier in your encoder.
In this example, it would be the following information:
- Server Address : rtmp://faq.vprimary.infomaniak.com/livecast?key=3bmPvLqc
- Stream Identifier : faq
1.3 Your Encoder Requires Only a URL
If your encoder only requires a URL, you need to combine the server address and the connection identifier; in this example, it would be the following URL:
- rtmp://faq.vprimary.infomaniak.com/livecast?key=3bmPvLqc/faq
1.4 Your Encoder Offers Advanced Configuration
If your encoder offers a wide range of settings, follow the following indications, which are always based on the same example:
- RTMP Server Address : faq.vprimary.infomaniak.com
- RTMP Server Port : 1935
- RTMP Username : Leave this field blank (authentication is done by key with a key on the stream identifier)
- RTMP Password : Leave this field blank (authentication is done by key with a key on the stream identifier)
- RTMP Application Name : livecast?key=3bmPvLqc
- RTMP Stream Name : faq
2. Manual Multi-Bitrate Management
The following information applies if you have chosen to manually manage the quality of your stream. If you use the Cloud Transcoding option, please refer to point 3. Single bitrate.
In this scenario, you'll find a table containing the different qualities (bitrate/resolutions) you defined when configuring your encoder:
In this example, the stream is named "faq" and its authentication key is "3bmPvLqc".
2.1 Your Encoder Requires a Connection Address and a Stream Identifier
If your encoder requires a connection address and a stream identifier, simply enter the server address and the identifier for each stream in your encoder.
2.2 Your Encoder Requires a URL per Stream
If your encoder requires specific configurations per URL, you need to combine the server address and the connection identifier for each bitrate. In this example, these would be the following URLs:
- Bitrate 2000000 : rtmp://faq.vprimary.infomaniak.com/livecast?key=3bmPvLqc/faq
- Bitrate 1000000 : rtmp://faq.vprimary.infomaniak.com/livecast?key=3bmPvLqc/faq_1
- Bitrate 500000 : rtmp://faq.vprimary.infomaniak.com/livecast?key=3bmPvLqc/faq_2
- Bitrate 250000 : rtmp://faq.vprimary.infomaniak.com/livecast?key=3bmPvLqc/faq_3
3. Single bitrate (only one quality)
Follow the instructions provided in section 1. Automatic Multi-Bitrate Management by Infomaniak ignoring section 1.1.