Choosing the Right Encoder Parameters for Your Stream is Not an Easy Task. In this tutorial, we will show you how to select the encoder parameters to achieve good quality and smooth streaming.
The process of encoding and transmitting video is resource-intensive. We’ll primarily focus on two aspects: the device parameters that encode the video and the quality/speed of the internet connection. Both of these factors are crucial for the quality and smoothness of your stream. In the first step, it's recommended to test your internet connection in terms of "upload" speed, which is the speed at which data can be sent to the internet (server). There are many tools available to perform this test, such as https://www.speedtest.net.
After performing the test, you will receive information about the download speed (which is less relevant to us), the upload speed (which is the most important), and the latency in the data transmitted between your computer and the server.
Below is a table that shows the required upload speed for different resolutions:
Resolution | FPS | Required upload |
---|---|---|
1920x1080 | 60 | 9 Mbit/s |
1920x1080 | 30 | 7 Mbit/s |
1280x720 | 60 | 7 Mbit/s |
1280x720 | 30 | 4,5 Mbit/s |
A separate issue is the application of transcoding. Transcoding allows for creating even several versions of the stream, which have a lower resolution and bitrate than the original. This allows people with weaker internet to enjoy smooth images. In this case, it's worth broadcasting with the highest possible image quality.
Otherwise, the stream we broadcast is exactly the same as the one our viewers receive and we have to adapt to their capabilities. The lower the bitrate, the better in this case.
Additionally, here are a few tips from us:Further encoder settings:
Resolution | FPS | Bitrate |
---|---|---|
1920x1080 | 60 | 6000 |
1920x1080 | 30 | 4500 |
1280x720 | 60 | 4500 |
1280x720 | 30 | 3000 |