random camera stream lockups, command line fix?

Forum for questions and support relating to the 1.29.x releases only.
Locked
alabamatoy
Posts: 360
Joined: Sun Jun 05, 2016 2:53 pm

random camera stream lockups, command line fix?

Post by alabamatoy »

I get seemingly random stream failures. I have found that simply disabling and re-enabling the monitor (click on the monitor, in the first tab, deselect "enabled", save it, then repeat selecting "enabled") cures the problem. I get log entries like:

Code: Select all

Oct 16 11:29:42 garage-security zmc_m2[12033]: ERR [Unable to open input rtsp://login:password@192.168.1.148:443/videoMain due to: Connection timed out]
Oct 16 11:29:42 garage-security zms[12026]: ERR [Terminating, last frame sent time 10.000879 secs more than maximum of 10.000000]
Oct 16 11:29:45 garage-security zmc_m2[12033]: ERR [Unable to open input rtsp://login:password@192.168.1.148:443/videoMain due to: Operation now in progress]
Oct 16 11:29:55 garage-security zmc_m2[12033]: ERR [Unable to open input rtsp://login:password@192.168.1.148:443/videoMain due to: Operation now in progress]
when this loss occurs. Disable the monitor, re-enable, all is working correctly.

Is there a way to disable and re-enable the monitor via command line (zmfilter.pl etc) so I can code a script to do the disable/re-enable when this happens? I could not find zmfilter.pl command line info in the wiki or the documentation, but I may be looking in the wrong place.
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: random camera stream lockups, command line fix?

Post by bbunge »

A bit more info would help. Linux distro, hardware, camera type, monitor settings, et. al.
alabamatoy
Posts: 360
Joined: Sun Jun 05, 2016 2:53 pm

Re: random camera stream lockups, command line fix?

Post by alabamatoy »

Its 1.29 ZM on Ubuntu 16.04 The cameras are Foscam. I have another installation which is Amcrest cameras, rest is same. It does the same thing, but substantially less often. I dont really know how to tell you the monitor settings, other than its just set to record. Is there a conf file or something I can copy/paste?
Locked