Ffmep video stream stop and start

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
cv34
Posts: 1
Joined: Fri Oct 26, 2018 6:36 am

Ffmep video stream stop and start

Post by cv34 » Fri Oct 26, 2018 7:03 am

Dear ZoneMinder community,
I’m creating this post to get your feedback and point of view about error messages retrieved into zoneminder logs.

I have installed ZoneMinder 1.32.2 into a fresh CentOS 7.5.1804 and have followed the installation guide from RHEL ZoneMinder documentation by using RPM fusion without facing any problem.
The only thing I have done is to use dedicated drive for /images and /events folder but I have also strictly followed ZoneMinder documentation to do that.
Actually, I have only 1 RTSP camera configured as Ffmeg source and acting as monitor only, method TCP actually used.
When camera start or zoneminder restart, first direct video stream appears to be start and stop every 30sec approximatively. This start/stop phases have been going on in the first 10min when camera or zoneminder started. Then, direct video stream goes into normal way and no more error message into zoneminder logs.
I would like to avoid some misconfiguration and would like to have your feedback.
I have also tried to use “Extract” command from ZoneMinder webpage but I always encounter error message like this one appears just after having clicked on “Extract” button :

Code: Select all

ERR	Uncaught TypeError: $(...).overlayShow is not a function	https://192.168.1.56/zm/cache/skins_classic_views_js_log-base-1539455775.js
I have made an extract of logs just right after camera or zoneminder start.
Thanks for your support,
Cheers
Cyril

Code: Select all

25/10/2018 15:22	zmc_m5		14834	INF	Cuisine: images:1 - Capturing at 14.29 fps, capturing bandwidth 22212bytes/sec	zm_monitor.cpp	2473
25/10/2018 15:22	zmwatch		13735	ERR	Memory map file '/dev/shm/zm.mmap.5' does not exist. zmc might not be running.	zmwatch.pl	
25/10/2018 15:22	zmdc		14834	INF	'zmc -m 5' started at 18/10/25 15:22:06	zmdc.pl	
25/10/2018 15:22	zmdc		13659	WAR	Can't find process with command of 'zmc -m 5'	zmdc.pl	
25/10/2018 15:22	zmc_m5		14834	INF	Starting Capture version 1.32.2	zmc.cpp	223
25/10/2018 15:22	zmdc		13659	INF	'zmc -m 5' starting at 18/10/25 15:22:06, pid = 14834	zmdc.pl	
25/10/2018 15:22	zmc_m5		14834	INF	Priming capture from rtsp://admin:@192.168.1.54:554	zm_ffmpeg_camera.cpp	163
25/10/2018 15:22	zmc_m5		14834	INF	Stream open rtsp://admin:@192.168.1.54:554, parsing streams...	zm_ffmpeg_camera.cpp	378
25/10/2018 15:22	zmwatch		13735	INF	Restarting capture daemon for Cuisine, shared data not valid	zmwatch.pl	
25/10/2018 15:21	zmdc		13659	INF	'zmc -m 5' exited normally	zmdc.pl	
25/10/2018 15:21	zmdc		13659	INF	Command 'zmc -m 5' removed from pending list at 18/10/25 15:21:56	zmdc.pl	
25/10/2018 15:21	zmwatch		13735	INF	Restarting capture daemon for Cuisine, no image since startup. Startup time was 1540473706 - now 1540473716 > 5	zmwatch.pl	
25/10/2018 15:21	zmdc		13659	INF	'zmc -m 5' starting at 18/10/25 15:21:46, pid = 14810	zmdc.pl	
25/10/2018 15:21	zmwatch		13735	INF	Restarting capture daemon for Cuisine, shared data not valid	zmwatch.pl	
25/10/2018 15:21	zmc_m5		14810	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
25/10/2018 15:21	zmc_m5		14810	INF	Priming capture from rtsp://admin:@192.168.1.54:554	zm_ffmpeg_camera.cpp	163
25/10/2018 15:21	zmdc		13659	INF	'zmc -m 5' sending stop to pid 14810 at 18/10/25 15:21:46	zmdc.pl	
25/10/2018 15:21	zmc_m5		14810	ERR	Unable to open input rtsp://admin:@192.168.1.54:554 due to: Interrupted system call	zm_ffmpeg_camera.cpp	357
25/10/2018 15:21	zmc_m5		14810	ERR	Failed to prime capture of initial monitor	zmc.cpp	253
25/10/2018 15:21	zmwatch		13735	ERR	Memory map file '/dev/shm/zm.mmap.5' should have been 1168 but was instead 0	zmwatch.pl	
25/10/2018 15:21	zmdc		14810	INF	'zmc -m 5' started at 18/10/25 15:21:46	zmdc.pl	
25/10/2018 15:21	zmdc		13659	INF	Starting pending process, zmc -m 5	zmdc.pl	
25/10/2018 15:21	zmc_m5		14810	INF	Starting Capture version 1.32.2	zmc.cpp	223
25/10/2018 15:21	zmfilter_2		13710	INF	Checking filter Update DiskSpace update disk space returned 0 events	zmfilter.pl	
25/10/2018 15:21	zmfilter_1		13699	INF	Checking filter PurgeWhenFull delete returned 0 events	zmfilter.pl	
25/10/2018 15:21	zms_m5		14798	ERR	Unable to connect to zmc process for monitor 5	zms.cpp	254
25/10/2018 15:21	zms_m5		14798	ERR	Unable to connect to monitor id 5 for streaming	zm_stream.cpp	48
25/10/2018 15:21	zms_m5		14798	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
25/10/2018 15:21	web_js		20990	ERR	getStreamCmdResponse stream error: Socket /var/lib/zoneminder/sock/zms-247272s.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. - checkStreamForErrors()	?view=watch	
25/10/2018 15:21	web_php		20990	ERR	Socket /var/lib/zoneminder/sock/zms-247272s.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	2043
25/10/2018 15:21	zms_m5		14786	ERR	Unable to connect to monitor id 5 for streaming	zm_stream.cpp	48
25/10/2018 15:21	zms_m5		14786	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
25/10/2018 15:21	web_php		7961	ERR	Socket /var/lib/zoneminder/sock/zms-382537s.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	2043
25/10/2018 15:21	zms_m5		14786	ERR	Unable to connect to zmc process for monitor 5	zms.cpp	254
25/10/2018 15:21	web_js		7961	ERR	getStreamCmdResponse stream error: Socket /var/lib/zoneminder/sock/zms-382537s.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. - checkStreamForErrors()	?view=watch	
25/10/2018 15:21	zms_m5		14756	ERR	Unable to connect to monitor id 5 for streaming	zm_stream.cpp	48
25/10/2018 15:21	zms_m5		14756	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
25/10/2018 15:21	zms_m5		14775	ERR	Unable to connect to monitor id 5 for streaming	zm_stream.cpp	48
25/10/2018 15:21	zms_m5		14756	ERR	Unable to connect to zmc process for monitor 5	zms.cpp	254
25/10/2018 15:21	zms_m5		14775	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	538
25/10/2018 15:21	web_php		21156	ERR	Socket /var/lib/zoneminder/sock/zms-285895s.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	2043
25/10/2018 15:21	web_js		21156	ERR	getStreamCmdResponse stream error: Socket /var/lib/zoneminder/sock/zms-285895s.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. - checkStreamForErrors()	?view=watch	
25/10/2018 15:21	zms_m5		14775	ERR	Unable to connect to zmc process for monitor 5	zms.cpp	254
25/10/2018 15:21	web_php		6845	ERR	Socket /var/lib/zoneminder/sock/zms-258431s.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	2043
25/10/2018 15:21	zmc_m5		14700	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
25/10/2018 15:21	zmdc		13659	INF	'zmc -m 5' exited normally	zmdc.pl	
25/10/2018 15:21	zmdc		13659	INF	'zmc -m 5' sending stop to pid 14700 at 18/10/25 15:21:36	zmdc.pl	
25/10/2018 15:21	zmwatch		13735	INF	Restarting capture daemon for Cuisine, no image since startup. Startup time was 1540473682 - now 1540473696 > 5	zmwatch.pl	
25/10/2018 15:21	web_js		6845	ERR	getStreamCmdResponse stream error: Socket /var/lib/zoneminder/sock/zms-258431s.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. - checkStreamForErrors()	?view=watch	
25/10/2018 15:21	zms_m5		14734	WAR	no last_frame_sent. Shouldn't happen. frame_mod was (1) frame_count (0)	zm_monitorstream.cpp	711
25/10/2018 15:21	web_php		7961	ERR	Socket /var/lib/zoneminder/sock/zms-025527s.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	2043
25/10/2018 15:21	web_js		7961	ERR	getStreamCmdResponse stream error: Socket /var/lib/zoneminder/sock/zms-025527s.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. - checkStreamForErrors()	?view=watch	
25/10/2018 15:21	zms_m5		14711	ERR	Terminating, last frame sent time 10.483479 secs more than maximum of 10.000000	zm_monitorstream.cpp	713
25/10/2018 15:21	zmc_m5		14700	INF	Priming capture from rtsp://admin:@192.168.1.54:554	zm_ffmpeg_camera.cpp	163
25/10/2018 15:21	zmc_m5		14700	INF	Starting Capture version 1.32.2	zmc.cpp	223

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests