• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: how about Zoneminder?  (Read 10277 times)
timgray
Newbie
*

Karma: 0
Posts: 7


View Profile
« on: April 28, 2009, 11:14:42 AM »

Zoneminder is a great security DVR app that blows away all the commercial security dvr's out there.  I wonder if it could be made to run on the plug?

Granted only ip cameras and probably will only be able to handle 4 cameras before it imploded from overloading.
Logged

David Avital
Administrator
Newbie
*****

Karma: 5
Posts: 19


View Profile
« Reply #1 on: May 13, 2009, 12:03:14 PM »

Also USB webcams are supported, I was able to get several camera working.
I will try to get zone minder working with them
Logged

mcginnist
Newbie
*

Karma: 0
Posts: 8


View Profile
« Reply #2 on: May 14, 2009, 02:19:33 PM »

Granted only ip cameras and probably will only be able to handle 4 cameras before it imploded from overloading.

Reading through Zoneminder's docs, it sounds like IP cameras might be more resource hungry than locally connected USB webcams.
Logged

David Avital
Administrator
Newbie
*****

Karma: 5
Posts: 19


View Profile
« Reply #3 on: May 17, 2009, 05:58:15 AM »

I've been successfully running zoneminder with several webcams,

after resolving several of known issues:

http://www.zoneminder.com/forums/viewtopic.php?p=51448&sid=bf26958e6353009ccb90ffae3103da64

in order to work with webcams need to compile libv4l like I did with here http://www.plugcomputer.org/plugwiki/index.php/Webcams


Cheers

Logged

rc3
Newbie
*

Karma: 0
Posts: 36


View Profile
« Reply #4 on: September 30, 2009, 02:56:02 PM »

I am trying to install zoneminder (from source) to my sheevaplug without success. I installed all the required packages/modules following http://www.thinkdebian.org/archives/50, ./configure runs without error but when running make, I got the following error:

Code:
...
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare   -g -O2 -MT zm_jpeg.o -MD -MP -MF .deps/zm_jpeg.Tpo -c -o zm_jpeg.o zm_jpeg.c
zm_jpeg.c: In function ‘zm_jpeg_error_exit’:
zm_jpeg.c:42: warning: implicit declaration of function ‘exit’
zm_jpeg.c:42: warning: incompatible implicit declaration of built-in function ‘exit’
mv -f .deps/zm_jpeg.Tpo .deps/zm_jpeg.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare   -g -O2 -MT zm_regexp.o -MD -MP -MF .deps/zm_regexp.Tpo -c -o zm_regexp.o zm_regexp.cpp
mv -f .deps/zm_regexp.Tpo .deps/zm_regexp.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare   -g -O2 -MT zm_signal.o -MD -MP -MF .deps/zm_signal.Tpo -c -o zm_signal.o zm_signal.cpp
zm_signal.cpp: In function ‘void zm_die_handler(int, sigcontext)’:
zm_signal.cpp:95: error: ‘struct sigcontext’ has no member named ‘cr2
make[2]: *** [zm_signal.o] Error 1
make[2]: Leaving directory `/home/sysuser/dl/ZoneMinder-1.23.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sysuser/dl/ZoneMinder-1.23.3'
make: *** [all] Error 2

Any ideas? I also tried ZoneMinder 1.24.2 with the same error.
Logged

Whatboy
Newbie
*

Karma: 0
Posts: 16


View Profile
« Reply #5 on: May 11, 2011, 02:58:34 PM »

I know this is an old thread, but...


I fixed the error above by...

Code:
edit /src/zm_utils.cpp and add the line
#include <cstdio>
add to the beginning of the file
namespace std {
using namespace __gnu_cxx;
}

and adding the last CPPFLAGS to the ./configure...

Code:
$ ./configure --with-blah-blah-all-the-settings-that-needs CPPFLAGS="-D__STDC_CONSTANT_MACROS"


I plug an IP9100A video server with 4 analogue cameras!!! and the load goes up to 10!!! and a miserably 1.x fps!!!


TOO MUCH for the poor bastard!!!


* SheevaZM_1Camera.png (25.19 KB, 1246x178 - viewed 2654 times.)

* SheevaZM_4Camera.png (26.71 KB, 1239x178 - viewed 2598 times.)

* SheevaZM_Montage.png (372.8 KB, 690x577 - viewed 2639 times.)
Logged

Whatboy
Newbie
*

Karma: 0
Posts: 16


View Profile
« Reply #6 on: May 11, 2011, 03:07:44 PM »

Spikes are 4 cameras, between them is 1 camera!!!


* SheevaZM_MRTG.png (7.14 KB, 722x248 - viewed 2625 times.)
Logged

pacolm
Full Member
***

Karma: 1
Posts: 102


View Profile
« Reply #7 on: May 11, 2011, 10:50:08 PM »

Hi,

 I'm using my Guruplug for home surveillance running ZoneMinder. My system has 2 IPCams, although I have tried it with 4 cams and works fine. The load is not that high, so maybe the problem is in your configuration. I had to tweak many settings until I got it working properly. Now the plug is working in modect for both cams, monitoring at 3fps and storing the captures when alarmed at 5fps, sending an email to a gmail account with the pictures and the video. It could work faster, but for me these settings are ok.

 Take a look to the wiki: http://plugcomputer.org/plugwiki/index.php/ZoneMinder, I have worked a lot with this, let me know if you need some help configuring ZM. Drop me a PM if need assistance.

 Also, I would like to know how to capture these nice charts. It will help me monitor my guruplug cpu load, now the average is about 40%.
Regards,

PacoLM

 
Logged

Whatboy
Newbie
*

Karma: 0
Posts: 16


View Profile
« Reply #8 on: May 13, 2011, 08:25:05 PM »

Resized the images from 640x480 to 320x240 and loads are still high!!! doing nothing the loads are .4...

Maybe is because I'm using an networked disk... I'm gonna find a USB HDD and see if that can change!!!
Logged

Whatboy
Newbie
*

Karma: 0
Posts: 16


View Profile
« Reply #9 on: May 27, 2011, 05:11:59 PM »

ZM 1.24.2, 4 cameras @352x288 ~5fps


* SheevaZM_4Camera2.png (27.8 KB, 1228x174 - viewed 2434 times.)

* SheevaZM_MRTG2.png (8.05 KB, 706x239 - viewed 2434 times.)
Logged

pacolm
Full Member
***

Karma: 1
Posts: 102


View Profile
« Reply #10 on: May 29, 2011, 01:57:34 PM »

Hi,

 Find attached the proof of Guruplug load running two ipcams 320x240:

 ZM is a tricky application, to have it working properly there are a lots of tweaks to do.

 Do you have all your 4 cameras using the same IP address???

PacoLM


* ZM-Guruplug.png (66.13 KB, 905x522 - viewed 2445 times.)
« Last Edit: May 29, 2011, 01:59:06 PM by pacolm » Logged

pacolm
Full Member
***

Karma: 1
Posts: 102


View Profile
« Reply #11 on: May 29, 2011, 02:03:29 PM »

Do you have all your 4 cameras using the same IP address???

 Yes, you are, it's a video server with 4 analog cams... sorry.
Logged

Whatboy
Newbie
*

Karma: 0
Posts: 16


View Profile
« Reply #12 on: June 01, 2011, 06:16:21 AM »

To Install MRTG follow this thread (read it first)... http://www.directadmin.com/forum/showthread.php?threadid=7843

This is to replace a desktop computer, that's why is loaded...

Code:
Starting udev: [  OK  ]
Setting hostname <deleted>:  [  OK  ]
Checking filesystems
Checking all file systems.
[  OK  ]
Mounting local filesystems:  [  OK  ]
Enabling /etc/fstab swaps:  [  OK  ]
Entering non-interactive startup
Bringing up loopback interface:  [  OK  ]
Bringing up interface eth0:  [  OK  ]
Starting auditd: [FAILED]
Starting portreserve: [  OK  ]
Starting system logger: [  OK  ]
Starting rpcbind: [  OK  ]
Starting NFS statd: [  OK  ]
Starting RPC idmapd: [  OK  ]
Starting system message bus: [  OK  ]
Starting Avahi daemon... [  OK  ]
Starting cups: [  OK  ]
Mounting other filesystems:  [  OK  ]
Retrigger failed udev events[  OK  ]
Starting NFS services:  [  OK  ]
Starting NFS daemon: [  OK  ]
Starting NFS mountd: [  OK  ]
Starting sshd: [  OK  ]
Starting xinetd: [  OK  ]
Starting ntpd: [  OK  ]
Starting vsftpd for vsftpd: [  OK  ]
Starting MySQL:  [  OK  ]
Starting Dovecot Imap: [  OK  ]
Starting clamd.scan: LibClamAV Warning: ***********************************************************
LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
LibClamAV Warning: ***********************************************************
LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
[  OK  ]
Starting spamd: [  OK  ]
Starting clamav-milter: [  OK  ]
Starting spamass-milter: [  OK  ]
Starting sendmail: [  OK  ]
Starting sm-client: [  OK  ]
Starting httpd: [  OK  ]
[  OK  ] crond: [  OK  ]
Starting fail2ban: Unknown HZ value! (86) Assume 100.
[  OK  ]
Starting wview daemons:
wviewd pid file /usr/local/var/wview/wviewd.pid exists - killing existing process
/etc/rc3.d/S99wview: line 69: kill: (6216) - No such process
Starting ZoneMinder: [  OK  ]

Fedora release 12 (Constantine)
Kernel 2.6.38.6 on an armv5tel (/dev/ttyS0)

I'm waiting on some Insteon hardware I bought, to see if motion detection be replaced by PIRs...
Logged

Pages: [1]
Print
Jump to: