Seeing a set of ZM systems in a tree

Support and queries relating to all previous versions of ZoneMinder
Locked
john_l_b
Posts: 37
Joined: Thu Aug 02, 2007 2:20 am

Seeing a set of ZM systems in a tree

Post by john_l_b »

I'm considering setting up multiple ZM systems with 2 or more capturing videos and one or more doing composite display from the others.

With the IP input capabilities where it sees the streaming video it should be able to get streaming video from another ZM system.

Is there a way of getting each of the streams without getting the text that occurs with when clicking on a camera name.
i.e. 'http://ip_addr/zm/index.php?view=watch&mid=no'

There is probably some obvious way I can't see at this point.
User avatar
Blazer
Posts: 234
Joined: Sun Jun 05, 2005 12:57 pm

Post by Blazer »

Sure, This will allow you to grab a screenshot of monitor 1:

http://YourServer/cgi-bin/nph-zms?mode= ... &scale=100

Be aware though that the screenshot includes the caption overlay, so your second ZM will overlay on top of that caption, and will probably look funny.

I think it would be easier for your "composite display" machine, to simply be a web broswer accessing the montage view of the other servers.

Alternately, you can run a cron job on the Zm servers which grabs a raw frame and copies to to your display server, where with some HTML you could use these images to build a single page that is a "mega-montage" of both servers.
allanE
Posts: 44
Joined: Mon Feb 09, 2009 1:19 pm
Location: Sharps Chapel,TN

Post by allanE »

This can,and is done on my system this way.

1) set both machines up as standard zoneminder systems.

2) machine 1 (slave) can monitor or record,mocord,or any mode you want.

3) machine #2 (master) looks at machine #1 as a group of ip cameras.

Set the master up for "remote" cams---remote host name =remote ip address, and host path= /cgi-bin/zms?mode=single&monitor=2&scale=100&maxfps=10. This works on my system but you path may be different. Right click on the picture and look at "source" this gives the true path to that camera.
Then a standard montage view of "master" will show all cameras on both systems
The usual stuff for ip cameras applies, must be the same resolution and color rendition on both systems.
Allan
User avatar
Blazer
Posts: 234
Joined: Sun Jun 05, 2005 12:57 pm

Post by Blazer »

That works, but as I said you will also get the image caption overlayed on the image and they will be overwritten, so disable captions on the second (viewing only) server, so that the orig caption overlays are intact.

IMO it is overkill to use zoneminder just to create a montage of other (remote zm) cameras, but it is a simple solution. I suppose it wouldn't be too resource heavy if you had the monitors only in "monitor" mode.
allanE
Posts: 44
Joined: Mon Feb 09, 2009 1:19 pm
Location: Sharps Chapel,TN

Post by allanE »

Blazer
You might want to look at that again sometime. My system does not overlay the captions I think they are written at a later point in the process. The transferred pictures are the raw capture and not yet captioned. At least that is my understanding of how it works.
Allan
Locked