I've got several Hikvision h264 IP security cameras on my LAN. I can view them using an RTSP stream. They work fine on: Kodi on Windows, VLC on Mac and various Camera viewing Apps on iOS and Android, however they regularly have problems (*) on my OSMC based RPi3 and Vero 4k. I always thought it was a lack of grunt on the RPi3 causing the issue, but now I'm on Vero 4k's I don't think that can be the case anymore and I wonder if it's a codec limitation on Linux/OSMC based Kodi versions?
(*) problems are generally half the screen taking 15sec+ to draw. Sometimes the bottom half shows a blurry green and bright coloured mess (sometimes all green) - it does seem to be from the camera as you can see people moving around and then walking into the top, clear, part of the picture. Sometimes the image doesn't correct itself at all and sometimes (very occasionally) it works perfectly. Other issues include; the feed stopping randomly (no error message, just the image locks up) fixed by stopping/playing again.
Occasionally VLC on my Mac will show a similar corruption, but when it does it only lasts for less than 2 seconds when I start playing the feed. The feeds work perfectly on a Windows Kodi install.
I've tried disabling Hardware decoding on the Vero and I've changed every setting I can think of on the IP Camera. They are currently running a 4Mbps, 1080p, 20FPS with an IFrame at every 20 frames.
I don't have any non-OSMC Linux Kodi installs to allow me to rule in/out whether it's an OSMC issue or a base Kodi issue.
Before I start taking pictures of the screen, capturing debug logs and grabbing the codec info, is there anything obvious I'm missing? Has anyone noticed this problem before? Is there anything else (other than the logs, etc that I've just mentioned) that could help diagnose the problem?
Thanks for your help!