This may info is probably known by most users of Zoneminder, but could be a big help to others.
It's been posted a cpl of times about how to stream one or more monitors from one ZM install to another.
The posts I've seen show how to do it using mjpeg, which does use tons of bandwith especially now that
IP cams are being used (875K stills on 720P 1.3mp).
Here is the difference. You can stream monitors from an existing ZM install to another using mpeg
instead of the mjpeg methd I've seen posted. There is a major difference to the bandwith used
along with the extra parameters that can be used.
The system I'm using for testing is:
ubuntu 11.10 64bit
ZM 1.25.0
Monitors are ffmpeg type H264 1.3MP Dahua cams, and the view is set @ mpeg / asf
To add a monitor using streaming video, open a monitor from the "Source" ZM box in firefox that's set to use mpeg streaming.
use the feature "view page source" and get the monitor string.
It'll look something like this.
http://IPADDRESS:82/cgi-bin/nph-zms?mod ... 1401949836
Copy the string into the "Source Path" of the monitor you're setting up.
in my case, i'm using 1280x720P cams so the "scale=75" will give me a monitor @ 960x540.
I use asf so it can go full screen on dbl click, you can see the reference in the string(format=asf).
Some of the parameters come from the bandwith LOW / MEDIUM / HIGH options page,
but can be changed in the string.
Use this to setup a monitor on the "target" ZM install as an ffmpeg source and size it acording to scale.
The data flow is FAR LESS than mjpeg and with todays cable services it's doable.
The string can be changed to what ever you want from ZM. I've been testing this for
3 days and works well with modetect too. The savings are, one still @ 960x540 is about 300k
where the 720 images range from 550 to 875k. scaling the pic still gives you the full FOV.
With Dahua cams cutting the res. cuts the FOV, this does not. In bandwith, two monitors @ 960x540 running
bitrate of 780k and 10 to 15 fps cost me 1.8mbps out of a 10mbps upload connection.
I use XYMON on most of the Zoneminder installs I do, so it's graphed.
One XYMON VM in an ESXi 5.0 server watches all of them. very handy when tweaking the settings.
Add Monitor from a diff' ZM box
Re: Add Monitor from a diff' ZM box
I just noticed this POST..
Stream mpeg/h264/avi; whatever you'd like from ZM
It's pretty much the same as Mine.. although H264 would be even better.
The bandwith I'm getting is Low, not sure if it's H26.
It looked so good that I didn't bother to check..
read his post.
Stream mpeg/h264/avi; whatever you'd like from ZM
It's pretty much the same as Mine.. although H264 would be even better.
The bandwith I'm getting is Low, not sure if it's H26.
It looked so good that I didn't bother to check..
read his post.