<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gianrubio</id>
	<title>ZoneMinder Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gianrubio"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Gianrubio"/>
	<updated>2026-04-19T17:50:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=General_Notes&amp;diff=2750</id>
		<title>General Notes</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=General_Notes&amp;diff=2750"/>
		<updated>2009-01-12T17:04:49Z</updated>

		<summary type="html">&lt;p&gt;Gianrubio: /* Kodicom Capture Cards */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Zoneminder Build Notes==&lt;br /&gt;
==== Required for Building ====&lt;br /&gt;
* MySQL [http://www.lamphowto.com  www.lamphowto.com] Notes on compiling MySQL from source&lt;br /&gt;
* OpenSSL&lt;br /&gt;
* PHP&lt;br /&gt;
* Apache&lt;br /&gt;
* Perl/Libperl&lt;br /&gt;
./configure will complain if anything is missing.&lt;br /&gt;
&lt;br /&gt;
==== Installing from Source ====&lt;br /&gt;
* http://www.zoneminder.com/fileadmin/downloads/README.html&amp;lt;br&amp;gt;&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=5715&amp;lt;br&amp;gt;&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=5929&amp;lt;br&amp;gt;&lt;br /&gt;
:./configure --with-mysql=/usr/local/mysql&lt;br /&gt;
:--with-ffmpeg=/home/src/ffmpeg-0.4.9-pre1&lt;br /&gt;
:--with-lame=/home/src/lame-3.96.1/libmp3lame&lt;br /&gt;
:--with-webdir=/home/sites/Security.658Ridgecrest.com/web&lt;br /&gt;
:--with-cgidir=/home/sites/Security.658Ridgecrest.com/web&lt;br /&gt;
:--with-webuser=httpd &lt;br /&gt;
:--with-webgroup=httpd&lt;br /&gt;
:--with-libarch=lib &lt;br /&gt;
:--enable-debug=yes &lt;br /&gt;
OR&lt;br /&gt;
:./configure --with-webdir=/var/www/htdocs/ZM&lt;br /&gt;
:--with-cgidir=/var/www/cgi-bin --sysconfdir=/etc&lt;br /&gt;
:--with-webuser=httpd&lt;br /&gt;
:--with-webgroup=httpd&lt;br /&gt;
OR&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=6053&lt;br /&gt;
:./configure --with-webdir=/var/www/html/zm &lt;br /&gt;
:--with-cgidir=/var/www/cgi-bin ZM_DB_PASS=&amp;lt;password&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Create and Populate the Database ====&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=5754&amp;lt;br&amp;gt;&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=6023&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
:mysql mysql &amp;lt; db/zm_create.sql&lt;br /&gt;
:mysql mysql&lt;br /&gt;
:&amp;gt; grant select,insert,update,delete on &amp;lt;database name&amp;gt;.* to &amp;#039;&amp;lt;database user&amp;gt;&amp;#039;@localhost identified by &amp;#039;&amp;lt;database password&amp;gt;&amp;#039;;&lt;br /&gt;
:&amp;gt; quit&lt;br /&gt;
: mysqladmin reload&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Misc Notes (Anyone care to categorize?) ====&lt;br /&gt;
Check zone.conf or zm.conf. Check that there are no bogus vesions of this file lying around. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;quot;nobody&amp;quot; doesn&amp;#039;t have shell access, choose a different Apache alias like &amp;quot;httpd&amp;quot;. &amp;lt;br&amp;gt;&lt;br /&gt;
zmdc.log or /var/log/messages log any errors.&amp;lt;br&amp;gt;&lt;br /&gt;
zm.sock file must be able to be created.&lt;br /&gt;
&lt;br /&gt;
==Apache ==&lt;br /&gt;
&lt;br /&gt;
==== Permissions Problems ====&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=5642&lt;br /&gt;
&amp;lt;code&amp;gt;sudo -u apache /etc/rc.d/rc.zoneminder start&amp;lt;/code&amp;gt;&lt;br /&gt;
** now.. zmc and zma is running on user apache&lt;br /&gt;
&lt;br /&gt;
==== su Issue ====&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=5652&lt;br /&gt;
&lt;br /&gt;
==== Allowing CGI Execution (REQUIRED for ZM) ====&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=5853&lt;br /&gt;
*/usr/local/etc/zm.conf  must exist and what process owns it.&lt;br /&gt;
webuser and webgroup must be correct for apache to have ownership over zm.conf&lt;br /&gt;
&lt;br /&gt;
==BIOS Issues==&lt;br /&gt;
Turning off ACPI power management in the BIOS may help alleviate some issues with ZoneMinder and capture hardware. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Brightness control==&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=3953&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=5680&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=3657&lt;br /&gt;
&lt;br /&gt;
== Contribs Forum==&lt;br /&gt;
The [http://www.zoneminder.com/forums/viewforum.php?f=9 contribs forum] contains contributions from ZoneMinder users like yourself!&lt;br /&gt;
&lt;br /&gt;
==Cambozola==&lt;br /&gt;
Cambozola is a Java plugin that decodes multipart JPEG streams. Mozilla-based browser have native support, so this plugin is for browsers like Internet Explorer that lack that support.&lt;br /&gt;
&lt;br /&gt;
To install Cambozola for use in zm, Download the cambozola.jar file from the Downloads page or directly from the charliemouse website. If you download from charliemouse you will need to extract the one file (cambozola.jar) from the archive. Place cambozola.jar in the ZM root web directory (so if your web pages for ZM is installed at /var/www/html/zm the file should go there as well). Now all thats left to be done is to enable it in ZM goto options and under the web tab check that cambozola is enabled. Thats it, you&amp;#039;re done.&lt;br /&gt;
&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=5745&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=6320&lt;br /&gt;
&lt;br /&gt;
NOTE: If you find that the Cambozola applet loads in IE but the applet just displays the version # of Cambozola and the author&amp;#039;s name (as opposed to seeing the streaming images), you may need to chmod your cambozola.jar:&lt;br /&gt;
&lt;br /&gt;
  $ sudo chmod 775 cambozola.jar&lt;br /&gt;
&lt;br /&gt;
Once I did this, images started to stream for me.&lt;br /&gt;
&lt;br /&gt;
==Capture Card Issues==&lt;br /&gt;
==== Image is Flipped ====&lt;br /&gt;
* Applies to 4 inputs on one chip:&lt;br /&gt;
**http://www.zoneminder.com/forums/viewtopic.php?t=6042&lt;br /&gt;
&lt;br /&gt;
==== Scrambled Images ====&lt;br /&gt;
* Applies to 4 inputs on one chip, using lspci and dmesg to determine hardware.&lt;br /&gt;
**http://www.zoneminder.com/forums/viewtopic.php?t=6024&lt;br /&gt;
&lt;br /&gt;
==== Black Screen bttv Video Devices ====&lt;br /&gt;
* Black Screen in ZM when using 2.6.21.5 kernel &amp;#039;&amp;#039;&amp;#039;but&amp;#039;&amp;#039;&amp;#039; works with TVTime&lt;br /&gt;
** http://www.zoneminder.com/forums/viewtopic.php?t=10108 describes why a V4L2 app has to init the devices 1st before a V4L1 app. &lt;br /&gt;
** A script to workaround this is available at http://www.zoneminder.com/forums/viewtopic.php?t=9414&lt;br /&gt;
&lt;br /&gt;
==CAUSE NOTES field section==&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=6065&lt;br /&gt;
&lt;br /&gt;
==Database MySQL==&lt;br /&gt;
==== Create a New Database ==== &lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=5754&lt;br /&gt;
&lt;br /&gt;
==== Repair a Database ==== &lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=5657&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=5845&lt;br /&gt;
&lt;br /&gt;
==== Backup a Database ====&lt;br /&gt;
In Ubuntu and other modern distributions you can install MySQL administrator GUI.&lt;br /&gt;
&lt;br /&gt;
the default login is :-&amp;lt;br&amp;gt;&lt;br /&gt;
Server Hostname ---- localhost&amp;lt;br&amp;gt;Username ---- Root&amp;lt;br&amp;gt;Password ----- (Blank, no password)&lt;br /&gt;
&lt;br /&gt;
In here, there is backup and restore functions. The backup can also be scheduled.&lt;br /&gt;
&lt;br /&gt;
==== Delete Databases/Tables ====&lt;br /&gt;
&lt;br /&gt;
==== Database Tricks/Tips ==== &lt;br /&gt;
* My personal recommendation is to try converting your database over to INNODB tables.&lt;br /&gt;
** Researching the web I found this to be faster for larger tables (as events grow) and much more reliable. &lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=6000&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=6143&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=5657&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=6095&lt;br /&gt;
&lt;br /&gt;
====Update Database After Installing from RPM&amp;#039;s====&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=5887&lt;br /&gt;
&lt;br /&gt;
== ffmpeg ==&lt;br /&gt;
*Install ffmpeg for Fedora with&lt;br /&gt;
yum -i  ffmpeg&amp;lt;br&amp;gt;&lt;br /&gt;
yum -i ffmpeg-devel&lt;br /&gt;
&lt;br /&gt;
*Install ffmpeg and ffmpeg-devel on Fedore4&lt;br /&gt;
**http://www.zoneminder.com/forums/viewtopic.php?t=5601&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
rpm -ivh http://rpm.livna.org/livna-release4.rpm&lt;br /&gt;
yum install ffmpeg ffmpeg-devel&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Place the devel stuff in /usr/include/ffmpeg&lt;br /&gt;
Now configure, make, make install&lt;br /&gt;
&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=5576&amp;amp;sid=4e7192b74fe4306e341e9c4036727f7b&lt;br /&gt;
*After getting ffmpeg from CVS, do:&lt;br /&gt;
&amp;lt;code&amp;gt;./configure , make,  make install, make installibs&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Changes in ffmpeg again===&lt;br /&gt;
It would seem that ffmpeg has possibly changed things again, no real supprise there but it complicates building ZM.&lt;br /&gt;
&lt;br /&gt;
So if you find when you make:&lt;br /&gt;
&lt;br /&gt;
zm_mpeg.h:29:29: error: ffmpeg/avformat.h: No such file or directory&lt;br /&gt;
&lt;br /&gt;
zm_mpeg.h:31:28: error: ffmpeg/swscale.h: No such file or directory &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and whereis turns up:&lt;br /&gt;
&lt;br /&gt;
/usr/include/libavformat/avformat.h&lt;br /&gt;
&lt;br /&gt;
/usr/include/libswscale/swscale.h &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The file you would need to change is zm_mpeg.h&lt;br /&gt;
and change the following two lines in that file:&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;ffmpeg/avformat.h&amp;gt;&lt;br /&gt;
#include &amp;lt;ffmpeg/swscale.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Would have to be canged to:&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;libavformat/avformat.h&amp;gt;&lt;br /&gt;
#include &amp;lt;libswscale/swscale.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Increase Image size==&lt;br /&gt;
If you increase the image size on a camera, it&amp;#039;s always best to close down any streams and restart ZM to make sure that all memory is released.&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=7049&lt;br /&gt;
&lt;br /&gt;
==Image display problems==&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=6027&lt;br /&gt;
&lt;br /&gt;
Also remember you may need to increase your &amp;#039;shared memory&amp;#039;. See the FAQ for details&lt;br /&gt;
&lt;br /&gt;
==Firefox, Colorzilla Extensions==&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=5647&lt;br /&gt;
&lt;br /&gt;
==Kodicom Capture Cards==&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=5640&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=4130&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=6158&lt;br /&gt;
*KMC-8800 8-chip bt878 capture card&lt;br /&gt;
** http://www.zoneminder.com/forums/viewtopic.php?t=5609&lt;br /&gt;
** http://www.linuxtv.org/wiki/index.php/Kodicom_4400R&lt;br /&gt;
** http://www.linuxtv.org/wiki/index.php/Kodicom_8800R&lt;br /&gt;
** http://www.zoneminder.com/forums/viewtopic.php?t=6012&lt;br /&gt;
&lt;br /&gt;
*modprobe.conf file&lt;br /&gt;
**http://www.zoneminder.com/forums/viewtopic.php?t=5508&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;start=15&lt;br /&gt;
** http://www.zoneminder.com/forums/viewtopic.php?t=6024&lt;br /&gt;
Edit your /etc/modprobe.conf file and add this line:&amp;lt;br&amp;gt;&lt;br /&gt;
options bttv card=77&amp;lt;br&amp;gt;&lt;br /&gt;
*http://www.linux.com/howtos/Webcam-HOWTO/dev-intro.shtml&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=6892&lt;br /&gt;
All screens must be the same resolution.&lt;br /&gt;
&lt;br /&gt;
*bttv settings &lt;br /&gt;
**http://www.zoneminder.com/forums/viewtopic.php?t=5603&amp;amp;sid=4e7192b74fe4306e341e9c4036727f7b&lt;br /&gt;
&lt;br /&gt;
note that under ubuntu that the file to edit is /etc/modprobe.d/aliases.&lt;br /&gt;
&lt;br /&gt;
==Logitech USB QuickCam==&lt;br /&gt;
*I&amp;#039;m using FC4 and had a similiar problem with a quickcam 4000.&lt;br /&gt;
I guess you are using the default module supplied with CentOS. I think, not sure about this though, that it is missing some capabilities. So I installed the pwc module (http://www.saillard.org/linux/pwc/INSTALL.en) and these crashes stopped.&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=5906&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Message Logs==&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=5771&lt;br /&gt;
&lt;br /&gt;
==Memory Problems/Tweaks==&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=6242&lt;br /&gt;
*Shared memory setting must be high.&lt;br /&gt;
**http://www.zoneminder.com/forums/viewtopic.php?t=6024&lt;br /&gt;
&lt;br /&gt;
==SELinux Issues==&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=6337&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=4836&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=6147&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cat sysctl.conf&lt;br /&gt;
# Disable response to broadcasts.&lt;br /&gt;
# You don&amp;#039;t want yourself becoming a Smurf amplifier.&lt;br /&gt;
net.ipv4.icmp_echo_ignore_broadcasts = 1&lt;br /&gt;
# enable route verification on all interfaces&lt;br /&gt;
net.ipv4.conf.all.rp_filter = 1&lt;br /&gt;
# enable ipV6 forwarding&lt;br /&gt;
#net.ipv6.conf.all.forwarding = 1&lt;br /&gt;
kernel.shmall = 134217728&lt;br /&gt;
kernel.shmmax = 134217728&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* http://www.zoneminder.com/forums/viewtopic.php?t=6000&lt;br /&gt;
&lt;br /&gt;
==Mocord, Record, Modect==&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=6120&lt;br /&gt;
&lt;br /&gt;
==External Triggering==&lt;br /&gt;
====zmtrigger.pl====&lt;br /&gt;
Some discussion on using external events (X10 for example) to trigger your ZM camera:  &lt;br /&gt;
    http://www.zoneminder.com/forums/viewtopic.php?t=6423&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
(Could use your help here)&lt;br /&gt;
&lt;br /&gt;
==Modprobe==&lt;br /&gt;
modprobe.conf &lt;br /&gt;
mod = 133 or something like that for Kodicom&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=5603&lt;br /&gt;
&lt;br /&gt;
==Official ZoneMinder Manual==&lt;br /&gt;
http://www.zoneminder.com/fileadmin/downloads/README.html&lt;br /&gt;
&lt;br /&gt;
==MMS Gateway and API Aoftware==&lt;br /&gt;
GPRS or HTTP a Jpeg image to the MMS gateway server which in turn sends the image to a mobile phone&lt;br /&gt;
*http://www.redcoal.com/&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=6101&lt;br /&gt;
*http://wurfl.sourceforge.net/&lt;br /&gt;
*http://www.mig.co.za&lt;br /&gt;
&lt;br /&gt;
==Multiple zones==&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=6079&lt;br /&gt;
&lt;br /&gt;
==Perl Package zmpgk.pl==&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=5801&lt;br /&gt;
&lt;br /&gt;
==Roundrobin==&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=5658&lt;br /&gt;
&lt;br /&gt;
==Remote Camera Source/ Using Another ZM Box as a Source====&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=5549&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=5595&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=5549&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=12037&lt;br /&gt;
&lt;br /&gt;
==Simultaneous connections (number off ) to Web browser==&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=6765&lt;br /&gt;
&lt;br /&gt;
==Streaming ==&lt;br /&gt;
*rtp and raw streaming&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=5572&lt;br /&gt;
&lt;br /&gt;
==Settings==&lt;br /&gt;
*&amp;quot;disable farm out writing of images&amp;quot; if frame capture errors appear in log.&amp;lt;br&amp;gt;&lt;br /&gt;
** http://www.zoneminder.com/forums/viewtopic.php?t=5992&lt;br /&gt;
&lt;br /&gt;
*color pallet, video hieght, or video width. Try starting with 320x240 (assuming ntsc) and try different pallets. &lt;br /&gt;
**http://www.zoneminder.com/forums/viewtopic.php?t=6027&amp;amp;sid=9a52386394831b24741c67ba70cc1507&lt;br /&gt;
&lt;br /&gt;
==Timelapsed video==&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=6049&lt;br /&gt;
&lt;br /&gt;
==Vehicle Detection Links==&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=5858&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=5184&amp;amp;highlight=truck+intersection&lt;br /&gt;
*http://www.cnssystems.ca/&lt;br /&gt;
&lt;br /&gt;
*All things are possible and the example someone posted a while back of detecting trucks and buses, but not cars, passing over a distant intersection is probably appropriate for you. What I would suggest you need are quite high pixel differences (indicating difference from the background) and pretty small counts of changed pixels or blob sizes. You might find it useful to turn on diagnostic images initially (and only for a while as they slow everything down a lot) which will output what ZM thinks the differences etc are are in the images.&lt;br /&gt;
&lt;br /&gt;
==Water marked==&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=4591&amp;amp;highlight=watermark&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=4188&amp;amp;highlight=watermark&lt;br /&gt;
&lt;br /&gt;
==xawtv ==&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=5696&lt;br /&gt;
what from xawtv -hwscan?&lt;br /&gt;
xawtv -device /dev/video?&lt;br /&gt;
&lt;br /&gt;
==zmc daemon captures the images==&lt;br /&gt;
*http://www.zoneminder.com/forums/viewtopic.php?t=6146&lt;br /&gt;
&lt;br /&gt;
==Zone Configurations and Fine Tunings==&lt;br /&gt;
&lt;br /&gt;
The way I tuned my zones was to walk out in front of the camera and stand at the furthest distance from the camera where it would be useful to detect motion. &lt;br /&gt;
&lt;br /&gt;
Then I replayed the footage and took a still of my standing away from the camera, loaded it into a photo editor and cropped the image to the size of my body. &lt;br /&gt;
&lt;br /&gt;
Then looking at the image attibutes gave me the dimensions of the remaining space, I took the height and width and multiplied them to get a minumum number of changed pixels I wanted to cause an alarm. &lt;br /&gt;
&lt;br /&gt;
I went into my zone and changed the units from percent to pixels. Then input the number I got from my previous calculation into the first two min fields, and subtracted 15% and put that number in the last minumum field.&lt;br /&gt;
&lt;br /&gt;
* This section needs alot of work.  Please contribute as much as you can!&lt;br /&gt;
&lt;br /&gt;
Once you have Zoneminder up and running and all your cameras recording events, it then becomes important to fine tune your zones so that you record all of the events that are important to you, and just as important, NOT record events that are not important.&lt;br /&gt;
&lt;br /&gt;
There are many parameters to be adjusted.  So many, in fact, that it is easy to change just a few parameters, and create a config that does not do what you want at all.  It is all so confusing.  Here, we will attempt to document some basic configs, and explain in some detail the effects that each parameter will have and how each parameter relates to the other parameters.&lt;br /&gt;
&lt;br /&gt;
The Documentation page offers some help in understanding how these parameters are related and important.  You can view the online documentation here:&lt;br /&gt;
&lt;br /&gt;
[http://www.zoneminder.com/fileadmin/downloads/README.html#_Toc151468571  Zone Config Documentation]&lt;br /&gt;
&lt;br /&gt;
[[Reference Image Blend Percentage aka Vapor Trails]]&lt;br /&gt;
&lt;br /&gt;
[[Zone Parameter Explanations version 1.21]]&lt;br /&gt;
&lt;br /&gt;
[[Zone Parameter Explanations version 1.22]]&lt;br /&gt;
&lt;br /&gt;
[[Zone Analysis Pseudo Algorithm]]&lt;br /&gt;
&lt;br /&gt;
[[Zone Configuration Basics]]&lt;br /&gt;
&lt;br /&gt;
[[Zone Configuration Advanced]]&lt;br /&gt;
&lt;br /&gt;
[[Special Situation Configs]]&lt;/div&gt;</summary>
		<author><name>Gianrubio</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Kodicom_4400r&amp;diff=2749</id>
		<title>Kodicom 4400r</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Kodicom_4400r&amp;diff=2749"/>
		<updated>2009-01-12T17:03:40Z</updated>

		<summary type="html">&lt;p&gt;Gianrubio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This card works a little different than the others. The inputs are not bound to any spacific bt878 chip but go through a crosspoint video switch. The way this works is you have inputs (channles) 0-15 and you can assign them to any of the video devices (bt878 chips /dev/video 0-3)&lt;br /&gt;
&amp;lt;br&amp;gt;/dev/video0 (3) assigns composit input 3 to the first device&lt;br /&gt;
&amp;lt;br&amp;gt;/dev/video1 (0) assigns composit input 0 to the second device etc...&lt;br /&gt;
More information can be obtained at [http://www.linuxtv.org/wiki/index.php/Kodicom_4400R linuxtv.org]&lt;br /&gt;
More notes from the forum [[General_Notes#Kodicom_Capture_Cards]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Add a single card==&lt;br /&gt;
modprobe bttv gbuffers=16 card=133,132,133,133&amp;lt;br&amp;gt;&lt;br /&gt;
or &amp;lt;br&amp;gt;&lt;br /&gt;
edit your modprobe.conf to include &amp;lt;br&amp;gt;&lt;br /&gt;
options bttv  gbuffers=16 card=133,132,133,133&amp;lt;br&amp;gt;&lt;br /&gt;
requires a 2.6.12 kernel but fully supported in a 2.6.13&amp;lt;br&amp;gt;&lt;br /&gt;
I tried and failed on the 2.6.12 but succeeded on the 2.6.13&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When using all 16 channels plug the additional BNC&amp;#039;s onto the headers bearing in mind the first 4 are on the card.&lt;br /&gt;
but the order of the channels is&lt;br /&gt;
1,2,3,4,9,8,5,4,13,12,11,10,15,14,7,6&lt;br /&gt;
&lt;br /&gt;
*James Wilson&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Two Cards in a single box ****==&lt;br /&gt;
Two 4400r cards - labeled as se-120 (4 8778 chips/card). In an IBM 342 Server. FC4&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is setup with :&amp;lt;br&amp;gt;&lt;br /&gt;
/dev/video0 channel 0&amp;lt;br&amp;gt;&lt;br /&gt;
/dev/video1 channel 1&amp;lt;br&amp;gt;&lt;br /&gt;
/dev/video2 channel 2&amp;lt;br&amp;gt;&lt;br /&gt;
/dev/video3 channel 3&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/dev/video4 channel 0&amp;lt;br&amp;gt;&lt;br /&gt;
/dev/video5 channel 1&amp;lt;br&amp;gt;&lt;br /&gt;
/dev/video6 channel 2&amp;lt;br&amp;gt;&lt;br /&gt;
/dev/video7 channel 3&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#modprobe.conf&amp;lt;br&amp;gt;&lt;br /&gt;
alias char-major-81 bttv&amp;lt;br&amp;gt;&lt;br /&gt;
options bttv gbuffers=32 card=0x85,0x84,0x85,0x85,0x85,0x84,0x85,0x85 tuner=4&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gianrubio</name></author>
	</entry>
</feed>