I can't see the video stream when I'm clicking on the monitor view (called "Cuisine").
To make it happen until now, I just followed the useful Installation Guide "Easy Way: Ubuntu 16.04" and the install went perfectly.
I'm running Ubuntu 16.04.2 LTS with ZM 1.30.4
Here is the camera settings (model is ESCAM QD520 1/4" CMOS 720P):
Code: Select all
Source type: Ffmpeg
Analysis FPS:
Maximum FPS:
Alarm Maximum FPS:
Source Path: rtsp://192.168.1.11:554/user=admin_password=tlJwpbo6_channel=1_stream=0.sdp?real_stream
Remote Method: TCP
Options:
Target colorspace: 32bit colour
Capture Width (pixels): 1280
Capture Height (pixels): 720
Code: Select all
2017-05-16 17:25:37.106924 web_js[787].ERR-?view=watch [getStreamCmdResponse stream error: Socket /var/run/zm/zms-154899s.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()]
2017-05-16 17:25:36.976569 web_php[787].ERR-/usr/share/zoneminder/www/includes/functions.php/2033 [Socket /var/run/zm/zms-154899s.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.]
2017-05-16 17:25:26.700386 zmc_m2[875].INF-zm_monitor.cpp/3125 [Cuisine: 15000 - Capturing at 14.08 fps]
2017-05-16 17:25:24.975216 web_js[786].ERR-?view=watch [getStreamCmdResponse stream error: Socket /var/run/zm/zms-154899s.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()]
2017-05-16 17:25:24.848354 web_php[786].ERR-/usr/share/zoneminder/www/includes/functions.php/2033 [Socket /var/run/zm/zms-154899s.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.]
2017-05-16 17:25:12.842112 web_js[786].ERR-?view=watch [getStreamCmdResponse stream error: Socket /var/run/zm/zms-154899s.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()]
2017-05-16 17:25:12.737665 web_php[786].ERR-/usr/share/zoneminder/www/includes/functions.php/2033 [Socket /var/run/zm/zms-154899s.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.]
2017-05-16 17:25:00.739149 web_js[788].ERR-?view=watch [getStreamCmdResponse stream error: Socket /var/run/zm/zms-154899s.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()]
My zoneminder.conf file:
Code: Select all
# Remember to enable cgi mod (i.e. "a2enmod cgi").
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
Require all granted
</Directory>
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
Options -Indexes +FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
<Directory /usr/share/zoneminder/www/api>
AllowOverride All
</Directory>
Code: Select all
newtof@linda:/etc/apache2/conf-enabled$ sudo a2enmod cgi
Module cgi already enabled
Thank you very much!