custom montage

Forum for questions and support relating to the 1.25.x releases only.
Locked
lerickson
Posts: 4
Joined: Mon Oct 29, 2012 5:37 pm

custom montage

Post by lerickson »

for years we had made a custom montoge webpage when using 1.23.3
now our web page fails saying missing /zm/index.php?view=montageframe&mid=1
it appears this method no longer exists

how can i call for an individual video feed without all the excessive info
Flasheart
Posts: 342
Joined: Thu Jul 06, 2006 2:27 pm

Re: custom montage

Post by Flasheart »

An individual feed rather than a montage?

Open up the monitor for that camera in ZM Console. Right-click the image and 'View image'. You should then get a mjpeg streaming feed that can be bookmarked, or included in <img> tags in a html page to combine several in any way you want. The url itself can be modified for size and fps.

Another way, if you've got ip cameras, is to take the feeds directly, bypassing the zm server and reducing load. I wrote about this here; http://www.zoneminder.com/wiki/index.php/IpCamMontage
lerickson
Posts: 4
Joined: Mon Oct 29, 2012 5:37 pm

Re: custom montage

Post by lerickson »

Ok i have setup a test page using this method
i must have forgotten more than i thought as my web page is not looking so good

i have 4 rows by 4 colums and i can only see the first row??

any help would be appreciated

below is my test webpage

<html>
<head>
<title></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript">
window.focus();
</script>
</head>
<frameset rows="*.*.*.*" border="0" frameborder="no" framespacing="0">
<frameset cols="*,*,*,*" border="0" frameborder="no" framespacing="0">
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=6&scale=120&maxfps=15&buffer=1000>
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=9&scale=120&maxfps=15&buffer=1000>
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=8&scale=120&maxfps=15&buffer=1000>
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=10&scale=120&maxfps=15&buffer=1000>
</frameset>
<frameset cols="*,*,*,*" border="0" frameborder="no" framespacing="0">
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=11&scale=100&maxfps=15&buffer=1000>
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=13&scale=100&maxfps=15&buffer=1000>
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=5&scale=100&maxfps=15&buffer=1000>
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=12&scale=100&maxfps=15&buffer=1000>
</frameset>
<frameset cols="*,*,*,*" border="0" frameborder="no" framespacing="0">
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=14&scale=100&maxfps=15&buffer=1000>
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=15&scale=100&maxfps=15&buffer=1000>
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=16&scale=100&maxfps=15&buffer=1000>
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=17&scale=100&maxfps=15&buffer=1000>
</frameset>
<frameset cols="*,*,*,*" border="0" frameborder="no" framespacing="0">
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=18&scale=100&maxfps=15&buffer=1000>
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=22&scale=100&maxfps=15&buffer=1000>
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=20&scale=100&maxfps=15&buffer=1000>
<frame src=/cgi-bin/nph-zms?mode=jpeg&monitor=21&scale=100&maxfps=15&buffer=1000>
</frameset>
</frameset>
</html>
Flasheart
Posts: 342
Joined: Thu Jul 06, 2006 2:27 pm

Re: custom montage

Post by Flasheart »

Um, you wouldn't use frame tags - use img instead;

<img src="/cgi-bin/nph-zms?mode=jpeg&monitor=11&scale=100&maxfps=15&buffer=1000">

Reduce scale and fps to suit and add quotes around the path.
Locked