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.
Post Reply
Solar
Posts: 13
Joined: Fri Aug 18, 2006 11:11 pm
Location: South Africa

Aviosys IP Kamera 9060 Working

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Thanks for posting this. I'm sure other users will find it useful.
Phil
Ryder
Posts: 6
Joined: Sat Sep 30, 2006 2:41 pm

Post by Ryder »

This works perfectly Solar!

Thanks very much!
linuxnewbie
Posts: 17
Joined: Mon Aug 28, 2006 1:38 am

perfect

Post 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
manusvs650
Posts: 2
Joined: Mon Jun 30, 2008 11:59 am

Authentication

Post by manusvs650 »

I can't connect to my webcam
Howto authenticate ?
manusvs650
Posts: 2
Joined: Mon Jun 30, 2008 11:59 am

Post 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 ?
srvblues00
Posts: 2
Joined: Sun Feb 14, 2010 10:26 pm

Post 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?
Post Reply