Daisy-chaining ZoneMinder installations?

Support and queries relating to all previous versions of ZoneMinder
Locked
emoda
Posts: 5
Joined: Fri Jun 10, 2005 1:16 pm

Daisy-chaining ZoneMinder installations?

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

Post 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
emoda
Posts: 5
Joined: Fri Jun 10, 2005 1:16 pm

Post 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.
:: emoda technology group ::
:: bespoke solutions ::
emoda
Posts: 5
Joined: Fri Jun 10, 2005 1:16 pm

Post 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.
:: emoda technology group ::
:: bespoke solutions ::
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
emoda
Posts: 5
Joined: Fri Jun 10, 2005 1:16 pm

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

Post 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
emoda
Posts: 5
Joined: Fri Jun 10, 2005 1:16 pm

Post 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.
:: emoda technology group ::
:: bespoke solutions ::
Locked