How to Set Live Streaming Parameters?

In live streaming, you may come across various issues, such as blurred or stuck images. It all happens due to network limitations like reduced speed or poor connection.

Many times, these problems are often related to the set parameters. It is not that the larger the value, the better. Making the right adjustment of parameters in different application scenarios and mixed network environments can maximize the demand for live broadcasting.

Live Streaming Parameters

You can use M Live App to remotely control Mine devices through the mobile phone APP or applet. Furthermore, it also allows you to check the device status and set various parameters in real-time during the live broadcast process.

However, before you go ahead and learn to adjust them, it is necessary to get familiar with different parameters and their meanings.

1. Resolution:

Resolution refers to the size of a picture in pixel. Some of the standard sizes are 480, 720, 1080, etc. The higher the resolution, the clearer the picture, and the more memory required for an image.

2. Bit Rate:

How do you measure the speed of your connection? Well, you use units such as kbps (kilobit per second.) It is a unit to measure speed. You can also write it as kb/s.

Likewise, the unit of video bitrate is kbps, kilobits per second. When the network pushes the stream, the lower the value of the bit rate setting, the less the content is transmitted, and the smaller the network fluctuation is, but the image quality will reduce.

Similarly, the higher the value of the relative bit rate setting, the better the picture quality, but the higher the requirements on the network. Thus, when the network is unstable, setting a higher bit rate can easily cause stagnation.

3. Frame Rate (FPS):

The video screen is composed of countless pictures where each picture is a frame. The number of pictures is called as the number of frames. So, the frame rate is nothing but the number of pictures per second. It is commonly written as FPS, i.e., frames per second.

The size of the frame rate affects the consistency of the video. The higher the frame rate, the smoother the video looks, and the higher the amount of storage required.

However, beyond a critical point, the human eye can’t tell the difference. For example, after 1080P30, 1080P50, etc. the human eye won’t be able to distinguish. Here, P stands for the frame rate size, indicating how many frames transmit per second. For live broadcasting, a frame rate of 25 frames is sufficient.

4. Bit Rate Type:

You may have heard the terms CBR and VBR during the configuration of encoders. Well, these are the encoding bitrates. Let’s check them out in detail.

  • CBR: It is an abbreviation of Constant BitRate, which means a fixed bit rate. In other words, it means that the bit rate of a file per second is fixed. The characteristic of CBR is that the bit rate is stable. A fixed bit rate control can reduce the impact of network jitter. Moreover, it can also stop ups and downs, making it suitable for live broadcasts.
  • VBR: It is an abbreviation of Variable BitRate, which means a variable bit rate. It also means that the bit rate of a file can change every second. The characteristic of VBR is that the bit rate fluctuates greatly, but the overall space saving is mainly used for storage. It can also be used under perfect network conditions.

5. Encoding Profile:

An encoder can compress the video based on a particular profile. The most common profiles are – High, Main, and Baseline. Each profile is designed to be helpful to a variety of applications.

  • High: The level adds 8×8 internal prediction, custom quantization, lossless video encoding, and more YUV formats (such as 4: 4: 4) based on Main. Besides, it is useful for broadcast and video disc storage (Blu-ray movies), HD TV application.
  • Main: The main profile is nothing but a superset of the restrained baseline profile. It provides I/P/B frames at the level, supports Progressive and Interlaced, and also provides support for CAVLC and CABAC. It is used for mainstream consumer electronic product specifications, such as live video encoders, portable video playback Devices, PSP and iPod, etc.
  • Baseline: It is the most simplistic profile. The level supports I/P frames, and only supports Progressive and CAVLC. It is generally used for low-level or applications that require additional fault tolerance, such as video calling and mobile video.

6. Keyframe Interval:

The keyframe interval is related to the video compression algorithm. The video is composed of dozens or even hundreds of pictures per second to form a continuous picture. Still, most of the pictures are similar in a short period. So, the principle of compression is to keep only before and after Different information between frames (except B frame.)

The first one has no reference object; it needs to retain the information ultimately, that is, I frame. The I-frame information is relatively large, can be understood as JPG pictures. The following pictures can refer to Frames only retain different information, that is, P frames, to achieve the purpose of video compression. Multiple P frames can follow an I-frame, and each P frame needs to refer to the previous picture to be restored.

The GOP value is the frequency of I-frames. If it is too small, then the number of I-frames will be high. The pressure on the rate control will be enormous. Similarly, if the GOP is too large, then the P-frames behind will be blurred. The data on the screen will be wrong. It will have to wait until the next I-frame sets to be normal. The Ucast APP GOP value is in seconds. It is recommended to set 3 seconds. Of course, you can also set it according to the network situation.

Over to You!

Now that you understood different live streaming parameters, it’s time to know how to set them. Firstly, open the M Live APP and click “More Settings.” After that, go to “Live Streaming Settings” to set the device. Note that the parameters can change depending on various factors, such as application scenarios, network environments, etc. Therefore, we cannot give a standard parameter/setting to set for all situations.