Follow

How to Improve Quality of High Resolution Streams

When streaming a camera at a high resolution (ie. 1080P+) and image quality (bit rate and quality set at or near their maximum settings), the video stream may exhibit visual issues such as artifacts, grainy images, and streaking.

This issue occurs when the camera’s stream contains packets which are larger than the operating system defined limit. To prevent this from occurring, the max packet size limit needs to be increased.

Increasing the Max Allowed Packet Size in Linux

The max allowed packet size can be increased in Linux by updating the /etc/sysctl.conf file. If you are using the desktop version of Ubuntu, open the terminal program by pressing CTRL + ALT + T.

Open the sysctl.conf file for editing by typing the following command:

sudo nano /etc/sysctl.conf

You will be prompted for a sudo password. Enter the same password used to login to Ubuntu.

Once the file is open, add the following lines to the end of the file:

net.core.rmem_max = 1000000000

net.core.wmem_max = 1000000000

Press CTRL + X, then press Y, followed by the Enter key on the keyboard to close and save the file. To make this change immediate, type sudo sysctl -p  in the terminal window and hit enter.

Increasing the Max Allowed Packet Size in Windows

There is not currently a recommended method for increasing the max allowed packet size setting in Windows. If Orchid is running on a Windows machine, we recommend lowering the bit rate and quality of the camera’s stream.

These two settings can be changed in the stream settings on the camera’s configuration page in Orchid if the camera has been added via ONVIF. For more information on editing a camera’s stream settings in Orchid, please read our How to Add and Manage Cameras article.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk