Review multiple events synchronously

Forum for questions and support relating to the 1.30.x releases only.
Locked
fsardone
Posts: 19
Joined: Thu Jan 25, 2018 10:39 pm

Review multiple events synchronously

Post by fsardone »

It would be very nice if there was a way to see in a montage fashion, the recorded video from multiple cameras.
I tought the function was montage review. But that only shows a real time montage, a timeline with red areas (which I presume are events) and whenever you go in review, white no data squares, even if the time cursor overlaps the red areas I presumed are events.

Is there any plan to allow reviewing events from multiple cameras?

This would be very useful in case of linked alarms.

Thanks
Fabio
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Review multiple events synchronously

Post by knight-of-ni »

I don't understand what drew you to that conclusion.
Montage review does in fact show a montage of past events, simultaneously, just like you want. That's it's primary purpose.

You can even drag the slider through the timeline to "scrub" through the video events. It's pretty slick how it works.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
fsardone
Posts: 19
Joined: Thu Jan 25, 2018 10:39 pm

Re: Review multiple events synchronously

Post by fsardone »

Thanks for your reply.
I was puzzled because when I stated that montage review was not working as I expected a few days ago in another post,I did not get any reply. I tought I did not understand how montage review was supposed to work and I could not find any docs about it, nor previous posts. Maybe I did not express myself clearly enough.
viewtopic.php?f=36&t=27162

I will try again. :wink:
In my installation I only get “no data” white screens in montage review as soon as I click on any option other than the live view it opens initially.

How can I investigate why montage review is only showing no data even when the time line cursor overlaps the red areas I suppose are the events?

Thanks

Fabio
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Review multiple events synchronously

Post by knight-of-ni »

That is by design.
If you see "no data" in a window then that means no event was recorded for the monitor for that particular time period.

After switching to event mode, look at the timeline with the red blocks. There is a tall rectangle with a gray or black outline in the timeline. Drag that back and forth with your mouse. As you drag it over the red blocks in the timeline, the various monitors will populate below.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
fsardone
Posts: 19
Joined: Thu Jan 25, 2018 10:39 pm

Re: Review multiple events synchronously

Post by fsardone »

fsardone wrote: Thu Apr 19, 2018 7:49 pm
In my installation I only get “no data” white screens in montage review as soon as I click on any option other than the live view it opens initially.

How can I investigate why montage review is only showing no data even when the time line cursor overlaps the red areas I suppose are the events?
Hello thanks again for your reply.
As I said, as soon as I switch to event mode I get white no data screen including when the cursor (the tall rectangle with the grey or black outline) overlaps the red area (the events recorded).
So in my installation montage review appears not to work.
How may I investigate the cause?

Cheers

Fabio
fsardone
Posts: 19
Joined: Thu Jan 25, 2018 10:39 pm

Re: Review multiple events synchronously

Post by fsardone »

Well I did ask for help troubleshooting the issue here and also here viewtopic.php?f=36&t=27162 but nothing came I initially tought it was because I did not fully understand how montare review would work. Then after clarifying that montage review would do exactly what I tought it should do, annd seen no reply to my latest post in this thread, I opened viewtopic.php?f=36&t=27186
Which was dutifully locked.
So let’s keep the discussion going here

How may I investigate the cause?
Whch one are the logs I need to be reading?

Search on the forum search function did not yield anything useful and search on google provided this topic:
viewtopic.php?t=25532
which is exactly my issue but the solution does not fix the problem.

How may I investigate the cause?
fsardone
Posts: 19
Joined: Thu Jan 25, 2018 10:39 pm

Re: Review multiple events synchronously

Post by fsardone »

Some additional Elements:
in montage review, when reviewing events and the time cursor is on the events these lines appear in the event log:
2018-04-25 17:04:30.737882 web_php 2044 ERR Invalid image path /usr/share/zoneminder/www/views/image.php 132
Guess it is generated in this line:
if ( $errorText )
Error( $errorText );

Not sure what path should be referring to.
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Review multiple events synchronously

Post by rockedge »

Hello fsardone!

To keep the monitors on the time line easier to see individually you can change the color assigned to the camera monitor. Open a monitor settings window and select the "Misc" tab and modify the Web Color from red to some other value. Now in the timeline view each block of events attached to a monitor will be easy to follow by it's assigned color. Red is the default value of Misc->Web Color
fsardone
Posts: 19
Joined: Thu Jan 25, 2018 10:39 pm

Montage review does not work

Post by fsardone »

rockedge wrote: Wed Apr 25, 2018 4:06 pm Hello fsardone!

To keep the monitors on the time line easier to see individually you can change the color assigned to the camera monitor. Open a monitor settings window and select the "Misc" tab and modify the Web Color from red to some other value. Now in the timeline view each block of events attached to a monitor will be easy to follow by it's assigned color. Red is the default value of Misc->Web Color
Hi Rockedge,
unfortunately that is not the issue. I get "No Data" white screens in the montage review, even when there are events present.
I see the events in the timeline, I see no video when the cursor overlaps the marked events.

Cheers

Fabio
fsardone
Posts: 19
Joined: Thu Jan 25, 2018 10:39 pm

Montage review does not work

Post by fsardone »

Some more info about the system
It is running under a Xen AMD 64 system running Debian Stretch (9) stable both in the Hypervisor Dom0 and the fully paravirtualized User Domain created by deboostrap (see below for full details of the installed packages). Install of zoneminder happened according to the zoneminder wiki:
https://wiki.zoneminder.com/Debian_9_64 ... der_1.30.4
zoneminder:
Installed: 2:1.30.4-dmo1+deb9u1
Candidate: 2:1.30.4-dmo1+deb9u1
Version table:
*** 2:1.30.4-dmo1+deb9u1 500
500 http://www.deb-multimedia.org stretch/main amd64 Packages
100 /var/lib/dpkg/status
xen-system-amd64:
Installed: (none)
Candidate: 4.8.2+xsa245-0+deb9u1
Version table:
4.8.2+xsa245-0+deb9u1 500
500 http://ftp.it.debian.org/debian stretch/main amd64 Packages
500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages

A bit of the logs. As soon as the console goes on the events I get the errors:
ERR Invalid image path /usr/share/zoneminder/www/views/image.php

Code: Select all

2018-04-26 21:28:56.408110	zms		12407	ERR	Frame send time 432 msec too slow, throttling maxfps to 2.22	zm_monitor.cpp	3949
2018-04-26 21:28:48.726153	zms		12407	ERR	Frame send time 7523 msec too slow, throttling maxfps to 3.33	zm_monitor.cpp	3949
2018-04-26 21:28:44.870317	zmc_m5		3778	INF	Citofono: 1523000 - Capturing at 15.15 fps	zm_monitor.cpp	3125
2018-04-26 21:28:37.243414	zms		12358	ERR	Terminating, last frame sent time 50.046001 secs more than maximum of 10.000000	zm_monitor.cpp	4213
2018-04-26 21:28:37.142959	zms		12358	ERR	Can't sendto on sd 8: No such file or directory	zm_monitor.cpp	3799
2018-04-26 21:28:37.011879	zms		12358	ERR	Frame send time 48913 msec too slow, throttling maxfps to 3.33	zm_monitor.cpp	3949
2018-04-26 21:28:34.338197	zms		12359	ERR	Terminating, last frame sent time 40.841032 secs more than maximum of 10.000000	zm_monitor.cpp	4213
2018-04-26 21:28:34.263181	zms		12359	ERR	Can't sendto on sd 8: No such file or directory	zm_monitor.cpp	3799
2018-04-26 21:28:34.152058	zms		12359	ERR	Frame send time 39730 msec too slow, throttling maxfps to 3.33	zm_monitor.cpp	3949
2018-04-26 21:28:32.045554	zms		12363	ERR	Terminating, last frame sent time 26.010920 secs more than maximum of 10.000000	zm_monitor.cpp	4213
2018-04-26 21:28:31.913230	zms		12363	ERR	Frame send time 24910 msec too slow, throttling maxfps to 3.33	zm_monitor.cpp	3949
2018-04-26 21:28:30.664843	web_php		9811	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:29.667948	web_php		12397	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:29.442484	zms		12376	ERR	Frame send time 5128 msec too slow, throttling maxfps to 0.66	zm_monitor.cpp	3949
2018-04-26 21:28:28.661964	web_php		9811	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:27.663616	web_php		12397	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:26.657429	web_php		9811	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:25.657666	web_php		9811	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:24.656936	web_php		12397	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:23.658492	web_php		9811	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:22.656879	web_php		12397	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:21.654805	web_php		9811	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:21.349436	zms		12376	ERR	Frame send time 7359 msec too slow, throttling maxfps to 0.99	zm_monitor.cpp	3949
2018-04-26 21:28:20.966835	zmc_m3		10488	INF	Backyard: 253000 - Capturing at 8.06 fps	zm_monitor.cpp	3125
2018-04-26 21:28:20.661421	web_php		8728	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:20.660405	web_php		12397	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:20.657604	web_php		9811	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:19.659858	web_php		9811	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:19.658488	web_php		12397	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:19.655990	web_php		8728	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:18.661963	web_php		8728	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:18.656893	web_php		12397	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:18.653613	web_php		9811	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:17.655861	web_php		9811	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:17.653009	web_php		12397	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:17.651507	web_php		8728	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:17.524546	web_php		12397	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:17.520811	web_php		9811	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:17.383354	web_php		12397	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:17.379261	web_php		9811	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:17.065207	web_php		12397	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:17.052655	web_php		8728	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:16.965340	web_php		9811	ERR	Invalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-26 21:28:10.699410	zms		12376	ERR	Frame send time 1206 msec too slow, throttling maxfps to 1.48	zm_monitor.cpp	3949
2018-04-26 21:28:09.833344	web_php		12371	ERR	Timed out waiting for msg /var/run/zm/zms-805783s.sock	/usr/share/zoneminder/www/includes/functions.php	2033
2018-04-26 21:28:07.415728	zms		12376	ERR	Frame send time 2264 msec too slow, throttling maxfps to 2.22	zm_monitor.cpp	3949
2018-04-26 21:28:06.322703	zma_m4		932	INF	GarageGate: 1289000 - Analysing at 7.94 fps	zm_monitor.cpp	1296
2018-04-26 21:28:00.873843	zms		11771	ERR	Terminating, last frame sent time 60.186324 secs more than maximum of 10.000000	zm_monitor.cpp	4213
2018-04-26 21:28:00.807344	zms		11771	ERR	Can't sendto on sd 8: No such file or directory	zm_monitor.cpp	3799
2018-04-26 21:28:00.782302	zms		11771	ERR	Can't sendto on sd 8: No such file or directory	zm_monitor.cpp	3799
2018-04-26 21:28:00.611513	zms		11771	ERR	Frame send time 59014 msec too slow, throttling maxfps to 3.33	zm_monitor.cpp	3949
2018-04-26 21:28:00.546079	zms		12360	ERR	Terminating, last frame sent time 12.215447 secs more than maximum of 10.000000	zm_monitor.cpp	4213
2018-04-26 21:28:00.364414	zms		12360	ERR	Frame send time 11092 msec too slow, throttling maxfps to 1.48	zm_monitor.cpp	3949
2018-04-26 21:27:59.805846	zms		12376	ERR	Frame send time 6985 msec too slow, throttling maxfps to 3.33	zm_monitor.cpp	3949
2018-04-26 21:27:58.638275	web_php		9293	ERR	Timed out waiting for msg /var/run/zm/zms-766927s.sock	/usr/share/zoneminder/www/includes/functions.php	2033
2018-04-26 21:27:52.002782	zmc_m4		9683	INF	GarageGate: 366000 - Capturing at 7.87 fps	zm_monitor.cpp	3125
2018-04-26 21:27:44.833131	zms		11772	ERR	Terminating, last frame sent time 50.967223 secs more than maximum of 10.000000	zm_monitor.cpp	4213
2018-04-26 21:27:44.745432	zms		11772	ERR	Can't sendto on sd 8: No such file or directory	zm_monitor.cpp	3799
2018-04-26 21:27:44.715043	zms		11772	ERR	Can't sendto on sd 8: No such file or directory	zm_monitor.cpp	3799
2018-04-26 21:27:44.590739	zms		11772	ERR	Frame send time 49842 msec too slow, throttling maxfps to 3.33	zm_monitor.cpp	3949
2018-04-26 21:27:43.579302	zms		12360	ERR	Frame send time 4765 msec too slow, throttling maxfps to 2.22	zm_monitor.cpp	3949
2018-04-26 21:27:41.934273	web_php		9811	ERR	Timed out waiting for msg /var/run/zm/zms-766927s.sock	/usr/share/zoneminder/www/includes/functions.php	2033
2018-04-26 21:27:41.306580	zms		12357	ERR	Terminating, last frame sent time 26.817277 secs more than maximum of 10.000000	zm_monitor.cpp	4213
2018-04-26 21:27:41.213927	zms		12357	ERR	Can't sendto on sd 8: No such file or directory	zm_monitor.cpp	3799
2018-04-26 21:27:41.070667	zms		12357	ERR	Frame send time 25672 msec too slow, throttling maxfps to 3.33	zm_monitor.cpp	3949
2018-04-26 21:27:40.790940	zma_m2		3806	INF	CancelloSu: 1011000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:27:38.133509	zmc_m5		3778	INF	Citofono: 1522000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:27:36.418435	zms		12360	ERR	Frame send time 822 msec too slow, throttling maxfps to 3.33	zm_monitor.cpp	3949
2018-04-26 21:27:34.899604	zmc_m2		3804	INF	CancelloSu: 1011000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:27:32.751592	web_php		8729	ERR	Timed out waiting for msg /var/run/zm/zms-463778s.sock	/usr/share/zoneminder/www/includes/functions.php	2033
2018-04-26 21:27:28.209074	web_php		8728	ERR	Timed out waiting for msg /var/run/zm/zms-253272s.sock	/usr/share/zoneminder/www/includes/functions.php	2033
2018-04-26 21:27:18.655042	web_php		8730	ERR	Timed out waiting for msg /var/run/zm/zms-463778s.sock	/usr/share/zoneminder/www/includes/functions.php	2033
2018-04-26 21:27:14.178546	web_php		8731	ERR	Socket /var/run/zm/zms-805783s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.	/usr/share/zoneminder/www/includes/functions.php	2033
2018-04-26 21:27:12.657390	zms		11773	ERR	Terminating, last frame sent time 21.795445 secs more than maximum of 10.000000	zm_monitor.cpp	4213
2018-04-26 21:27:12.566527	zms		11773	ERR	Can't sendto on sd 8: No such file or directory	zm_monitor.cpp	3799
2018-04-26 21:27:12.443434	zms		11773	ERR	Frame send time 20671 msec too slow, throttling maxfps to 3.33	zm_monitor.cpp	3949
2018-04-26 21:27:08.008994	web_php		8730	ERR	Timed out waiting for msg /var/run/zm/zms-766927s.sock	/usr/share/zoneminder/www/includes/functions.php	2033
2018-04-26 21:27:07.977563	web_php		10069	ERR	Timed out waiting for msg /var/run/zm/zms-253272s.sock	/usr/share/zoneminder/www/includes/functions.php	2033
2018-04-26 21:27:07.608898	zms		11770	ERR	Terminating, last frame sent time 10.369654 secs more than maximum of 10.000000	zm_monitor.cpp	4213
2018-04-26 21:27:07.356019	zms		11770	ERR	Frame send time 9164 msec too slow, throttling maxfps to 3.33	zm_monitor.cpp	3949
2018-04-26 21:27:07.158449	zma_m3		930	INF	Backyard: 1293000 - Analysing at 8.00 fps	zm_monitor.cpp	1296
2018-04-26 21:26:31.393500	zmc_m5		3778	INF	Citofono: 1521000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:26:16.045339	zmc_m3		10488	INF	Backyard: 252000 - Capturing at 8.00 fps	zm_monitor.cpp	3125
2018-04-26 21:26:00.027076	zma_m4		932	INF	GarageGate: 1288000 - Analysing at 7.87 fps	zm_monitor.cpp	1296
2018-04-26 21:25:59.715218	zma_m2		3806	INF	CancelloSu: 1010000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:25:53.931037	zmc_m2		3804	INF	CancelloSu: 1010000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:25:45.622572	zmc_m4		9683	INF	GarageGate: 365000 - Capturing at 7.94 fps	zm_monitor.cpp	3125
2018-04-26 21:25:24.696863	zmc_m5		3778	INF	Citofono: 1520000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:25:02.206150	zma_m3		930	INF	Backyard: 1292000 - Analysing at 8.00 fps	zm_monitor.cpp	1296
2018-04-26 21:24:18.672200	zma_m2		3806	INF	CancelloSu: 1009000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:24:17.958916	zmc_m5		3778	INF	Citofono: 1519000 - Capturing at 15.15 fps	zm_monitor.cpp	3125
2018-04-26 21:24:12.810822	zmc_m2		3804	INF	CancelloSu: 1009000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:24:11.162745	zmc_m3		10488	INF	Backyard: 251000 - Capturing at 8.00 fps	zm_monitor.cpp	3125
2018-04-26 21:23:53.620378	zma_m4		932	INF	GarageGate: 1287000 - Analysing at 7.94 fps	zm_monitor.cpp	1296
2018-04-26 21:23:39.300774	zmc_m4		9683	INF	GarageGate: 364000 - Capturing at 7.87 fps	zm_monitor.cpp	3125
2018-04-26 21:23:11.220627	zmc_m5		3778	INF	Citofono: 1518000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:22:57.269567	zma_m3		930	INF	Backyard: 1291000 - Analysing at 8.00 fps	zm_monitor.cpp	1296
2018-04-26 21:22:37.614819	zma_m2		3806	INF	CancelloSu: 1008000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:22:31.718368	zmc_m2		3804	INF	CancelloSu: 1008000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:22:06.228740	zmc_m3		10488	INF	Backyard: 250000 - Capturing at 8.00 fps	zm_monitor.cpp	3125
2018-04-26 21:22:04.471296	zmc_m5		3778	INF	Citofono: 1517000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:21:47.390819	zma_m4		932	INF	GarageGate: 1286000 - Analysing at 7.87 fps	zm_monitor.cpp	1296
2018-04-26 21:21:32.964233	zmc_m4		9683	INF	GarageGate: 363000 - Capturing at 7.94 fps	zm_monitor.cpp	3125
2018-04-26 21:20:57.735675	zmc_m5		3778	INF	Citofono: 1516000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:20:56.547628	zma_m2		3806	INF	CancelloSu: 1007000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:20:52.340233	zma_m3		930	INF	Backyard: 1290000 - Analysing at 8.00 fps	zm_monitor.cpp	1296
2018-04-26 21:20:50.677295	zmc_m2		3804	INF	CancelloSu: 1007000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:20:01.286725	zmc_m3		10488	INF	Backyard: 249000 - Capturing at 8.00 fps	zm_monitor.cpp	3125
2018-04-26 21:19:50.997020	zmc_m5		3778	INF	Citofono: 1515000 - Capturing at 15.15 fps	zm_monitor.cpp	3125
2018-04-26 21:19:40.968720	zma_m4		932	INF	GarageGate: 1285000 - Analysing at 7.94 fps	zm_monitor.cpp	1296
2018-04-26 21:19:32.566290	zmfilter		902	INF	Deleting event 14618 from Monitor 2	zmfilter.pl	
2018-04-26 21:19:32.303640	zmfilter		902	INF	Deleting event 14617 from Monitor 2	zmfilter.pl	
2018-04-26 21:19:26.731714	zmc_m4		9683	INF	GarageGate: 362000 - Capturing at 7.94 fps	zm_monitor.cpp	3125
2018-04-26 21:19:15.528065	zma_m2		3806	INF	CancelloSu: 1006000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:19:09.632808	zmc_m2		3804	INF	CancelloSu: 1006000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:18:47.447142	zma_m3		930	INF	Backyard: 1289000 - Analysing at 8.00 fps	zm_monitor.cpp	1296
2018-04-26 21:18:44.262484	zmc_m5		3778	INF	Citofono: 1514000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:17:56.329604	zmc_m3		10488	INF	Backyard: 248000 - Capturing at 8.00 fps	zm_monitor.cpp	3125
2018-04-26 21:17:37.521925	zmc_m5		3778	INF	Citofono: 1513000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:17:34.672534	zma_m4		932	INF	GarageGate: 1284000 - Analysing at 7.94 fps	zm_monitor.cpp	1296
2018-04-26 21:17:34.429227	zma_m2		3806	INF	CancelloSu: 1005000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:17:28.535916	zmc_m2		3804	INF	CancelloSu: 1005000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:17:20.362838	zmc_m4		9683	INF	GarageGate: 361000 - Capturing at 7.94 fps	zm_monitor.cpp	3125
2018-04-26 21:16:42.501998	zma_m3		930	INF	Backyard: 1288000 - Analysing at 8.00 fps	zm_monitor.cpp	1296
2018-04-26 21:16:30.786593	zmc_m5		3778	INF	Citofono: 1512000 - Capturing at 15.15 fps	zm_monitor.cpp	3125
2018-04-26 21:15:53.306462	zma_m2		3806	INF	CancelloSu: 1004000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:15:51.362379	zmc_m3		10488	INF	Backyard: 247000 - Capturing at 8.00 fps	zm_monitor.cpp	3125
2018-04-26 21:15:47.496076	zmc_m2		3804	INF	CancelloSu: 1004000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:15:28.415024	zma_m4		932	INF	GarageGate: 1283000 - Analysing at 7.87 fps	zm_monitor.cpp	1296
2018-04-26 21:15:24.089906	zmc_m5		3778	INF	Citofono: 1511000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:15:14.006977	zmc_m4		9683	INF	GarageGate: 360000 - Capturing at 7.87 fps	zm_monitor.cpp	3125
2018-04-26 21:14:37.509221	zma_m3		930	INF	Backyard: 1287000 - Analysing at 8.00 fps	zm_monitor.cpp	1296
2018-04-26 21:14:17.352037	zmc_m5		3778	INF	Citofono: 1510000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:14:12.223141	zma_m2		3806	INF	CancelloSu: 1003000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:14:06.425910	zmc_m2		3804	INF	CancelloSu: 1003000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:13:46.481222	zmc_m3		10488	INF	Backyard: 246000 - Capturing at 8.00 fps	zm_monitor.cpp	3125
2018-04-26 21:13:21.989972	zma_m4		932	INF	GarageGate: 1282000 - Analysing at 7.94 fps	zm_monitor.cpp	1296
2018-04-26 21:13:10.615548	zmc_m5		3778	INF	Citofono: 1509000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:13:07.756682	zmc_m4		9683	INF	GarageGate: 359000 - Capturing at 7.94 fps	zm_monitor.cpp	3125
2018-04-26 21:12:32.651671	zma_m3		930	INF	Backyard: 1286000 - Analysing at 8.00 fps	zm_monitor.cpp	1296
2018-04-26 21:12:31.189908	zma_m2		3806	INF	CancelloSu: 1002000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:12:25.327039	zmc_m2		3804	INF	CancelloSu: 1002000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:12:03.876818	zmc_m5		3778	INF	Citofono: 1508000 - Capturing at 15.15 fps	zm_monitor.cpp	3125
2018-04-26 21:11:41.613328	zmc_m3		10488	INF	Backyard: 245000 - Capturing at 8.00 fps	zm_monitor.cpp	3125
2018-04-26 21:11:15.709790	zma_m4		932	INF	GarageGate: 1281000 - Analysing at 7.94 fps	zm_monitor.cpp	1296
2018-04-26 21:11:03.819260	zmaudit		913	INF	Deleted 151 log table entries by time	zmaudit.pl	
2018-04-26 21:11:01.391631	zmc_m4		9683	INF	GarageGate: 358000 - Capturing at 7.94 fps	zm_monitor.cpp	3125
2018-04-26 21:10:57.140280	zmc_m5		3778	INF	Citofono: 1507000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:10:50.191715	zma_m2		3806	INF	CancelloSu: 1001000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:10:44.304975	zmc_m2		3804	INF	CancelloSu: 1001000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:10:27.696084	zma_m3		930	INF	Backyard: 1285000 - Analysing at 8.00 fps	zm_monitor.cpp	1296
2018-04-26 21:09:51.633396	zma_m3		930	INF	Backyard: 1284710 - Closing event 14908, alarm end	zm_monitor.cpp	1716
2018-04-26 21:09:51.573094	zma_m3		930	INF	Backyard: 1284710 - Left alarm state (14908) - 52(2) images	zm_monitor.cpp	1711
2018-04-26 21:09:51.545229	zma_m4		932	INF	GarageGate: 1280332 - Closing event 14907, alarm end	zm_monitor.cpp	1716
2018-04-26 21:09:51.364304	zma_m4		932	INF	GarageGate: 1280332 - Left alarm state (14907) - 51(1) images	zm_monitor.cpp	1711
2018-04-26 21:09:50.405703	zmc_m5		3778	INF	Citofono: 1506000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:09:48.474906	zma_m3		930	INF	Backyard: 1284685 - Gone into alert state	zm_monitor.cpp	1704
2018-04-26 21:09:48.405287	zma_m4		932	INF	GarageGate: 1280307 - Gone into alert state	zm_monitor.cpp	1704
2018-04-26 21:09:48.188299	zma_m3		930	INF	Backyard: 1284683 - Opening new event 14908, alarm start	zm_monitor.cpp	1660
2018-04-26 21:09:48.104464	zma_m4		932	INF	GarageGate: 1280306 - Opening new event 14907, alarm start	zm_monitor.cpp	1660
2018-04-26 21:09:48.088611	zma_m3		930	INF	Backyard: 1284683 - Gone into alarm state	zm_monitor.cpp	1614
2018-04-26 21:09:48.010702	zma_m4		932	INF	GarageGate: 1280306 - Gone into alarm state	zm_monitor.cpp	1614
2018-04-26 21:09:36.647653	zmc_m3		10488	INF	Backyard: 244000 - Capturing at 8.00 fps	zm_monitor.cpp	3125
2018-04-26 21:09:09.410015	zma_m4		932	INF	GarageGate: 1280000 - Analysing at 7.94 fps	zm_monitor.cpp	1296
2018-04-26 21:09:09.111736	zma_m2		3806	INF	CancelloSu: 1000000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:09:03.239086	zmc_m2		3804	INF	CancelloSu: 1000000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:08:55.004513	zmc_m4		9683	INF	GarageGate: 357000 - Capturing at 7.87 fps	zm_monitor.cpp	3125
2018-04-26 21:08:43.672483	zmc_m5		3778	INF	Citofono: 1505000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:08:22.806326	zma_m3		930	INF	Backyard: 1284000 - Analysing at 8.00 fps	zm_monitor.cpp	1296
2018-04-26 21:07:36.936647	zmc_m5		3778	INF	Citofono: 1504000 - Capturing at 15.15 fps	zm_monitor.cpp	3125
2018-04-26 21:07:31.654169	zmc_m3		10488	INF	Backyard: 243000 - Capturing at 8.00 fps	zm_monitor.cpp	3125
2018-04-26 21:07:28.034169	zma_m2		3806	INF	CancelloSu: 999000 - Analysing at 9.80 fps	zm_monitor.cpp	1296
2018-04-26 21:07:22.171637	zmc_m2		3804	INF	CancelloSu: 999000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:07:03.067449	zma_m4		932	INF	GarageGate: 1279000 - Analysing at 7.87 fps	zm_monitor.cpp	1296
2018-04-26 21:06:48.721472	zmc_m4		9683	INF	GarageGate: 356000 - Capturing at 7.94 fps	zm_monitor.cpp	3125
2018-04-26 21:06:30.198498	zmc_m5		3778	INF	Citofono: 1503000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:06:17.806304	zma_m3		930	INF	Backyard: 1283000 - Analysing at 8.00 fps	zm_monitor.cpp	1296
2018-04-26 21:05:46.927429	zma_m2		3806	INF	CancelloSu: 998000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:05:41.162525	zmc_m2		3804	INF	CancelloSu: 998000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:05:26.777469	zmc_m3		10488	INF	Backyard: 242000 - Capturing at 8.00 fps	zm_monitor.cpp	3125
2018-04-26 21:05:23.461342	zmc_m5		3778	INF	Citofono: 1502000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:04:56.731479	zma_m4		932	INF	GarageGate: 1278000 - Analysing at 7.94 fps	zm_monitor.cpp	1296
2018-04-26 21:04:42.415466	zmc_m4		9683	INF	GarageGate: 355000 - Capturing at 7.94 fps	zm_monitor.cpp	3125
2018-04-26 21:04:16.722334	zmc_m5		3778	INF	Citofono: 1501000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:04:12.955285	zma_m3		930	INF	Backyard: 1282000 - Analysing at 8.00 fps	zm_monitor.cpp	1296
2018-04-26 21:04:05.851590	zma_m2		3806	INF	CancelloSu: 997000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:04:00.062298	zmc_m2		3804	INF	CancelloSu: 997000 - Capturing at 9.90 fps	zm_monitor.cpp	3125
2018-04-26 21:03:21.842509	zmc_m3		10488	INF	Backyard: 241000 - Capturing at 8.00 fps	zm_monitor.cpp	3125
2018-04-26 21:03:09.987354	zmc_m5		3778	INF	Citofono: 1500000 - Capturing at 15.15 fps	zm_monitor.cpp	3125
2018-04-26 21:02:50.449076	zma_m4		932	INF	GarageGate: 1277000 - Analysing at 7.94 fps	zm_monitor.cpp	1296
2018-04-26 21:02:36.025990	zmc_m4		9683	INF	GarageGate: 354000 - Capturing at 7.87 fps	zm_monitor.cpp	3125
2018-04-26 21:02:24.798439	zma_m2		3806	INF	CancelloSu: 996000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:02:19.029485	zmc_m2		3804	INF	CancelloSu: 996000 - Capturing at 9.80 fps	zm_monitor.cpp	3125
2018-04-26 21:02:07.988853	zma_m3		930	INF	Backyard: 1281000 - Analysing at 8.06 fps	zm_monitor.cpp	1296
2018-04-26 21:02:03.255393	zmc_m5		3778	INF	Citofono: 1499000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:01:16.948726	zmc_m3		10488	INF	Backyard: 240000 - Capturing at 8.00 fps	zm_monitor.cpp	3125
2018-04-26 21:00:56.518747	zmc_m5		3778	INF	Citofono: 1498000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-26 21:00:44.131476	zma_m4		932	INF	GarageGate: 1276000 - Analysing at 7.87 fps	zm_monitor.cpp	1296
2018-04-26 21:00:43.850957	zma_m2		3806	INF	CancelloSu: 995000 - Analysing at 9.90 fps	zm_monitor.cpp	1296
2018-04-26 21:00:37.953027	zmc_m2		3804	INF	CancelloSu: 995000 - Capturing at 9.90 fps	zm_monitor.cpp

Last edited by fsardone on Fri Apr 27, 2018 2:40 pm, edited 1 time in total.
fsardone
Posts: 19
Joined: Thu Jan 25, 2018 10:39 pm

Re: Review multiple events synchronously

Post by fsardone »

Hello everybody:
in order to try and find out why I was getting the error in the log I tracked down the source code doing so and changed it in order to try to understand what path was wrong.

Code: Select all

# If we are only specifying fid, then the fid must be the primary key into the frames table. But when the event is specified, then it is the frame #
      $Frame = new Frame( $_REQUEST['fid'] );
      $Event = new Event( $Frame->EventId() );
      $path = $Event->Path().'/'.sprintf("%'.0".ZM_EVENT_IMAGE_DIGITS.'d',$Frame->FrameId()).'-'.$show.'.jpg';
    }
  } else {
    $errorText = "No image path";
  }
} else {
    $dir_events = realpath(ZM_DIR_EVENTS);
    $path = realpath($dir_events . '/' . $_REQUEST['path']);
    $pos = strpos($path, $dir_events);

    if($pos == 0 && $pos !== false) {
        if ( !empty($user['MonitorIds']) ) {
            $imageOk = false;
            $pathMonId = substr( $path, 0, strspn( $path, "1234567890" ) );
            foreach ( preg_split( '/["\'\s]*,["\'\s]*/', $user['MonitorIds'] ) as $monId ) {
                if ( $pathMonId == $monId ) {
                    $imageOk = true;
                    break;
                }
            }
            if ( !$imageOk )
                $errorText = "No image permissions";
        }
    } else {
            $errorText = "Xnvalid image path" . $path;
    }
}
I changed the error text from Invalid to Xnvalid to validate my insertion point and appended the $path variable. The consequent errors I got into the log contain no text after the error message so I have to assume the $path variable is empty.

Code: Select all

2018-04-27 16:38:17.555639	zmc_m2		3804	INF	CancelloSu: 1698000 - Capturing at 10.00 fps	zm_monitor.cpp	3125
2018-04-27 16:38:08.960837	zma_m3		930	INF	Backyard: 1923000 - Analysing at 10.00 fps	zm_monitor.cpp	1296
2018-04-27 16:38:07.327630	web_php		16368	ERR	Xnvalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-27 16:38:07.095368	web_php		16368	ERR	Xnvalid image path	/usr/share/zoneminder/www/views/image.php	132
2018-04-27 16:37:41.309877	zmc_m5		3778	INF	Citofono: 2556000 - Capturing at 14.93 fps	zm_monitor.cpp	3125
2018-04-27 16:37:31.832120	zma_m4		932	INF	GarageGate: 1915000 - Analysing at 10.00 fps	zm_monitor.cpp	1296
Also I defined the $debug=true variable and these are the system variables.

Any suggestions why the Montage review is not working and the $path variable is not being set?

Does Mintage Review works fine for everybody else using debian?

Thanks

Fabio
Attachments
phpVarMontageRev.jpg
phpVarMontageRev.jpg (198.18 KiB) Viewed 4812 times
fsardone
Posts: 19
Joined: Thu Jan 25, 2018 10:39 pm

Re: Review multiple events synchronously

Post by fsardone »

Hello,
anybody interested I have opened issue 2094:
https://github.com/ZoneMinder/zoneminder/issues/2094

Regards
Fabio
fsardone
Posts: 19
Joined: Thu Jan 25, 2018 10:39 pm

Re: Review multiple events synchronously

Post by fsardone »

Hello everybody,

After a brief interaction on the developers' platform and a bit of debugging digging down to variable content, I found out that the problem was a path difference on the hour position. Zoneminder uses the file path to store date/time of the events. This difference clearly pointed out to a timezone issue.
The PHP date setup was correct but the system TZ was set to GMT, causing the checks on $path (the variable containing the path to the event images) to fail. The issue is unrelated to zoneminder but to the setup of the server.

It might be appropriate to warn about this difference which might happen for configuration error or on purpose

Kind regards
Fabio
Locked