Page 1 of 1

Aviosys IP Kamera 9060 Working

Posted: Sat Aug 19, 2006 9:48 am
by Solar
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

Posted: Sun Aug 20, 2006 8:31 pm
by zoneminder
Thanks for posting this. I'm sure other users will find it useful.

Posted: Thu Mar 08, 2007 7:44 am
by Ryder
This works perfectly Solar!

Thanks very much!

perfect

Posted: Wed Apr 25, 2007 9:12 pm
by linuxnewbie
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

Authentication

Posted: Mon Jun 30, 2008 12:02 pm
by manusvs650
I can't connect to my webcam
Howto authenticate ?

Posted: Mon Jun 30, 2008 12:44 pm
by manusvs650
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 ?

Posted: Sun Feb 14, 2010 11:09 pm
by srvblues00
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?