Aviosys IP Kamera 9060 Working

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.

Moderator: zoneminder

Posts: 13
Joined: Fri Aug 18, 2006 11:11 pm
Location: South Africa

Aviosys IP Kamera 9060 Working

Postby Solar » Sat Aug 19, 2006 9:48 am


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= -port=15000

Where 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:
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= -port=15000 &

Hope this works as beautifully for you guys as it did for me.


User avatar
Site Admin
Posts: 5221
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK

Postby zoneminder » Sun Aug 20, 2006 8:31 pm

Thanks for posting this. I'm sure other users will find it useful.

Posts: 6
Joined: Sat Sep 30, 2006 2:41 pm

Postby Ryder » Thu Mar 08, 2007 7:44 am

This works perfectly Solar!

Thanks very much!

Posts: 17
Joined: Mon Aug 28, 2006 1:38 am


Postby linuxnewbie » Wed Apr 25, 2007 9:12 pm

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?


Posts: 2
Joined: Mon Jun 30, 2008 11:59 am


Postby manusvs650 » Mon Jun 30, 2008 12:02 pm

I can't connect to my webcam
Howto authenticate ?

Posts: 2
Joined: Mon Jun 30, 2008 11:59 am

Postby manusvs650 » Mon Jun 30, 2008 12:44 pm

I have done a test with a free webcam (Aviosys 9060SL):
sudo /usr/src/relay/relay-nc800 -url= -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

Postby srvblues00 » Sun Feb 14, 2010 11:09 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?

Return to “User Contributions”

Who is online

Users browsing this forum: No registered users and 2 guests