today I installed Zoneminder on Ubuntu Server 14.04.3 as the Installation Guide suggests (Easy Way, http://zoneminder.readthedocs.org/en/la ... buntu-14-x)
Then i tried to add my Foscam FI9803P, but I cannot get a picture of the stream.
A few errors occur in the log files.
Code: Select all
2016-02-07 17:14:41.304242 zmc_m2 3654 INF Monitor-2: 5000 - Capturing at 22.73 fps zm_monitor.cpp 3131
2016-02-07 17:13:57.880741 zmc_m2 3654 INF Monitor-2: 4000 - Capturing at 23.26 fps zm_monitor.cpp 3131
2016-02-07 17:13:55.088488 web_js 1975 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-453364s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-02-07 17:13:54.992267 web_php 1975 ERR socket_sendto( /var/run/zm/zms-453364s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2371
2016-02-07 17:13:42.990347 web_js 3612 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-453364s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-02-07 17:13:42.910662 web_php 3612 ERR socket_sendto( /var/run/zm/zms-453364s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2371
2016-02-07 17:13:30.635633 web_js 3612 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-453364s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-02-07 17:13:30.566482 web_php 3612 ERR socket_sendto( /var/run/zm/zms-453364s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2371
2016-02-07 17:13:18.638717 web_js 3612 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-453364s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-02-07 17:13:18.386601 web_php 3612 ERR socket_sendto( /var/run/zm/zms-453364s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2371
2016-02-07 17:13:14.460920 zmc_m2 3654 INF Monitor-2: 3000 - Capturing at 23.26 fps zm_monitor.cpp 3131
2016-02-07 17:13:06.367266 web_js 3670 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-453364s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-02-07 17:13:06.325253 web_php 3670 ERR socket_sendto( /var/run/zm/zms-453364s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2371
2016-02-07 17:12:54.292980 web_js 3670 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-453364s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-02-07 17:12:53.740867 web_php 3670 ERR socket_sendto( /var/run/zm/zms-453364s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2371
2016-02-07 17:12:41.703375 web_js 3670 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-453364s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2016-02-07 17:12:41.622281 web_php 3670 ERR socket_sendto( /var/run/zm/zms-453364s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2371
2016-02-07 17:12:31.023755 zmc_m2 3654 INF Monitor-2: 2000 - Capturing at 22.73 fps zm_monitor.cpp 3131
The rtsp link works fine in VLC player.
Because of the log I suggest the webcam is well recognized (the current fps seems to be correct) but the stream cannot be decoded? Is the problem FFMPEG? Ubuntu 14 uses a fork of FFMPEG (I think avlib).
Can someone help?
Edit:
Also recording and downloading the video (as image, not as a video file) works fine.
Playback of the redorded video does not work in the browser.
Edit2:
If I open the video? url directly (http://surveillance/cgi-bin/nph-zms?mod ... 1454869678) I get: The requested URL /cgi-bin/nph-zms was not found on this server.
CGI seems to be enabled:
Code: Select all
sudo a2enmod cgi
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Module cgi already enabled