Page 1 of 1

Daisy-chaining ZoneMinder installations?

Posted: Fri Jun 10, 2005 1:44 pm
by emoda
Is is possible to set up a remote camera when the remote camera is another ZoneMinder?

e.g

PC1 has USB camera, appearing as /dev/video0 - running ZoneMinder - all working OK
PC2 has another USB camera also appearing as /dev/video0 - also running ZoneMinder - all working OK

Can I set up PC2 to have a 2nd monitor, remote type, looking at PC1's ip to get the jpg's from ZoneMinder???

I've tried using /zm/index.php?view=monitor&mid=1 and /zm/index.php?view=watchfeed&mode=&mid=1&scale=100&control= as the path but both give error

Code: Select all

zmc_m1[16032]: ERR [Unrecognised content type 'text/html; charset=ISO-8859-1']
so I guess the path's wrong-ish :-)

Can I get to the jpg's directly?

Posted: Fri Jun 10, 2005 3:30 pm
by zoneminder
You need to use the zms path directly. If you do 'view source' on one of the streaming pages you should see a path to zms in there which you can use. Several people already do this so you might find something useful by searching the the forums.

Phil

Posted: Fri Jun 10, 2005 10:50 pm
by emoda
zoneminder wrote:You need to use the zms path directly. If you do 'view source' on one of the streaming pages you should see a path to zms in there which you can use. Several people already do this so you might find something useful by searching the the forums.

Phil
Yeah, I dug a bit deeper and found the zms bit after posting the original query but haven't tweaked it enough to get it working yet...

I'd already searched the forums to no avail...

Thanks,

Chris.

Posted: Sun Jun 12, 2005 7:23 pm
by emoda
OK, so I've now got the path set to:

/cgi-bin/zms?mode=jpeg&monitor=1&scale=100&maxfps=5

which is not showing any images.

If I log onto the 1st PC's Zoneminder console directly I can see the images, but can't seem to get them to stream via the 2nd zoneminder...

Sometimes the zms path gets &auth=a8e6c530f4d548dbc34e938c0f24b0ab appended to it - is this significant?


Chris.

Posted: Sun Jun 12, 2005 7:28 pm
by cordel
Have a look at this thread:
http://www.zoneminder.com/forums/viewto ... ight=#8722

The authintication part is were you may be running into issues.
Regards,
Cordel

Posted: Sun Jun 12, 2005 8:09 pm
by emoda
Thanks for that - I'd already turned off authentication on the first zoneminder.

If I substitute the /cgi-bin/zms... url into a browser window I get "the image cannot be display because it contains errors" from Firefox. IE just displays a black box....

The plot thickens...

Posted: Sun Jun 12, 2005 8:20 pm
by zoneminder
Try using nph-zms instead of zms in FireFox. IE will not work at all as it does not support streaming jpegs.

Phil

Posted: Sun Jun 12, 2005 8:39 pm
by emoda
zoneminder wrote:Try using nph-zms instead of zms in FireFox. IE will not work at all as it does not support streaming jpegs.

Phil
Thank you - nph-zms did the trick :-)

Thanks again,


Chris.