1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Video streaming: configuring your video encoder
This guide contains important information to help you configure your encoder with the Infomaniak video streaming service. This information is for reference only and the configuration of your encoder may vary according to your device, your software and the options of your product. We also draw your attention to the fact that our system of authentication by URL differs from the default authentication offered by some encoders.
For your information, the structure of this guide depends on the quality of the encoding chosen for your stream:
Here is how to access the configuration information required by your encoder:
- Open the Manager (https://manager.infomaniak.com)
- Go to Video streaming
- Click the stream concerned
- Click Configure the encoder and quality from the shortcuts in the Dashboard
- Click View settings (if necessary)
- Follow the instructions that apply to your situation
1. Automatic multi-bitrate management by Infomaniak
In this example, the stream name is "matv" and its authentication key is "FzC11Zc8":
- Server address: rtmp://matv.vprimary.infomaniak.com/livecast?key=FzC11Zc8
- Stream login: matv
1.1 Source quality configuration
The qualities of the streams generated by Infomaniak depend on the quality of your source (bitrate). For example, here is the list of qualities that we attempt to generate 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 proposed if your source bitrate is below 0.8 Mbps.
We recommend you ideally define a source of 1080p with a bitrate of 3.2 Mbps in order to generate all the qualities available. If your source bitrate is limited to 1 Mbps, only the following resolutions will be generated: 480p, 360p and 240p.
Important: check that the debit control of your encoder is set to CBR (constant bitrate). The ABR (adaptive bitrate) mode may affect the bitrate detection of your source.
1.2 Your encoder requires a connection address and a stream login
If your encoder requires a connection address and a stream login, just enter the server address and stream login into your encoder.
In our example, this would be:
- Server address: rtmp://matv.vprimary.infomaniak.com/livecast?key=FzC11Zc8
- Stream login: matv
1.3 Your endcoder only requires a URL
If your encoder only requires a URL, it is necessary to group the server address and the stream login. In our example, we would obtain the following URL:
- rtmp://matv.vprimary.infomaniak.com/livecast?key=FzC11Zc8/matv
1.4 Your encoder proposes an advanced configuration
If your encoder proposes a wide choice of settings, please follow the instructions below, which are based on the same example:
- RTMP server address: matv.vprimary.infomaniak.com
- RTMP server port: 1935
- RTMP username: leave this field empty (authentication is carried out via a key with a key on the stream login)
- RTMP password: leave this field empty (authentication is carried out via a key with a key on the stream login)
- RTMP application name: livecast?key=FzC11Zc8
- RTMP stream name: matv
2. Manual multi-bitrate management
The following information concerns you if you have opted to manually manage the quality of your stream. If you use the Transcoding in the Cloud option, please refer to point 3. Single bitrate.
In this case, you will find a table containing all the different qualities (bitrates/resolutions) that you defined when configuring your encoder:
In this example, the stream name is "matv" and its authentication key is "FzC11Zc8".
2.1 Your encoder requires a connection address and a stream login
If your encoder requires a connection address and a stream login, just enter the server address and the login for each stream in your encoder.
2.2 Your encoder requires a URL for each stream
If your encoder requires specific configurations by URL, it is necessary to group the server address and the connection login for each bitrate. In our example, we would obtain the following URLs:
- Bitrate 2000000: rtmp://matv.vprimary.infomaniak.com/livecast?key=FzC11Zc8/matv
- Bitrate 1000000: rtmp://matv.vprimary.infomaniak.com/livecast?key=FzC11Zc8/matv_1
- Bitrate 500000: rtmp://matv.vprimary.infomaniak.com/livecast?key=FzC11Zc8/matv_2
- Bitrate 250000: rtmp://matv.vprimary.infomaniak.com/livecast?key=FzC11Zc8/matv_3
3. Single bitrate (a single quality)
Please follow the instructions given in point 1. Automatic multi-bitrate management by Infomaniak ignoring point 1.1.