Changes

ZoneMinder CCTV Camera Monitoring Software

3,773 bytes added, 18:54, 19 January 2009
The following lines were added (+) and removed (-):
=== ZoneMinder FAQ ===* http://www.zoneminder.com/wiki/index.php/FAQThe Fedora RPM creates /var/log/zoneminder, but the database scripts point logs to /tmp, rather than the new directory. (Stupid)* Click '''Options''', '''Paths''' tab, and change   ZM_PATH_LOGS = /var/log/zoneminder* Click '''Options''', '''Debug''' tab, and change   ZM_EXTRA_DEBUG_LOG = /var/log/zoneminder/zm_debug.log+Available sounds:  cd /usr/share/zoneminder/www/sounds<big>'''NOTE:''' Unable to get ZM_STREAM_METHOD mpeg or mpeg export working due to flaw in RPM build and ffmpeg version.  No solution is currently available.  A work around is to run ffmpeg from the command shell to turn still JPEG images into MPEG video if you install ffmpeg per instructions below.</big>* '''Record''' – In this case continuous events of a fixed length are generated regardless of motion which is analogous to a convention time-lapse video recorder. No motion detection takes place in this mode.  * '''Record''' – In this case continuous events of a fixed length are generated regardless of motion which is analogous to a convention time-lapse video recorder. No [[motion detection]] takes place in this mode.  * '''Nodect''' – or No DEteCTtion. This is a special mode designed to be used with external triggers. In Nodect no motion detection takes place but events are recorded if external triggers require it.* '''Nodect''' – or No DEteCTtion. This is a special mode designed to be used with external triggers. In Nodect no [[motion detection]] takes place but events are recorded if external triggers require it. === [http://www.zoneminder.com/wiki/index.php/Documentation#Defining_Zones Zones] === The default zone is Active and so will be red, Inclusive zones are orange, exclusive zones are purple, preclusive zones are blue and inactive zones are white. * Active - trigger on any event within selection* Inclusive - triggered only if another zone has an event also* Exclusive - triggered only if other zone not triggered* Preclusive -* Inactive - no alarms will be triggered === Blobs AlarmedPixels FilteredPixels === * Alarmed Pixels - only a count of individual alarmed pixels should be used to determine the state of a image.* Filtered Pixels -  the pixels should be filtered to remove isolated pixels before being counted.* Blobs -  a more sophisticated analysis which is designed to aggregate alarmed pixels into continuous groups, or ‘blobs’.   === Parameters === * Min/Max Pixel Threshold -* Filter Width/Height - this filter removes any tiny or discontinuous pixels that don't form part of a discrete block.* Min/Max Alarmed Area - the minimum and maximum number of pixels that exceed this threshold that would cause an alarm.* Min/Max Filtered Area - * Min/Max Blob Area - only the Minimum is likely to be very useful.* Min/Max Blobs - the limits of the actual number of blobs detected.== Advanced ==zoneminder is made up of 3 types of programming# C++ compiled binaries## /usr/bin/zm*## /usr/libexec/zoneminder/cgi-bin/zms## /usr/libexec/zoneminder/cgi-bin/nph-zms# perl scripts## /usr/bin/zm*.pl# php scripts## /usr/share/zoneminder/www/zm_*.php zmu -d /dev/video0 -q                show device settings zmu -m 8 -q                          show settings for monitor with id "8" zmu -m 8 -s                          state for monitor 8, 0 = idle, 1 = prealarm, 2 = alarm, 3 = alert, 4 = tapeInded of documented zmu commands: http://www.zoneminder.com/wiki/index.php/Zmu=== zoneminder components including C++, Perl, and PHP ===* http://www.zoneminder.com/wiki/index.php/Documentation#Components === zmtrack.pl ===This is a script that can execute custom events when it detects an alarm.  Set the zmtrack.pl to watch a perl zmtrack.pl -m 2  zmtrack.pl -m id_camera=== Event Filters ===* http://www.zoneminder.com/wiki/index.php/Main_Documentation#Viewing_Events=== Run External Script When Alarm is Active ===ZoneMinder includes a perl API which means you can create a script to interact with the ZM shared memory data and use it in your own scripts to react to ZM alarms or to trigger ZM to generate new alarms. Full details are in the README or by doing 'perdoc ZoneMinder', 'perldoc ZoneMinder::SharedMem' etc. Follow this [http://www.zoneminder.com/wiki/index.php/FAQ#How_can_I_use_ZoneMinder_to_trigger_something_else_when_there_is_an_alarm.3F link to an example script] that checks all monitors for alarms and when one occurs, prints a message to the screen. You can add in your own code to make this reaction a little more useful.
Bureaucrat, administrator
16,195
edits