Koozali.org: home of the SME Server

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript

Offline fpausp

  • *
  • 728
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« on: January 13, 2005, 04:55:16 PM »
Hi, if anyone is interested in videomonitoring zoneminder is the right prog for you. I have done a test with the live cd an it works great, but i dont want to use a 2nd server, i like to install it on my fileserver  :-)

The problem is i am not a linuxguru, so i need help from you please. There are my questions:

I like to know is it possible to install zoneminder 1.19.5 (www.zoneminder.com) on SME and has SME the Requirements by default ?

I like to install it in an ibay called zoneminder, where are the right paths for the building:

./configure --with-mysql=<your MySQL root> --with-webdir=<your web directory> --with-cgidir=<your cgi directory>

regards
fpausp
austria
Viribus unitis

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #1 on: January 31, 2005, 06:05:53 AM »
Wait a few days, and I publish a HowTo install ZoneMinder in SME box

Offline riccge

  • *
  • 36
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #2 on: January 31, 2005, 02:40:48 PM »
This will be a really interesting howto!!!
...do you need some beta tester?

Rik
......

Offline fpausp

  • *
  • 728
  • +0/-0
Release 1.20.0 20th January 2005
« Reply #3 on: February 02, 2005, 11:13:55 AM »
Hi,

Now there is a now version from 20th January 2005.

fpausp
Viribus unitis

dave_d

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #4 on: February 02, 2005, 06:03:13 PM »
I've used Zoneminder quite a lot - but never on an SME server.  Main problem is that there ain't no X-Server!

What I do is simply put Zoneminder onto another box -Slackware, in my case - and then pipe the output through the SME server.  That way the SME server is not soaked doing all the video processing and the Zoneminder box is carefully hidden from prying eyes!

---Just my take on it, you know!

Regards,

Dave

chaapai

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #5 on: February 04, 2005, 03:50:37 PM »
hi all!
if you wait 3-4 days, you will have a rpm...
zm-1.20.1-sme60_1.i386.rpm
i must wait for the last version of zm (1.20.1) because there are lots of bugs in 1.20
so I use zoneminder on SME6 since 6 months (with 1.19.5), I make a howto in french for install manually ...(but it's long)..  
the last version works fine, there are no prb on install with my rpm
but you must install lot of dependances ...
lame, ffmpeg, perl-Archive, perl-*, Xlibs  
for the 1.20.1 you must upgrade php ...
X10, FTP, mails, stream, it run with my beta-rpm  
so, wait the last week...  :-D

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #6 on: February 05, 2005, 03:04:06 AM »
Congratulations chaapai.
I am anxious to test your rpm version.  
I have proven to compile it and it has worked without problems, alone that the files zm.config in / usr/local/etc has you nest that to place it in the position of the other files and to change some lines in the file zmconfig.php.  
I have not been able to compile ffmpeg to be able to include in zoneminder.  
I have not also still been able to start zoneminder from the web. :hammer:

chaapai

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #7 on: February 07, 2005, 05:42:23 PM »
hello all !

you can access to my RPM here :
ftp://userftp:userftp@chaapai.homelinux.net/SME/video/zoneminder/zoneminder-1.20.1/
there are rpm, srpm, an script to install libs .
so just do a:
./install_zm-1.20.1.sh
tested on sme6.1.
so, you must have php >= 4.3.9, so upgrade php....

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #8 on: February 08, 2005, 04:15:36 AM »
Thanks chaapai.
Script run ok but some issues:
I capture some screen from my putty.

1)
15:53:00 (23.82 KB/s) - perl-MIME-tools-5.411-2.dag.rh73.noarch.rpm' saved [380904]

error: failed dependencies:
        perl-MIME-tools >= 5.411a is needed by amavis-ng-0.1.6.4-03dc
        perl-MIME-tools >= 5.411a is needed by sme-antivirus-1.1.0-1
installation correcte ?

2)
File perl-TimeDate-2.22-1.noarch.rpm' already there, not retrieving.
Preparing...                ########################################### [100%]
package perl-TimeDate-2.22-1 is already installed

3)
15:59:27 (29.50 KB/s) - zlib-devel-1.1.4-8.7x.i386.rpm' saved [69475]

error: failed dependencies:
        zlib = 1.1.4 is needed by zlib-devel-1.1.4-8.7x

4) When i loged in zoneminder, hit "option" and I didn't see anything below options items, and the message "Unknown MySQL error".
Then I execute perl zminit and I see option now, but can not run zoneminder service again.

I have standard installation box SME 6.0.1-01 and MySQL 4.1.8

5) In the script you repeat two times perl-TimeDate-2.22-1.noarch.rpm

Thanks for your effort and share your knowledeg

Sorry for my english

Offline fpausp

  • *
  • 728
  • +0/-0
Thanks chaapai !
« Reply #9 on: February 12, 2005, 10:38:54 PM »
Thanks chaapai !

Thank you for your work  :-D , i have done a test with a Hauppauge ImpactVCB card and my camcorder and it works good, but i can only use one port. I found this in the  zoneminder forum:

After lots of playing around and experimentation I've managed to get 2 Hauppauge ImpactVCB cards working in the same system, with 4 ports on each card. The problem is bttv autodetects the card as Card=10. After looking through the bttv gallery at http://www.bttv-gallery.de/ I found this card also listed as an Osprey card, Card=82. The card also works as a 4 port Grandtec
Card=77. All use the same 878A Capture chip.

For multiple cards add this to your /etc/modprobe.conf
options bttv card=82,82 tuner=4,4
Also I think bttv has a limit of 4 cards per system, although I haven't actually tried this many.

Make sure all of the cameras connected to one card are set to the same resolution, and the same "Capture Palette". ie: B&W Cameras on one card, colour on the other.

If you are looking for a reliable source for these cards in North America, try http://www.fgeng.com/. Cards are $69USD, plus taxes and shipping.
For Canadians, they ship from within Canada, and the last one I ordered arrived in 4 days.
Don't expect top of the line performance from this card, as there is only one capture chip.

Where can i find the modprobe.conf ?

thanks
fpausp
Viribus unitis

CKConsulting

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #10 on: February 15, 2005, 04:56:06 AM »
Does anyone have a test site we could check out??
Thanks,
Rick

biffer

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #11 on: February 17, 2005, 06:53:26 PM »
Salut

I tried to install Zoneminder with your script, and i had some small problems :

1. same as "PicsOne"

2. Afterwords :
18:14:59 (7.92 KB/s) - zm-1.20.1-sme60_1.i386.rpm' saved [1068865]

Preparing...                ########################################### [100%]
Creating ibay 'zoneminder' (Uid:5003).
   1:zm                     ########################################### [100%]


Use ZM_DB_USER= and ZM_DB_PASS= for ZM DB login
ERROR(/etc/zm/zm.conf): ZM_DB_SERVER should exist and be not empty.
In /etc/zm/zm.conf there should not be null values.


I did this on a fresh install of the 6.0.1-01 with the update script afterwords : http://no.longer.valid/phpwiki/index.php/Latest%20version%20of%20update%20scripts

Help me SVP :)

Sune

Offline ldkeen

  • *
  • 403
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #12 on: February 24, 2005, 09:12:00 AM »
Rick,
If you e-mail me I'll give you the details of my site so you can a look. (lloyd-AT-comnetel-dot-com).
Regards Lloyd

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #13 on: February 24, 2005, 02:17:09 PM »
This is my experience:
In the same server I have problems with zoneminder, I upgrade antivirus to version 083 and zoneminder now run ok.

Offline Lourens

  • *
  • 40
  • +0/-0
Smeserver 6.5 -> zoneminder
« Reply #14 on: April 03, 2005, 12:31:52 AM »
Zoneminder is working perfectly with SME6.5RC1
......

Offline Smitro

  • *
  • 349
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #15 on: May 31, 2005, 10:56:29 AM »
I'm thinking about getting a cheapo camera to go with this. Suggestions? will it work with any camera?
.........

Offline Lourens

  • *
  • 40
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #16 on: May 31, 2005, 11:03:24 AM »
Smitho,

What is cheapo? Axis 205 works fine to me and it will cost you less then 200 euro's.

Lourens
......

Offline Smitro

  • *
  • 349
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #17 on: May 31, 2005, 02:58:00 PM »
Sorry, I'm an Aussie, so I have no idea how much that is, even if I converted it your pricing would be different...

I'm thinking one of these cheap bottom of the range USB camera's. doesn't have to be a good picture, just enough to see that it's a person, thinking security camera for my house.
.........

bovnet

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #18 on: August 29, 2005, 07:38:14 PM »
Anyone put zoneminder on sme 7 ? I find the livecd mandrake not reliable enough.

It was also mentioned in this tread that zoneminder can be piped throught to sme. How is that done ? I want the zoneminder pages to show on the net via my sme.

chaapai

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #19 on: August 31, 2005, 11:29:57 PM »
hello all !!
zoneminder 1.21.3 works perflectly on sme7beta2

i've rebuild some rpms like ffmpeg-0.4.8 (don't exist in centos 4.1 and 0.4.9 don't works with ZM), some add-libs...

Lat-tools don't work on sme7 (but you can change in lat-ibay the reference /home/files/account to /home/files/db/accounts and works :)

i've tested with 12 cams it's ok
i've rebuild some modules drivers for patch kernel (bttv, quickcam, spca50x) and make rpms for drivers...
works with grandtec 4input ..X2

I must find, rebuild, and test perl-X10 , but the next week you will find ZM-rpms on my site, with YUM (work perfectly !!)

So, i mut finalize my RPMS and the next week it's ok

during this wait look :
http://www.chaapai.homelinux.net/images/contenu/zm1.21.3.jpg

bovnet

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #20 on: September 01, 2005, 12:45:26 AM »
wow looks fantastic

cant wait to try it out

Offline ldkeen

  • *
  • 403
  • +0/-0
Zoneminder on 7.0b2
« Reply #21 on: September 01, 2005, 09:25:51 PM »
Chaapi,
Great work, but the last time I installed zoneminder from rpm my log files filled up with thousands of lines of debug info like this:

Quote
Mar 8 01:14:04 guru zmc_m1[7158]: INF [Netcomm: 11567000 - Capturing at 23.81 fps]
Mar 8 01:14:18 guru zma_m1[5350]: INF [Netcomm: 11598000 - Processing at 24.39 fps]
Mar 8 01:14:35 guru zmc_d0[19967]: INF [ir_camera: 8753000 - Capturing at 25.00 fps]

making it impossible to find any important info from the server. I tried turning down the debug level using environment variable but it didn't work. Is it possible to drop the debug level down when compiling?? This exert from Phil (zoneminder):

Quote
If, however you want to reduce the amount of messages generally, you will need to either modify the main file of each of the binaries you want to change and modify the lineCode:
zmDbgInit( "zmc", dbg_id_string, 0 );

to becomeCode:
zmDbgInit( "zmc", dbg_id_string, -1 );

for example. Or set the environment variables ZM_DBG_LEVEL (global) or ZM_DBG_LEVEL_zmc (zmc only) to -1 in you environment.

The default is debug level 0 usually which is info, warning and error messages but no debug. Levels from 1 to 9 increase the debug level whereas level -1 prevents info, and level -2 prevents warnings leaving only errors. Level -3 will switch off absolutely everything and is not recommended. Level -1 should be fine for you.


Once again, thanks for your time.
Regards Lloyd

chaapai

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #22 on: September 03, 2005, 12:02:28 AM »
hello all!

Yes, zoneminder on sme6 fill the log files, because my choice :
old-kernel 2.4.20 - with a little bug on videodev and old drivers, lot of problems with video...
 
but with sme7, kernel 2.6 (yeas!) and you can patch kernel with modules drivers (for ex: add  only quickam.ko in /lib/.../kernel/..../drivers/usb/media.., no need to rebuild kernel on (production) machine !)
For logs
on sme 6 i use USR signal (but don't works on all zm process)
ZM don't have a .conf file to put directly the debug level (or other parameters) after compiling, so I include in rpm a patch file who include only the debug level (ZM_DBG_LEVEL=-2...9)

I will make two rpms, a first with level -1 or -2 and a second with level 9 for debug....

bye!

Offline Teviot

  • *
  • 610
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #23 on: September 03, 2005, 04:43:41 AM »
Just wondering, is there an install script that installs the latest version and can find all of the required file?  I installed the script that appears ealier and had a few problems including not being able to understand the language it was in.

Adrian
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

chaapai

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #24 on: September 03, 2005, 04:11:34 PM »
hello all!

With sme7 no need script...
yum -install zm will work.
i've tried it and it's work..
it's better than script no ?  :-D

Defaut language of zm rpms will en_en.

Offline Teviot

  • *
  • 610
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #25 on: September 04, 2005, 05:47:01 AM »
Thats great !!!

But what about SME Server 6.0.1-01??

Adrian
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

bovnet

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #26 on: September 08, 2005, 11:36:44 AM »
yum install zm

reports nothing to do

So i need to change the repository ?

Offline Teviot

  • *
  • 610
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #27 on: September 10, 2005, 09:24:36 AM »
Hi Guys

I'm looking for an install script for SME6.0.1-01?

Can anyone help?
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

bovnet

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #28 on: September 10, 2005, 02:24:11 PM »
teviot

ftp://userftp:userftp@chaapai.homelinux.net

will get you into chaapai's ftp site looks like sme 6 stuff in there. In the SME/video/zoneminder

Chaapai

Hope you see this thread and get back with your SME7/yum setup to tryout.

The zoneminder livecd just wasnt stable enough.

chaapai

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #29 on: September 10, 2005, 08:49:55 PM »
HELLO ALL !!!!
It's a good day for my annonce :
Server yum is ready
WITH Zoneminder-1.21.3!!!!!

for enable yum contrib for your server type:

Quote
# echo "contribchaapai=repository|BaseURL|ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0beta/smechaapai/\$basearch|EnableGroups|0|GPGCheck|0|Name|SME Server - Chaapai contribs|status|enabled">>/home/e-smith/db/yum_repositories
# /sbin/e-smith/expand-template /etc/yum.conf

look in /etc/yum.conf, normally it's like :
Quote
...
[contribchaapai]
name=SME Server - Chaapai contribs
baseurl=ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0beta/smechaapai/$basearch
gpgcheck=0
enablegroups=0
...


and for install ZM with X10 support

Quote
#yum install zm-X10


without X10 support type only
Quote
#yum install zm


beware, i've changed my server and the acces for ftp is now
FTP:\\ftp.chaapai.homelinux.net
for anonymous

Have a good day ..
Chaapai

bovnet

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #30 on: September 10, 2005, 11:48:43 PM »
Chaapai awesome!!

yum install bttv was also required but hey it worked too.

My cam image is fuzzy but i reckon the rain has zapped it. I will need to check it out in the morning.

Thanks greatly Steve.

chaapai

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #31 on: September 11, 2005, 12:15:26 AM »
re-hello all!

"yum install bttv" will install drivers bttv-0.9.15 (bt848 and bt878 for bttv card.. (4inputs and more)yes yes yes!!!!  :-D

"yum install qc-usb" will install drivers qc-usb-0.6.3 for quickcam express...

"yum install spca5xx" will install drivers spca5xx-20050903

i've rebuild this drivers because they don't present...

but you have basic kernel drivers pwc ibmcam ov511.. (lib/modules/2.6.9-11.el/kernel/drivers/usb

Have a good night!!!  8-)

Offline Teviot

  • *
  • 610
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #32 on: September 11, 2005, 05:17:54 PM »
Hello Guys

I'm very interesded in this package and have been trying to get an install script that works.

The script file that is located at http://ftp://userftp:userftp@chaapai.homelinux.net/SME/video/zoneminder/zoneminder-1.20.1/ has problems finding some files.

Could someone find or could the script writter fix the script or maybe rewrite the script so it finds and installs all the files.

Adrian
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline ldkeen

  • *
  • 403
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #33 on: September 12, 2005, 10:14:45 AM »
Chaapai,
Great work, however baseurl didn't work for me, was:
ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0beta/smechaapai/$basearch
Had to change to:
ftp://chaapai.homelinux.net/yum-smeserver/7.0beta/smechaapi/$basearch
Vous êtes un génie
Regards Lloyd

chaapai

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #34 on: September 12, 2005, 07:38:36 PM »
hello all!

oops, it's an error, i forget wilcards on dyndns, sorry....:oops:

ftp://ftp.chaapai.homelinux.net works now ...  :-D

for sme 6, i must work on script, but you can find some files on my ftp, in /SME6.5/video/zoneminder/1.21.0/libs/**.rpm

you can also use the script in sme6.5 (don't forget zoneminder_libs_pkg-v1.01.txt ) and change in script
IS_SME65=pic rpmlist | grep -c SMEServer-6.5
by
IS_SME65=pic rpmlist | grep -c SMEServer-6

(delete .5)

BUT NO GUARANTEE, NO TESTED .... (i've only tested with a sme6 without upgrade, only fresh install)

Offline Teviot

  • *
  • 610
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #35 on: September 13, 2005, 06:16:14 AM »
I guess I need to repeat myself even after trying the change to the script for use on SME6.0.1-01.


THERE ARE FILES THAT CAN NOT BE FOUND.

Adrian
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline gregswallow

  • *
  • 651
  • +1/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #36 on: September 13, 2005, 04:27:44 PM »
Quote from: "teviot"
THERE ARE FILES THAT CAN NOT BE FOUND.

Which ones?  Did you do a google search for them and try to find them yourself?  Don't expect everything to be done for you - We are all volunteers.  If you want guaranteed service, pay for it.

And by the way, you are far more likely to get a response by saying 'I get this error: xxxxx, when I do this: xxxx' than saying 'It doesn't work'.

guest22

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #37 on: September 14, 2005, 02:11:25 AM »
Quote from: "teviot"

THERE ARE FILES THAT CAN NOT BE FOUND.
Adrian


I WILL NOT SPEND ANY TIME ON YOU

Offline Teviot

  • *
  • 610
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #38 on: September 14, 2005, 06:19:00 AM »
Quote from: "guest22"
Quote from: "teviot"

THERE ARE FILES THAT CAN NOT BE FOUND.
Adrian


I WILL NOT SPEND ANY TIME ON YOU


And I thought that if anyone put something up on this web site for the SME project, that they would want it to be as close to perfect at possible.  may be I was wrong

Adrian
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline gregswallow

  • *
  • 651
  • +1/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #39 on: September 14, 2005, 06:41:08 PM »
Adrian, have a good read of these two web pages:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
http://www.catb.org/~esr/faqs/smart-questions.html

Put yourself in the shoes of the person/people you're asking for help.  Have a look at what you've written so far - how is anyone supposed to know what problem you're having or how to fix it?

Offline Lourens

  • *
  • 40
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #40 on: September 14, 2005, 08:50:11 PM »
Chapaai;

chapeau!
Works like a charm. Get a much higher framerate/sec as in 6.01 and 6.5

Thanks!
......

wa4bro

Great Work Chaapai !!!!!!
« Reply #41 on: September 18, 2005, 09:51:39 AM »
Great Work Chaapai,

Working good here on 7.0b4 I can not wait until 7.0 goes final to put Zoneminder on my production server.

Using two 4 port bttv cards, working great!

I just discovered Zoneminder about 2 weeks ago and have had some great conversations with Phil and sent him a donation. If you have a PayPal account, I would also love to send you a donation to support your work on the SME version.

Folks, If there is ever an application that could become a real marriage it is ZoneMinder and SME. As far as I am concerned it should be a STOCK install!

Imagine a small office that SME is really designed for having it's own built in security camera system!  

Watching your front door, back office , Stock room.
Catch your robber on video on your small office server! This is great GPL work!

You can find out more about the application and get all the docs at http://www.zoneminder.com/

With the bttv module that Chaapai mentions, You can use the drivers to set up 4 or more camers on those cheap ebay 4 port cards. Course the capture frame rate drops by a 1/4 for every camera you add to them.

Right now I am using two of the 4 port cards with 3 cameras. 2 on one card with lesser frame rates and one on another card with near real time capture rates.

Again Chaapai Great Work!!

cosy

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #42 on: September 19, 2005, 06:08:47 AM »
Hi All,

  How do i test this with low cost and what sort of H/W should i use? Thanks.

Offline Teviot

  • *
  • 610
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #43 on: September 22, 2005, 02:30:39 AM »
Due to my lack of know-how with linux and trying to learn as much as i can, i ask questions.  If i can work things out for myself, I do.

Here is my problem this time.

I have a logitec quick-cam express
http://www.logitech.com/index.cfm/products/details/AU/EN,CRID=2204,CONTENTID=5037

but mine is an earlier one.  It look similar to the the on in the url.

I have now a test machine and have put sme7.0b4 on it.

I followed the instruction for a yum install and have tried to get the webcam working using the install scripts found at
http://ftp://ftp.chaapai.homelinux.net/SME/video/qc-usb/qc-usb-0.6.1/
with no success.

Can anyone suggest what I do next?
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

wa4bro

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #44 on: September 23, 2005, 01:38:50 PM »
Quote from: "teviot"
Due to my lack of know-how with linux and trying to learn as much as i can, i ask questions.  If i can work things out for myself, I do.

Here is my problem this time.

I have a logitec quick-cam express
http://www.logitech.com/index.cfm/products/details/AU/EN,CRID=2204,CONTENTID=5037

but mine is an earlier one.  It look similar to the the on in the url.

I have now a test machine and have put sme7.0b4 on it.

I followed the instruction for a yum install and have tried to get the webcam working using the install scripts found at
http://ftp://ftp.chaapai.homelinux.net/SME/video/qc-usb/qc-usb-0.6.1/
with no success.

Can anyone suggest what I do next?


Firstly, Have you installed Zoneminder from the yum install ?

If so have you browsed to http://yourserver.com/zoneminder and gotten a login screen where you used the default zoneminder user admin and password admin ?

Then your next step after loging in is to see the zoneminder monitor page. You would then need to add your camera by selecting "add a camera" then select the device location usually for the 1st camera it is /dev/video0 ?

Ross Mellin has a pretty good quick start page for zoneminder at http://www.zoneminder.com/fileadmin/downloads/zm_manual/

Since you were not specific as to why you can not get your camera to work I do not know if it is driver related or program setup related. Please try to be specifc as to "what is not working and how far you actually got in the setup process"

This could be as simple as you have not specified the camera in setup or there is actually a driver problem.

Make sure after you do the yum install zm that you also follow up installing the drivers Ie: for the qucick cam express yum install qc-usb

For a lot of other usb cameras use yum install spca5xx

Then for the Conextant/ Brooktree BT based chip capture cards ( a Ton of them) use yum install bttv

If you got the room and it takes very little, just follow up the yum install zm   with all the drivers that Chaapai has provided. This will cover quite a few capture cards and usb cams.

I am very new Zoneminder and pretty much a Linux newbie myself. So I am giving this advice just from my own use as an appliance operator and lots of reading and screwing things up <G> testing!

Good luck,
Dan

wa4bro

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #45 on: September 23, 2005, 02:10:27 PM »
Quote from: "cosy"
Hi All,

  How do i test this with low cost and what sort of H/W should i use? Thanks.


Video processing, especially to it's full extent does take a little horsepower. Especially when generating mpg video streams. I use Zoneminder on two machines, One an xp2500 chip with 1 meg memory and another on a Pen4 2.4ghz with 1.5gig memory. It runs great on both machines with the Pent4 being a little faster.

Video does require memory, the more the better. The good thing is memory is pretty cheap these days.

It will run on slower machines with less memory but some processes take a long time. Especiallly if you want to generate a downloadable video to your windows client. On average 10 mins of decent quality video will normally be a 30-40 meg file. It takes some time and CPU cycles to produce this.... even on a faster machine. But for just video monitoring, it really does not require that much horsepower to watch a .jpg produced java scripted viewer that is built in to zoneminder.

As far as cams, my initial testing came from a one dollar usb web cam that took 17 dollars to ship from Hong Kong off of ebay. It used the spa50xx driver. The quality of the cam was poor (hey it was only a dollar) and was cmos sensor. I highly suggest some sort of Brooktree capture card and a real CCD camera for the best video.  Most decent CCD security cameras will run from $79.00-$199.00 USD plus the capture cards witht he brooktree chip can run from $19.95 to hundreds of dollars depending on number of chips and ports on board.

There are quite a few USB cams on the higher end ($69.00 to $129.00 USD) than produce multi pixel video now days. These would be perfect for an office set up to watch say the door , desk area near the machine etc. The problem with USB is limited to the distance of the usb cable.

The brooktree chip capture card, Good CCD security camera and maybe a wireless transmiiter/reciever makes a pretty good combo. This is what I use for my web cam setup on http://roswellweather.net

It is a solar powered camera, 2.4ghz transmitter and receiver combo and a 4 port capture card on the computer. Currently it is window based, but my goal is to move it to sme 7.0 when released with a zoneminder feed.  Currently Windows XP needs a reboot every few days as usual to keep it running many tasks at the same time. I hope SME/ZONEMINDER will eventually make it a set forget option.

BTW you can grab just a single image for use on web pages etc with a command line url to zoneminder. I may cover this later in a HowTo

Again, Many thanks to Chaapai for providing Zoneminder to the SME community

Enjoy,

Dan

Offline morpheusx

  • *
  • 35
  • +0/-0
zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #46 on: September 28, 2005, 07:46:20 AM »
Thanks to Chaapai and everyone who posted such helpful info in this thread. I plan to use ZM with a network camera so I guess I don't need the video drivers etc.

I am running SME 7.0b4. I followed the instructions to add the yum info but the install just hangs during download as far as I can tell.

What am I doing wrong?

[root@cartman ~]# echo "contribchaapai=repository|BaseURL|ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0beta/smechaapai/\$basearch|EnableGroups|0|GPGCheck|0|Name|SME Server - Chaapai contribs|status|enabled">>/home/e-smith/db/yum_repositories
[root@cartman ~]#  /sbin/e-smith/expand-template /etc/yum.conf
[root@cartman ~]# yum install zm
Setting up Install Process
Setting up Repos
smeaddons                 100% |=========================|  951 B    00:00    
contrib                   100% |=========================|  951 B    00:00    
base                      100% |=========================| 1.1 kB    00:00    
updates                   100% |=========================|  951 B    00:00    
contribchaapai            100% |=========================|  951 B    00:00    
smeos                     100% |=========================|  951 B    00:00    
smeupdates                100% |=========================|  951 B    00:00    
Reading repository metadata in from local files
base      : ################################################## 1406/1406
updates   : ################################################## 178/178
primary.xml.gz            100% |=========================|  10 kB    00:00    
MD Read   : ################################################## 34/34
contribcha: ################################################## 34/34
smeos     : ################################################## 433/433
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for zm to pack into transaction set.
zm-1.21.3-01.sme7.i386.rp 100% |=========================|  25 kB    00:00    

(my terminal session hangs at this point)

if I abort it gets a little further then hangs up again

--> Populating transaction set with selected packages. Please wait.
---> Package zm.i386 0:1.21.3-01.sme7 set to be updated
--> Running transaction check
--> Processing Dependency: libmp3lame.so.0 for package: zm
--> Processing Dependency: perl-Device-SerialPort for package: zm
--> Processing Dependency: zm-lat_ibay = 1.21.3 for package: zm
--> Processing Dependency: perl-Archive-Tar for package: zm
--> Processing Dependency: libavformat.so for package: zm
--> Processing Dependency: lame for package: zm
--> Processing Dependency: perl-Archive-Zip for package: zm
--> Processing Dependency: perl(Device::SerialPort) for package: zm
--> Processing Dependency: ffmpeg for package: zm
--> Processing Dependency: libavcodec.so for package: zm
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for ffmpeg to pack into transaction set.
ffmpeg-0.4.8-01.el4.i386. 100% |=========================| 8.0 kB    00:00

then I get an error which looks like the ftp is down

[root@cartman ~]# yum install zm
Setting up Install Process
Setting up Repos
smeaddons                 100% |=========================|  951 B    00:00    
contrib                   100% |=========================|  951 B    00:00    
base                      100% |=========================| 1.1 kB    00:00    
updates                   100% |=========================|  951 B    00:00    
ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0beta/smechaapai/i386/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error]
Trying other mirror.
Cannot open/read repomd.xml file for repository: contribchaapai
failure: repodata/repomd.xml from contribchaapai: [Errno 256] No more mirrors to try.

I can ftp to ftp://ftp.chaapai.homelinux.net but it doesn't allow anonymous login.

root@cartman ~]# wget ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0beta/smechaapai/i386/repodata/repomd.xml
--22:51:01--  ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0beta/smechaapai/i386/repodata/repomd.xml
           => repomd.xml'
Resolving ftp.chaapai.homelinux.net... 212.195.38.21
Connecting to ftp.chaapai.homelinux.net[212.195.38.21]:21... connected.
Logging in as anonymous ...
Login incorrect.

wa4bro

Yum Url
« Reply #47 on: September 29, 2005, 09:55:51 PM »
I am not around my test machine right now, but I think I had to change the yum url to

ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0beta/smechaapai/i386/

to get it to work.

Dan

wa4bro

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #48 on: September 29, 2005, 10:00:05 PM »
Quote from: "dave_d"
I've used Zoneminder quite a lot - but never on an SME server.  Main problem is that there ain't no X-Server!

What I do is simply put Zoneminder onto another box -Slackware, in my case - and then pipe the output through the SME server.  That way the SME server is not soaked doing all the video processing and the Zoneminder box is carefully hidden from prying eyes!

---Just my take on it, you know!

Regards,

Dave


Dave,

A couple of folks have asked how you did this ?
Can you expand on your post?
Thanks,
Dan

bovnet

zoneminder-videomonitoring on sme 6.0.1-01 + updatescript
« Reply #49 on: September 30, 2005, 02:59:09 PM »
After my alloys where stolen i set up the zoneminder livecd on a 2.8ghz 500 meg ram machine with 2 4port/4chip bttv cards. It never stayed up much longer than a few hours to a day or 2.

With the excellent SME7/yum install its rock steady, yes there is no x but that was a real cpu and resource killer. I set up a seperate old computer using kioskcd linux for viewing.

Whilst most may reckon its not good practice to run things such a zoneminder on a server, i reckon it could handle modest server load too.

I have used SME7 purely as a base for zoneminder in a dedicated box mainly due to the fact that i dont want to mess migrating my SME6 web server.

I would however be interested in how it is possible to as you say pipe pictures across.