This is my first foray into zoneminder. I'm getting a better camera later next week to try out, but for my first one to try, I have a Foscam C1 webcam that is connected to the network wirelessly.
Install-wise, I do have ffmpeg, libvlc, zoneminder 1.30.0, Ubuntu 14.04, and used the "easy install" guide and the ppa to install zoneminder (though I had to add the database myself which wasn't in that guide) and I complied and added cambozola as well since the logs were complaining about that at one point.
For the camera, I can log in to the camera and see everything just fine there. I set the resolution to 720p, framerate to 3, and keyframes to every 10 (hoping to use this mostly for motion alarms, so I don't need 20fps)
In zoneminder, I've tried both ffmpeg and libvlc and get errors with both. I have the source set to rtsp://user:pass@192.168.1.15:554/videoMain, the method to RTP/RTSP, colorspace to 32 bit colour (also tried 24), width to 1280 and height to 720.
I have no errors showing up in apache2/error.log
ffmpeg, I get
Unable to open input rtsp://user:pass@192.168.1.15:554/videoMain due to: Operation now in progress
Occasionally it says "Analysing at 9.9fps" and "Capturing at 9.9fps". Presumably this is because at this time, I've tried to set the max framerate in ZM to 10 (I've also tried leaving it blank). When I click to see the streaming view, I just get a blue screen.
libvlc, I get a white screen with occasional broken image icons flashing up:
Terminating, last frame sent time 1473984280.129875 secs more than maximum of 10.000000
ERR getStreamCmdResponse stream error: socket_sendto( /tmp/zm/zms-683523s.sock ) failed: No such file or directory - checkStreamForErrors()
ERR socket_sendto( /tmp/zm/zms-683523s.sock ) failed: No such file or directory
So I checked my zoneminder.conf (in conf.d, configuration.available and configuration.enabled)
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>
Require all granted
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
<Directory /usr/share/zoneminder/www/api>
AllowOverride All
</Directory>
I'm not exactly sure where /tmp/zm is supposed to have been aliased from, but just for fun, I went ahead and created a /tmp/zm/ in my web root
I'm not quite sure where to go from here. Would love some help figuring this out
