Brave Cobra's Hideout
If Linux doesn't have the solution, you have got the wrong problem.
HomeNews

News

Linux

Linux: Making your webcam act as a security camera with zoneminder

Contributed by bravecobra on May 14, 2010 - 02:18 AM

Linux

Having some time to spare (although not as much as I wanted), I thought it’d be a nice idea to convert my webcam into a security camera. The best (free) solution I found was zoneminder, which runs perfectly on linux.

Of course, like the Webcam Skype article, I had to configure zoneminder in order to have my webcam (Logitech QuickCam Messenger) working in v4l version 1 instead of the default v4l 2. To do that I modified the /usr/bin/zmdc.pl file to preload the correct package.

delete @ENV{qw(IFS CDPATH ENV BASH_ENV)};
$ENV{LD_PRELOAD} = '/usr/lib/libv4l/v4l1compat.so';
my @daemons = (
'6zmc',
'zma',
'zmf',
'zmfilter.pl',
'zmaudit.pl',
'zmtrigger.pl',
'zmx10.pl',
'zmwatch.pl',
'zmupdate.pl',
'zmtrack.pl'
);
 

Rating

  • Currently 0 / 5 Stars.

No comments posted yet.

Only logged in users are allowed to comment. Register or log in.