Zoneminder on system A. Can i use a webcam attached to pc B?

Forum for questions and support relating to the 1.25.x releases only.
Locked
aleatorvb
Posts: 5
Joined: Fri Aug 03, 2012 2:35 pm

Zoneminder on system A. Can i use a webcam attached to pc B?

Post by aleatorvb »

Consider this situation:
Zoneminder installed and fully working on system A.
I have another system (that is always on) - system B with one or more webcam (lets say just one for the sake of keeping it symple).

Can i add to zoneminder/A the webcam on system B ?

Both run the lastest stable version of ubuntu.

Thank you for your time!
Flasheart
Posts: 342
Joined: Thu Jul 06, 2006 2:27 pm

Re: Zoneminder on system A. Can i use a webcam attached to p

Post by Flasheart »

Yes. Various ways.

Install something that provides web accessible jpgs or an mjpeg stream on PC A.

Install zoneminder on PC A as well, set up the webcam as a monitor, and use the live feed mjpeg as a feed for PC B.

Eg:

host: PC A's IP
path: /cgi-bin/nph-zms?mode=jpeg&monitor=1&scale=100&maxfps=5&

I am doing this on various feeds presently, including one where zm is feeding from itself on the same PC, as the rather shonky linksys ip camera gets all unreliable when you start taking two feeds, and I wanted one for motion, one for 24/7.
aleatorvb
Posts: 5
Joined: Fri Aug 03, 2012 2:35 pm

Re: Zoneminder on system A. Can i use a webcam attached to p

Post by aleatorvb »

Thank you for the information. All that's left now is to hunt down some softare for ubuntu and windows that let's me do that reliably.

Didn't realize zoneminder can do a loopback from itself.
So you have Camera A -> zoneminder -> defined as A - always record -> feed to zm camera B "motion record" ? Is this correct?
This is a feature out of the box? or do i need to install something else?
Flasheart
Posts: 342
Joined: Thu Jul 06, 2006 2:27 pm

Re: Zoneminder on system A. Can i use a webcam attached to p

Post by Flasheart »

Yep, exactly that, and no you don't need to install anything else. It adds some load, of course, but it can solve a problem.
Locked