View unanswered posts | View active topics It is currently Fri Apr 25, 2014 10:46 am



Reply to topic  [ 6 posts ] 
Mocord with external triggers 
Author Message

Joined: Tue Feb 26, 2008 9:54 am
Posts: 5
Post Mocord with external triggers
Hi all,

I've been using zoneminder for several months now, with 7 monitors (2 analog + 5 ip cameras) set on mocord.
So far I'm extremely satisfied with the results.
Right now I'm capturing at 320x240.
I wanted to raise the resolution on a couple of cameras to 640x480.
Since CPU usage was too much to handle for the computer, I've looked into external triggering of motion. The 5 vivotek ip cameras have built in motion detection.
So I finally could set up the cameras to trigger alarms on zoneminder.
In zoneminder I set up mocord on this cameras and then I deleted all zones.
However, I see that the usage of zma on the monitor with higher resolution is still very high.
I thought I could set the monitor on record, without analysis, letting the camera's motion detection trigger the alarm but the triggers are rejected by zmtrigger.pl if the camera is on record and not on mocord.

so, is there a way to disable zma on this monitor? or a way of using record and having events hilighted by external triggers?

regards,
davide


Fri Oct 17, 2008 2:01 pm
Profile

Joined: Tue Feb 26, 2008 9:54 am
Posts: 5
Post 
just to add some more information, I also tried making an inactive zone for the full frame. however, for that camera, zma still takes up 40% cpu.


Mon Oct 20, 2008 9:34 am
Profile
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post 
You would likely need to edit the source to make a new function. I similar function is already available which is nodect but it only records when zmtrigger tells it to ( like the modect function).
To have recording with external triggers you would have to create a new function as it don't exist yet.


Mon Oct 20, 2008 10:53 am
Profile WWW
Site Admin
User avatar

Joined: Wed Jul 09, 2003 3:07 pm
Posts: 5221
Location: Bristol, UK
Post 
Nodect will work with any external triggers that use the perl API (or write directly to the shared memory). That will disable motion detection and analysis altogther.

As a side note, deleting all zones just means that zma uses a default zone which is the whole image size, so you're probably making things worse doing that. Although I've never done it, if you wanted to go that way then make a zone of maybe 10 pixels and give it unfeasibly large motion detection criterion. However Nodect and triggers should do what you want.

_________________
Phil


Mon Oct 20, 2008 2:51 pm
Profile ICQ YIM WWW

Joined: Tue Feb 26, 2008 9:54 am
Posts: 5
Post 
zoneminder wrote:
Nodect will work with any external triggers that use the perl API (or write directly to the shared memory). That will disable motion detection and analysis altogther.

As a side note, deleting all zones just means that zma uses a default zone which is the whole image size, so you're probably making things worse doing that. Although I've never done it, if you wanted to go that way then make a zone of maybe 10 pixels and give it unfeasibly large motion detection criterion. However Nodect and triggers should do what you want.


hi
nodect in fact works correctly. however, it only records when the alarm is externally triggered. what I wanted was something like mocord, where everything is recorded 24/7 with events highlighted.

@cordel
thanks for the heads up, i'll try having a look at the code.


Mon Oct 20, 2008 4:09 pm
Profile

Joined: Sat Oct 09, 2010 10:08 pm
Posts: 18
Location: South Florida
Post Re: Mocord with external triggers
I too would be interesting in a feature such as a triggered events by an IP camera with 24/7 recording. I know this post is a little dated, has this recently been added as a feature?

_________________
Time never ceases to accelerate.


Fri Apr 01, 2011 9:08 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group