streaming through zoneminder

Forum for questions and support relating to the 1.30.x releases only.
Locked
popot
Posts: 1
Joined: Tue Feb 13, 2018 6:34 am

streaming through zoneminder

Post by popot »

I'm a student doing research project, recording 500 petri dish growth. Each petri dish has its own ip cam. My cameras does only 1 stream, I can't directly view it. So using zoneminder for recording and broadcast stream to my project mates, if they doing particular work on a petri dish, they will like to see it through their laptop/phone.

#https://wiki.zoneminder.com/Dummies_Gui ... he_Cameras
#https://wiki.zoneminder.com/Example_Camera_View_HTML
#http://onlinetechadvice.blogspot.com/20 ... r-vlc.html

-----
#http://zoneminder.readthedocs.io/en/sta ... untu-16-04
ubuntu 16.04, multi server zoneminder setup
zoneminder 1.30.4
-----
centos 7
mysql -V
#mysql Ver 15.1 Distrib 5.5.56-MariaDB, for Linux (x86_64) using readline 5.1
-----
freenas 11.1
nfs4
zoneminder events
zoneminder images
-----

Using
https://serverip/zm/cgi-bin/nph-zms?mod ... pass=xxxxx
https://serverip/zm/cgi-bin/nph-zms?mod ... pass=xxxxx

Tried to view it with direct link using chrome
Tried to open up with html file
<html><body bgcolor="black">
<img width="1280px" height="720px" src="https:/serverip/zm/cgi-bin/nph-zms?mode=jpeg&monitor=66&scale=100&maxfps=30&buffer=1000&user=desk880&pass=xxxxx" >
<img width="1280px" height="720px" src="https://serverip/zm/cgi-bin/nph-zms?mod ... ass=“xxxxx" >
</body>
</html>
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: streaming through zoneminder

Post by rockedge »

Is the authentication for ZM is enabled or no? Do you want the project members to see the streams in a web page or would access to the web console setup with the correct user(s) and permissions....be the method of viewing the camera streams?
One could create a new user (Options->Users) called for example "justlook" and allow this user to be "enabled" and Stream is set to view everything else set to "none" Your Options->Systems->OPT_USE_AUTH is checked and set AUTH_RELAY to "none".

now you can allow team members to log on to the web console remotely and view the camera streams that way
or when you have the stream open, right click on the stream and copy the location URL.... use this URL like:

Code: Select all

<img class="aligncenter" src="http://zm-server-ip/cgi-bin/nph-zms?mode=jpeg&scale=100&maxfps=5&buffer=1000&monitor=1&user=justlook" alt="stream down" width="420" height="340" />
embedded into the web page as you described

let us know how you make out!
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: streaming through zoneminder

Post by bbunge »

Locked