I want to be able to pull jpeg snapshots as well as jpeg streams (mjpeg streams would be awesome too) from my zoneminder install.
The idea would be to embed them into my own web pages and other interfaces.
I was previously running ZM 1.28.1 on debian. I am now running ZM 1.29 on ubuntu 15.04 using iconner ppa.
On my previous install I would be able to pull up the following URL and get a jpeg stream that displayed just the monitor video.
http://192.168.60.24/zm/cgi-bin/nph-zms ... 1461182244
I got this URL by examining the elements of this URL:
http://192.168.60.24/zm/index.php?view=watch&mid=1
and isolating just the image in the pages elements.
This is no longer working on my ZM 1.29 install. Now I get:
Access Error: 404 -- Not Found
Can't locate document: /zm/cgi-bin/nph-zms
Can anyone provide me any guidance on how best to get the images and feeds I want from ZM 1.29? Are there any alternative URLs I could use? Or maybe some apache CGI access restrictions that prevent the URL from working on a non localhost machine?
getting monitor snapshots and feeds from zoneminder
getting monitor snapshots and feeds from zoneminder
Last edited by mikeybs on Wed Apr 20, 2016 11:31 pm, edited 1 time in total.
Re: getting monitor snapshots and feeds from zoneminder
ok, the URL in the page source code was wrong, perhaps that is the internal URL?
from another computer in the network I was able to get to what I wanted with the following URL:
http://192.168.60.24/zm/cgi-bin/zms?mode=jpeg&monitor=1
replacing
/nph-zms?
with
/zms?
I can now get what I want
from another computer in the network I was able to get to what I wanted with the following URL:
http://192.168.60.24/zm/cgi-bin/zms?mode=jpeg&monitor=1
replacing
/nph-zms?
with
/zms?
I can now get what I want