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

Forum for questions and support relating to the 1.31.x releases only.
Post Reply
rhodebump
Posts: 2
Joined: Wed Apr 11, 2018 12:52 am

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

Post by rhodebump » Wed Apr 11, 2018 1:12 am

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:
Screen Shot 2018-04-10 at 5.28.44 PM.png
CAMERA SETTINGS
Screen Shot 2018-04-10 at 5.28.44 PM.png (377.91 KiB) Viewed 408 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
Screen Shot 2018-04-10 at 5.29.04 PM.png
ZONEMINDER SOURCE TAB
Screen Shot 2018-04-10 at 5.29.04 PM.png (51.17 KiB) Viewed 408 times

Here is zoneminder source tab
Screen Shot 2018-04-10 at 5.29.14 PM.png
ZONEMINDER GENERAL TAB
Screen Shot 2018-04-10 at 5.29.14 PM.png (44.2 KiB) Viewed 408 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
Last edited by rhodebump on Wed Apr 11, 2018 1:17 am, edited 1 time in total.

rhodebump
Posts: 2
Joined: Wed Apr 11, 2018 12:52 am

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

Post by rhodebump » Wed Apr 11, 2018 1:14 am

Wow, sorry the images got all messed up. Here is a picture of camera settings
Attachments
Screen Shot 2018-04-10 at 5.30.11 PM.png
Screen Shot 2018-04-10 at 5.30.11 PM.png (82.87 KiB) Viewed 407 times

rockedge
Posts: 902
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

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

Post by rockedge » Wed Apr 11, 2018 3:56 am

what is the % status of /dev/shm .... when the camera streams blanch out?

User avatar
knight-of-ni
Posts: 2142
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

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

Post by knight-of-ni » Wed Apr 11, 2018 12:12 pm

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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests