Linux video camera security

Part I

Our commercial video surveillance system had a problem last week. The mains supply unit that feeds the camera, which in turn uses a CCD (Charge Coupled Device) and transmits to the receiver through microwave (2.4 GHz) had failed. To add to our woes, the multiple camera switcher unit had failed as well – possibly owing to a disastrous power supply fault.

It would take some time to sort out this issue and procure replacement units to handle the security of the premises. Someone suggested that we explore using the ubiquitous webcams lying around in our office, coupled with some open source (or commercial) software to handle the perimeter security.

A quick search in the Google for the term – “linux video camera security” returned some 9 million pages. Zoneminder appeared to suit our requirement though our needs were more modest. The site mentions that it is a complete “ all in one Linux GPL’d security camera solution” .

Basically what we needed was as enumerated below:

  1. Option of using inexpensive USB webcams
  2. Option of using a Multi camera setup
  3. Software driven Motion detection
  4. Video streaming through the Net
  5. Option of storing the images generated in the high capacity Network File Server

Browsing through the supplied manual (readme.pdf) showed that Zoneminder would more than suit our requirements.

There are many ways you can download and install the software package.

You can download and compile the source code or download your distro specific RPM to install. You will find that most of the code is written in Perl, which makes managing/ fault finding that much easy for people conversant with Perl.

Linux Video camera security

You will need amongst other things – an Apache server with PHP and Mysql installation. There are other essentials too – libjpeg.a , libpcre.a , ffmpeg or the Berkeley MPEG encoder – if you plan to generate MPEG video. Fortunately if you are with any modern distros, you can use any of their built-in updating to obtain the required libraries.

We will explore how we built from the ground up a very versatile video camera security system with little more than a Linux box and a few readily available Webcams in our subsequent parts.

Leave a Reply

Our Parent site TargetWoman - the leading women portal presents painstakingly researched extensive information in the form of thousands of condensed pages. It offers the widest and the most detailed information on subjects women care.