Zoneminder

From VoidWarranties - Hackerspace Antwerp, Belgium
Revision as of 02:06, 26 October 2014 by Bob The Builder (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Zoneminder
What:
Experimenting with the use of webcams for security.
Event.png
Participants:
Koen
Category:
Security
Locations:
Den Bunker

Contents

Hardware

USB Camera

A USB webcam of the model "Logitec Quickcam Zoom" is also available for this project. Using VLC you can access it's output using this command:

vlc v4l2:///dev/video0 --fullscreen

Ethernet Camera

A Ethernet camera of type TP-Link TL-SC3130G is permantently installed in the bar area of Den Bunker. Accessing this camera can be done from any browser, we in the space just browser to http://10.98.71.25/. Direct access to the streaming images is also available through VLC (and other players). This camera supports two different types of video-streams although not both simultaneous.

MP4

For a MPEG-4 videostream "Settings > Basic > Camera > RTSP" has to be set to ON in the web-interface.

vlc rtsp://10.98.71.25:8554/video.mp4 --noaudio --fullscreen

MJPG

To be able to enable the Motion JPEG stream on this camera you have to set "Settings > Basic > Camera > RTSP" to OFF.

vlc http://10.98.71.25:8070/video.mjpg --fullscreen

Software

Zoneminder

To do the aggregation, capture and motion detection of video data we plan to use Zoneminder. At the moment I can configure both camera's to work in Zoneminder but not at the same time.

Installation

On Ubuntu 10.10 Zoneminder can be installed straight from the repositories.

sudo apt-get install zoneminder

After this you should be able to load zoneminder at http://localhost/zm. If not you may need to change the following lines in the file /etc/apache2/sites-enabled/000-default. Find the line:

DocumentRoot /var/www

and change it to read

DocumentRoot /usr/share/zoneminder

Similarly change the line:

<Directory /var/www/>

to read

<Directory /usr/share/zoneminder/>

After these changes you need to restart zoneminder ans apache.

sudo /etc/init.d/zoneminder restart
sudo /etc/init.d/apache2 restart
Now zoneminder should be available at http://localhost.

Links

This link was very useful setting up this system:
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
Content Creation
Belgian Spaces