Difference between revisions of "External Live Stream"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 1: Line 1:
Here is an html file you might use in a client [[Desktop SBC Camera Monitor]] to view the streams from the ZM Server. You will need to adjust the resolution, number of cameras, and monitor id of the URL to your setup.
Here is an html file you might use in a ZM client [[Desktop SBC Camera Monitor]] to view the streams from the ZM Server. You will need to adjust the resolution, number of cameras, and monitor id of the URL to your setup.


In my experience, Clients viewing the Streams (up to 3 clients, with 20 cameras) do not slow down the ZM Server.
In my experience, Clients viewing the Streams (up to 3 clients, with 20+ cameras) do not slow down the ZM Server.


For more details, see [[Dummies_Guide#Watching_the_Cameras]]
For more details, see [[Dummies_Guide#Watching_the_Cameras]]
Line 17: Line 17:
</pre>
</pre>


 
===Quickly Change pixel settings for page===
It should be possible to get CSS on this page, so the videos auto fill the page appropriately (haven't gotten around to it) but it's also possible to use sed here to adjust the pixels as needed
<pre>
sed s/oldpx/newpx/g -i cameras.html
</pre>





Revision as of 17:48, 27 December 2018

Here is an html file you might use in a ZM client Desktop SBC Camera Monitor to view the streams from the ZM Server. You will need to adjust the resolution, number of cameras, and monitor id of the URL to your setup.

In my experience, Clients viewing the Streams (up to 3 clients, with 20+ cameras) do not slow down the ZM Server.

For more details, see Dummies_Guide#Watching_the_Cameras

<html><body bgcolor="black">
<img width="412px" height="268px" src="http://IPOFZMSERVER/zm/cgi-bin/nph-zms?mode=jpeg&monitor=1&scale=100"&user="watchinguser"&pass="somepassword" >
<img width="412px" height="268px" src="http://IPOFZMSERVER/zm/cgi-bin/nph-zms?mode=jpeg&monitor=2&scale=100"&user="watchinguser"&pass="somepassword" >
<img width="412px" height="268px" src="http://IPOFZMSERVER/zm/cgi-bin/nph-zms?mode=jpeg&monitor=3&scale=100"&user="watchinguser"&pass="somepassword" >
<img width="412px" height="268px" src="http://IPOFZMSERVER/zm/cgi-bin/nph-zms?mode=jpeg&monitor=4&scale=100"&user="watchinguser"&pass="somepassword" >
<img width="412px" height="268px" src="http://IPOFZMSERVER/zm/cgi-bin/nph-zms?mode=jpeg&monitor=5&scale=100"&user="watchinguser"&pass="somepassword" >
<img width="412px" height="268px" src="http://IPOFZMSERVER/zm/cgi-bin/nph-zms?mode=jpeg&monitor=6&scale=100"&user="watchinguser"&pass="somepassword" >
</body>
</html>

Quickly Change pixel settings for page

It should be possible to get CSS on this page, so the videos auto fill the page appropriately (haven't gotten around to it) but it's also possible to use sed here to adjust the pixels as needed

sed s/oldpx/newpx/g -i cameras.html


See Also