My stream and recordings appear Green
This is generally an issue with resource management. Possibly network hardware overburdened or RAM is leaking.
Green Stream and Recordings
You may be seeing your Live Grid stream or your recorded Videos are showing Green frames sometimes or entirely. This can usually be blamed on one or more of these listed here and should be checked in this order once without making changes to your camera's internal settings and the associated Monitor Settings in Shinobi :
- Poor Network connectivity between camera and Shinobi server.
- Shinobi server NIC (Network Interface Controller, Ethernet) is overburdened.
- Shinobi server RAM is leaking. Maxed out RAM use.
- Network Router is overburdened. It may not be able to handle the load you are asking of it.
Poor Network Connectivity
Physically check the cabling and hardware to ensure they are not damaged and properly installed. This can include :
- Ethernet heads are firmly connected to the cameras, adapters (if you have any) and hubs.
- Cabling has no kinks in it from twists or cable mounts.
- Proper ventilation to the ethernet hub and router as well as the Shinobi server.
Server RAM is leaking
Shinobi goes through very long tests, sometimes up to 2 years. We do our best to observe this possibility and make adjustments for them. However we are not perfect and may make mistakes. In that event we humbly request you post an Issue to our repository to properly take note of how the issue occurs. https://gitlab.com/Shinobi-Systems/Shinobi/-/issues
Additionally you should consider checking that the settings you have chosen are not too heavy for the hardware you have. A lot of operations may required queuing in the RAM because the CPU is taking its time to process. This might happen on lower end Pi computers.
This is not to say that it's a problem that can't be caused by external factors. Recently we noticed users who use Proxmox seem to have a memory leak occurring. A possible solution mentioned by Ryoka83 in the Reddit community forum states that they ran Shinobi as a "CT" with the "Debian Template". You can see his post here :
Zfs uses ram as a cache of sorts, so I was thinking that may be your problem. I run Shinobi as a CT using the Debian template with no issues at all. - Ryoka83
We are not using proxmox in our testing at present and cannot confirm this is a fix but we hope you are able to try it with success.
Also, if you are on Docker there have been reports that when Arch Linux is the host of the Docker container system it seems to have similar issues.
Network Overburdened
In the case a Router or NIC is overburdened you can consider lowering the bitrate coming off the cameras or replacing these pieces of hardware with more capable or higher quality variants. See this article for additional information about camera optimization https://docs.shinobi.video/faqs/optimize-rtsp-camera
The way to check a server NIC is different depending on how you have installed Shinobi. With Ubuntu Server you may consider using "iftop".
If you are using a WiFi camera there may be interference. You can try lowering the bitrate to allow more packets to go through however depending on the source of the interference you may not be able to stop the issue without hardwiring or moving the camera. Something as simple as your microwave heating something can cause WiFi to drop connectivity.