Hi,
I had been playing around with Zone Minder for a few days now, but unfortunately the only camera hardware I currently have is the Aviosys IP Kamera 9060.
I got it to work with the Perl script that captures jpeg images, and then letting zone minder open it from a local path. Unfortunately this was a little slow, and also took up quite a lot of my (slow pc's) CPU.
At last, I found a way to get the streaming output of the camera into ZoneMinder:
Download the relay file for the NC 800 here: http://www.lavrsen.dk/twiki/bin/view/Mo ... NC800Relay
(This works fine with the 9060 too).
At a linux prompt, type:
cd /usr/src
mkdir relay
cd relay
wget http://www.lavrsen.dk/twiki/pub/Motion/ ... 800.tar.gz
untar -zxvf relay-nc800.tar.gz
make all
The executable will be built now. If you're running a linux distro (like the CTU FC-3 one), where you can't build this file, build it on another pc, or reply to this post, and I'll post the one already compiled for i386.
Now, all you need to do, is run:
./relay-nc800 -url=http://192.168.1.2:8080/cgi-bin/Stream?Video -port=15000
Where 192.168.1.2:8080 is the IP and port of your IP Kamera. (Normally the port is 80).
You can leave the value of 15000 as is for now.
Now go into Zone Minder's config, and add a remote device:
Remote Host Name: 127.0.0.1
Remote Host Port: 15000
Remote Host Path:
(leave remote host path blank).
That's it!!
If you'd like the relay program to auto start when you're starting your pc, put this command in your /etc/rc.local file
nohup /usr/src/relay-nc800 -url=http://192.168.3.84:80/cgi-bin/Stream?Video -port=15000 &
Hope this works as beautifully for you guys as it did for me.
-Christiaan
Aviosys IP Kamera 9060 Working
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 17
- Joined: Mon Aug 28, 2006 1:38 am
perfect
thanks for the instructions finally got it working. only problem i have encountered is that sometimes the camera loses its connection. in terminal i get the error "connection reset by peer" any ideas how i can stop this?
Thanks
Thanks
-
- Posts: 2
- Joined: Mon Jun 30, 2008 11:59 am
Authentication
I can't connect to my webcam
Howto authenticate ?
Howto authenticate ?
-
- Posts: 2
- Joined: Mon Jun 30, 2008 11:59 am
I have done a test with a free webcam (Aviosys 9060SL):
sudo /usr/src/relay/relay-nc800 -url=http://61.59.37.156:82/cgi-bin/Stream?Video -port=15000 -auth=guest:guest -debug
It works !
But whith mine it doesn't. It's a 9060-O. What's the difference with the 9060SL ?
sudo /usr/src/relay/relay-nc800 -url=http://61.59.37.156:82/cgi-bin/Stream?Video -port=15000 -auth=guest:guest -debug
It works !
But whith mine it doesn't. It's a 9060-O. What's the difference with the 9060SL ?
-
- Posts: 2
- Joined: Sun Feb 14, 2010 10:26 pm
I have the Aviosys 9060A-MP camera.. When I execute the above Perl script here in Ubuntu, it connects fine, but has an error saying bad header image. Is the script for a slightly different version of the camera, or do I need to modify some parameters?
I have also worked with the NC800 relay script solution, but that doesn't work either - I just get a blank black screen in the ZM monitor view.
Any ideas?
I have also worked with the NC800 relay script solution, but that doesn't work either - I just get a blank black screen in the ZM monitor view.
Any ideas?