Page 1 of 1

Captured videos keep going bad after restarting monitors, will pay!!

Posted: Wed Apr 11, 2018 1:12 am
by rhodebump
My captured event video stream keeps going bad. It may be good for 1 hour, or 2 days, but eventually it always turns into something like this:
CAMERA SETTINGS
CAMERA SETTINGS
Screen Shot 2018-04-10 at 5.28.44 PM.png (377.91 KiB) Viewed 2274 times



If I disable and re-enable the monitor, the problems goes away (for a while).

The details:
I am using Zoneminder v1.31.1 on a docker container

I have 3 cameras:
SV3C Full HD 1080P Dome POE IP
https://www.amazon.com/gp/product/B06VWLCZTV

I configured the camera according to what I see here:
http://www.sv3c.com/userfiles/files/Dow ... minder.pdf

https://wiki.zoneminder.com/SV3C

I have tested with both streams (the big 11, and the smaller 12). ON the camera settings, I set the stream (12) with a settings that I found from some guides that I found, but problem still occurs.


Here the the zoneminder general tab
ZONEMINDER SOURCE TAB
ZONEMINDER SOURCE TAB
Screen Shot 2018-04-10 at 5.29.04 PM.png (51.17 KiB) Viewed 2274 times

Here is zoneminder source tab
ZONEMINDER GENERAL TAB
ZONEMINDER GENERAL TAB
Screen Shot 2018-04-10 at 5.29.14 PM.png (44.2 KiB) Viewed 2274 times
I am willing to pay a fee to get a working configuration (please send me your terms). Everything is accessible over the internets if that helps.
With appreciation,
Phillip

Re: Captured videos keep going bad after restarting monitors, will pay!!

Posted: Wed Apr 11, 2018 1:14 am
by rhodebump
Wow, sorry the images got all messed up. Here is a picture of camera settings

Re: Captured videos keep going bad after restarting monitors, will pay!!

Posted: Wed Apr 11, 2018 3:56 am
by rockedge
what is the % status of /dev/shm .... when the camera streams blanch out?

Re: Captured videos keep going bad after restarting monitors, will pay!!

Posted: Wed Apr 11, 2018 12:12 pm
by knight-of-ni
This is the common smearing issue in the ffmepg library that gets reported frequently. Search the forums. You'll find many posts about smearing/tearing/corrupted images. The root cause is in the ffmpeg library itself so all we can do is provide workarounds.

For starters, do this:
- Set your colorspace to 32bit for a performance boost
- Your frame rate is way too high. In every camera, lower it to to 5 then lower your iframe to 5 as well. Yes, 5 fps is plenty fast to catch the bad guy and clearly see what he is doing.

If the problem still occurs, then stop ZoneMinder. Open a web browser and view the camera stream direct from the camera's web portal. Let it run.

I have an ip camera that can smear the image internally. Experimentally, I could replicate the issue when I set the bitrate in the camera too high. It seems the camera would let you set a bitrate higher than its internal cpu could handle when there was lots of motion in the camera's field of view. In my case, that condition occurred when the camera switched from night to day mode every morning.

If something like this is happening to you, then change your bitrate from constant to variable.
Leave zm stopped, and continue viewing the stream in the camera's web portal.
If the problem still occurs then lower the bitrate in the camera.
Repeat the test.
If the problem still occurs, then lower the bitrate some more and repeat until the problem goes away.