newbie alert!
Posted: Wed Mar 09, 2011 2:48 pm
Hello all
I'm a first time user of zoneminder; I've been trying to set it up at work for security cameras. I've been getting some issues, some I've resolved, some halfway, others still boggle me.
A little background:
- I think I'm a well seasoned linux user (since late 90's or so), so don'tworry about talking geek.
- not familiar with video codecs (h264-it's mpg right? mp4? what?)
- first install attempt was on a debian-lenny, migrated to ubuntu 10.04 since it was easier to get and install the h264 codec (the vlc h264 didn't compile on debian)
- ffmpeg was compiled and installed with (I think?)appropriate libraries; configure flags where:
- All of my cameras are Axis cameras, with RTSP mpeg-h264.
- zoneminder was installed off of ubuntu's package manager, version 1.24.2
- I can access all cameras through vlc (rtsp://user:pass@ip:554/axis-media/media.amp) with or without password ( I set up anonymous viewing to ease the setup )
- the machine running zoneminder can connect to the cameras (ping replies and ffmpeg captures)
Issues:
a) /var/log/syslog and /var/log/messages get huge, thousands of messages on each
b) The only way I can get an image out of the cameras is setting the STREAM_METHOD to jpeg and the axis camera source url to:
d) I can't replay the images for the events through the web (the images are recorded, I can see them on the specified folder). I checked the html and it was looking for the images in '/var/zm/events/images' (that full path on the html) instead of relaying through some script or a web-visible folder.
e) I get these errors in apache:
Any ideas? Thanks!
- osoroco
I'm a first time user of zoneminder; I've been trying to set it up at work for security cameras. I've been getting some issues, some I've resolved, some halfway, others still boggle me.
A little background:
- I think I'm a well seasoned linux user (since late 90's or so), so don'tworry about talking geek.
- not familiar with video codecs (h264-it's mpg right? mp4? what?)
- first install attempt was on a debian-lenny, migrated to ubuntu 10.04 since it was easier to get and install the h264 codec (the vlc h264 didn't compile on debian)
- ffmpeg was compiled and installed with (I think?)appropriate libraries; configure flags where:
- the paths on the zoneminder conf point to that ffmpeg living in /opt/ffmpeg--prefix=/opt/ffmpeg/ --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
- All of my cameras are Axis cameras, with RTSP mpeg-h264.
- zoneminder was installed off of ubuntu's package manager, version 1.24.2
- I can access all cameras through vlc (rtsp://user:pass@ip:554/axis-media/media.amp) with or without password ( I set up anonymous viewing to ease the setup )
- the machine running zoneminder can connect to the cameras (ping replies and ffmpeg captures)
Issues:
a) /var/log/syslog and /var/log/messages get huge, thousands of
Code: Select all
Mar 9 10:31:02 zoneminder zmc_m2[3695]: WAR [Discarding packet for unrecognised ssrc a037ec8]
b) The only way I can get an image out of the cameras is setting the STREAM_METHOD to jpeg and the axis camera source url to:
- Protocol: HTTP
Method: Simple
Host: user:pass@cameraip
Port: 80
Path: /axis-cgi/mjpg/video.cgi?resolution=800x600&compression=20
24bit color and 800x600
d) I can't replay the images for the events through the web (the images are recorded, I can see them on the specified folder). I checked the html and it was looking for the images in '/var/zm/events/images' (that full path on the html) instead of relaying through some script or a web-visible folder.
e) I get these errors in apache:
Code: Select all
==> error.log <Wed> \n array (\n 'file' => '/usr/share/zoneminder/ajax/stream.php',\n 'line' => 55,\n 'function' => 'ajaxError',\n 'args' => \n array (\n 0 => 'socket_sendto( /tmp/zms-699128s.sock ) failed: No such file or directory',\n ),\n ),\n 1 => \n array (\n 'file' => '/usr/share/zoneminder/index.php',\n 'line' => 116,\n 'args' => \n array (\n 0 => '/usr/share/zoneminder/ajax/stream.php',\n ),\n 'function' => 'require_once',\n ),\n), referer: http://10.1.1.12/zm/index.php?view=watch&mid=4
Any ideas? Thanks!
- osoroco