<?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=Bs27975</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=Bs27975"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Bs27975"/>
	<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=Trendnet&amp;diff=5772</id>
		<title>Trendnet</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5772"/>
		<updated>2013-07-06T03:29:27Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TV-IP100 =&lt;br /&gt;
Trendnet  TV-IP100  works ok.&lt;br /&gt;
http://x.x.x.x/video.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP100W-N =&lt;br /&gt;
great little wireless camera with digital zoom&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=TV-IP110 &amp;amp; TV-IP110W=&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@x.x.x.x&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 640&lt;br /&gt;
 Capture Height: 480&lt;br /&gt;
&lt;br /&gt;
The capture height and width can be changed using the camera&amp;#039;s web interface by modifying the &amp;quot;Video Quality&amp;quot; setting.  &lt;br /&gt;
 VGA = 640 x 480&lt;br /&gt;
 QVGA = 320 x 240&lt;br /&gt;
 QQVGA = 160 x 120&lt;br /&gt;
&lt;br /&gt;
= TV-IP201P and TV-IP201W =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass and 192.168.0.30 is the default IP)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /goform/capture&lt;br /&gt;
&lt;br /&gt;
= TV-IP252P =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: cgi/mjpg/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP300 =&lt;br /&gt;
Just remember to turn 1.0 in ZM_HTTP_VERSION in the Options &amp;gt; Network tab. In the x.x.x.x/cgi-bin/video.jpg gives 352 x 240 jpg. &lt;br /&gt;
&lt;br /&gt;
= TV-IP301 =&lt;br /&gt;
This camera sends the wrong mime/type and is not compatible with ZoneMinder natively but can be made to work.&lt;br /&gt;
&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=7320&lt;br /&gt;
&lt;br /&gt;
= TV-IP400 / TV-IP400W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
New Driver and instructions for ZM 1.23.x : &lt;br /&gt;
http://www.sfpeter.com/2008/07/31/new-trendnet-tv-ip400w-controller-for-zoneminder-123x/&lt;br /&gt;
&lt;br /&gt;
Older Driver and instructions for 1.22.x: &lt;br /&gt;
http://www.sfpeter.com/2007/08/14/controlling-the-trendnet-tv-ip400w-camera-with-zoneminder/&lt;br /&gt;
The above link is missing the &amp;quot;Move&amp;quot; tab when creating the control.  You need to select &amp;quot;Can Move&amp;quot;, &amp;quot;Can Move Diagonally&amp;quot; and &amp;quot;Can Move Relative&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= TV-IP410 and TV-IP410W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
Look at http://www.dubuque.k12.ia.us/it/zoneminder.html&lt;br /&gt;
&lt;br /&gt;
Remote Host Path: /cgi/jpg/image.cgi --&amp;gt; is not very fast...&lt;br /&gt;
&lt;br /&gt;
Better use /cgi/mjpg/mjpg.cgi --&amp;gt; 20 Frames/s much more fun ;)&lt;br /&gt;
&lt;br /&gt;
= TV-IP422 =&lt;br /&gt;
&lt;br /&gt;
[http://trendnet.com/products/proddetail.asp?prod=150_TV-IP422&amp;amp;cat=152 TRENDnet TV-IP422]&lt;br /&gt;
&lt;br /&gt;
Info from [http://thierry-jaouen.fr/dokuwiki/doku.php?id=serveur_zoneminder#tv-ip422 thierry-jaouen.fr] (in French)&lt;br /&gt;
&lt;br /&gt;
JPEG stills streaming seems to be very slow.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;General&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Tab/Label&lt;br /&gt;
! MJPEG Stream&lt;br /&gt;
! JPEG Stills&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; | &amp;#039;&amp;#039;&amp;#039;Source&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Name&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | [&amp;lt;USER&amp;gt;:&amp;lt;PASS&amp;gt;@]&amp;#039;&amp;#039;&amp;#039;&amp;lt;CAM IP/HOSTNAME&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Port&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | 80&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Path&lt;br /&gt;
| /cgi/mjpg/mjpg.cgi&amp;lt;br&amp;gt;(not &amp;quot;/mjpeg.cgi&amp;quot; because of its broken MIME type)&lt;br /&gt;
| /cgi/jpg/image.cgi&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= TV-IP501P =&lt;br /&gt;
This camera works just like the IP400 without the PTZ contols.&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
= TV-IP501W =&lt;br /&gt;
&lt;br /&gt;
the Trendnet IP501W works.  Here are the settings&lt;br /&gt;
&lt;br /&gt;
Source Type: Remote&lt;br /&gt;
&lt;br /&gt;
Remote Protocol: HTTP&lt;br /&gt;
&lt;br /&gt;
Remote Method: Simple&lt;br /&gt;
&lt;br /&gt;
Remote Host Name:  username:password@IP-address&lt;br /&gt;
&lt;br /&gt;
Remote Host Port: 80&lt;br /&gt;
&lt;br /&gt;
Remote Path: /video.cgi&lt;br /&gt;
&lt;br /&gt;
=TV-IP512P=&lt;br /&gt;
&lt;br /&gt;
[[Image:TV-IP512P.jpg]]&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
 RTSP&lt;br /&gt;
 Source Type: ffmpeg&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp (or play2.sdp)&lt;br /&gt;
&lt;br /&gt;
ZoneMinder 1.24.2 (Haven&amp;#039;t tried earlier versions) &lt;br /&gt;
&lt;br /&gt;
RTSP works with ffmpeg as above pulling 30fps when camera set to 30fps for that Profile.&lt;br /&gt;
&lt;br /&gt;
Alternatively, the monitor can be configured:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: RTSP&lt;br /&gt;
 Remote Method: RTP/Unicast&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 554&lt;br /&gt;
 Remote Host Path: /play1.sdp&lt;br /&gt;
&lt;br /&gt;
When using the above ffmpeg RTSP and camera is set to Night Mode using the 30fps setting fps drop to 15fps in the dark as per the warning that this may happen at low light levels.&lt;br /&gt;
&lt;br /&gt;
=TV-IP512WN=&lt;br /&gt;
The TV-IP512WN is pretty much the same device as TV-IP512P. It features an additional WLAN interface and can be used with the same settings as the [[Trendnet#TV-IP512P|TV-IP512P]].&lt;br /&gt;
&lt;br /&gt;
=TV-IP522P=&lt;br /&gt;
Warning: even though this is a &amp;#039;MegaPixel&amp;#039; camera, it has a very wide-angle lens so the image detail isn&amp;#039;t very high. Furthermore, replacement 1/2&amp;quot; lenses seem to be hard to find.&lt;br /&gt;
&lt;br /&gt;
ZM configuration is similar to TV-IP512P (above) except the 522 has multiple video profiles, which should be specified as&lt;br /&gt;
&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi?profileid=1&lt;br /&gt;
&lt;br /&gt;
(1, 2, or 3, depending on the desired profile)&lt;br /&gt;
&lt;br /&gt;
Also be sure to set  Capture Width and Capture Height appropriately.&lt;br /&gt;
&lt;br /&gt;
MPEG and RTSP were not tested but the camera does support them.&lt;br /&gt;
&lt;br /&gt;
=TV-IP551WI=&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
=TV-IP572PI=&lt;br /&gt;
The TV-IP572PI is a wired network only indoor camera that supports Power over Ethernet (PoE) and night viewing mode (to 7.5 meters) with 4 IR LED&amp;#039;s. (The TV-IP572P does not have the night viewing mode, but is otherwise identical).&lt;br /&gt;
&lt;br /&gt;
It supports 5fps 1280x800 simple HTTP image capture using:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi OR /video/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
It supports higher framerate H.264 capture via RTSP using Ffmpeg:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Ffmpeg&lt;br /&gt;
 Maximum FPS: empty&lt;br /&gt;
 Alarm Maximum FPS: empty&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp&lt;br /&gt;
 Capture width (pixels): 1280&lt;br /&gt;
 Capture height (pixels): 720&lt;br /&gt;
&lt;br /&gt;
You must leave the FPS limits off when using H.264 capture.  Note that play1.sdp (as well as play2.sdp, and play3.sdp) are user-configurable on the web interface of the camera.  1280x800 video at 30 frames per second can overload a simple Zoneminder server, especially if you have multiple cameras.  Loads of 0.9 have been observed on an older NetBurst-based 3.4GHz Xeon using the factory defaults on the camera.  Rather than ratchet down the FPS on Zoneminder&amp;#039;s end (which causes weird issues when capturing H.264) you should do so at the camera.  A more reasonable load of 0.3 has been observed on the aforementioned Xeon with play1.sdp configured as follows: H.264, 1280x800, 10FPS, CBR, 2 Mbps.  Of course, your mileage may vary. You can also reduce the resolution with the camera&amp;#039;s settings if you&amp;#039;re after a higher frame rate - be sure to match the resolution on Zoneminder&amp;#039;s end.&lt;br /&gt;
&lt;br /&gt;
=TV-IP322P=&lt;br /&gt;
[[File:tvip322p.jpg]]&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@&amp;lt;local ip/domain name&amp;gt;&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 1280&lt;br /&gt;
 Capture Height: 1024&lt;br /&gt;
This is the config that worked for me hope it helps.&lt;br /&gt;
&lt;br /&gt;
=TV-IP751WIC=&lt;br /&gt;
(Copied from TV-IP551WC and updated.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://www.trendnet.com/products/proddetail.asp?prod=225_TV-IP751WIC&amp;amp;cat=179&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 &amp;lt;strike&amp;gt;Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&amp;lt;/strike&amp;gt;&lt;br /&gt;
 Remote Host Name: &amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
- tested on zm v1.25.0, Kubuntu 12.04LTS&amp;lt;br&amp;gt;&lt;br /&gt;
- user:pass not working within zm, but does from browser.&amp;lt;br&amp;gt;&lt;br /&gt;
- works fine with authentication turned off.&amp;lt;br&amp;gt;&lt;br /&gt;
- http://www.lavrsen.dk/foswiki/bin/view/Motion/TrendNet seems to indicate that authentication is not going to work. (At least in Motion, but if not in Motion I assume likely not in zm, either.)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Cameras]]&lt;br /&gt;
[[Category:Network Cameras]]&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5771</id>
		<title>Trendnet</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5771"/>
		<updated>2013-07-06T03:27:43Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TV-IP100 =&lt;br /&gt;
Trendnet  TV-IP100  works ok.&lt;br /&gt;
http://x.x.x.x/video.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP100W-N =&lt;br /&gt;
great little wireless camera with digital zoom&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=TV-IP110 &amp;amp; TV-IP110W=&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@x.x.x.x&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 640&lt;br /&gt;
 Capture Height: 480&lt;br /&gt;
&lt;br /&gt;
The capture height and width can be changed using the camera&amp;#039;s web interface by modifying the &amp;quot;Video Quality&amp;quot; setting.  &lt;br /&gt;
 VGA = 640 x 480&lt;br /&gt;
 QVGA = 320 x 240&lt;br /&gt;
 QQVGA = 160 x 120&lt;br /&gt;
&lt;br /&gt;
= TV-IP201P and TV-IP201W =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass and 192.168.0.30 is the default IP)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /goform/capture&lt;br /&gt;
&lt;br /&gt;
= TV-IP252P =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: cgi/mjpg/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP300 =&lt;br /&gt;
Just remember to turn 1.0 in ZM_HTTP_VERSION in the Options &amp;gt; Network tab. In the x.x.x.x/cgi-bin/video.jpg gives 352 x 240 jpg. &lt;br /&gt;
&lt;br /&gt;
= TV-IP301 =&lt;br /&gt;
This camera sends the wrong mime/type and is not compatible with ZoneMinder natively but can be made to work.&lt;br /&gt;
&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=7320&lt;br /&gt;
&lt;br /&gt;
= TV-IP400 / TV-IP400W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
New Driver and instructions for ZM 1.23.x : &lt;br /&gt;
http://www.sfpeter.com/2008/07/31/new-trendnet-tv-ip400w-controller-for-zoneminder-123x/&lt;br /&gt;
&lt;br /&gt;
Older Driver and instructions for 1.22.x: &lt;br /&gt;
http://www.sfpeter.com/2007/08/14/controlling-the-trendnet-tv-ip400w-camera-with-zoneminder/&lt;br /&gt;
The above link is missing the &amp;quot;Move&amp;quot; tab when creating the control.  You need to select &amp;quot;Can Move&amp;quot;, &amp;quot;Can Move Diagonally&amp;quot; and &amp;quot;Can Move Relative&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= TV-IP410 and TV-IP410W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
Look at http://www.dubuque.k12.ia.us/it/zoneminder.html&lt;br /&gt;
&lt;br /&gt;
Remote Host Path: /cgi/jpg/image.cgi --&amp;gt; is not very fast...&lt;br /&gt;
&lt;br /&gt;
Better use /cgi/mjpg/mjpg.cgi --&amp;gt; 20 Frames/s much more fun ;)&lt;br /&gt;
&lt;br /&gt;
= TV-IP422 =&lt;br /&gt;
&lt;br /&gt;
[http://trendnet.com/products/proddetail.asp?prod=150_TV-IP422&amp;amp;cat=152 TRENDnet TV-IP422]&lt;br /&gt;
&lt;br /&gt;
Info from [http://thierry-jaouen.fr/dokuwiki/doku.php?id=serveur_zoneminder#tv-ip422 thierry-jaouen.fr] (in French)&lt;br /&gt;
&lt;br /&gt;
JPEG stills streaming seems to be very slow.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;General&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Tab/Label&lt;br /&gt;
! MJPEG Stream&lt;br /&gt;
! JPEG Stills&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; | &amp;#039;&amp;#039;&amp;#039;Source&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Name&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | [&amp;lt;USER&amp;gt;:&amp;lt;PASS&amp;gt;@]&amp;#039;&amp;#039;&amp;#039;&amp;lt;CAM IP/HOSTNAME&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Port&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | 80&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Path&lt;br /&gt;
| /cgi/mjpg/mjpg.cgi&amp;lt;br&amp;gt;(not &amp;quot;/mjpeg.cgi&amp;quot; because of its broken MIME type)&lt;br /&gt;
| /cgi/jpg/image.cgi&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= TV-IP501P =&lt;br /&gt;
This camera works just like the IP400 without the PTZ contols.&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
= TV-IP501W =&lt;br /&gt;
&lt;br /&gt;
the Trendnet IP501W works.  Here are the settings&lt;br /&gt;
&lt;br /&gt;
Source Type: Remote&lt;br /&gt;
&lt;br /&gt;
Remote Protocol: HTTP&lt;br /&gt;
&lt;br /&gt;
Remote Method: Simple&lt;br /&gt;
&lt;br /&gt;
Remote Host Name:  username:password@IP-address&lt;br /&gt;
&lt;br /&gt;
Remote Host Port: 80&lt;br /&gt;
&lt;br /&gt;
Remote Path: /video.cgi&lt;br /&gt;
&lt;br /&gt;
=TV-IP512P=&lt;br /&gt;
&lt;br /&gt;
[[Image:TV-IP512P.jpg]]&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
 RTSP&lt;br /&gt;
 Source Type: ffmpeg&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp (or play2.sdp)&lt;br /&gt;
&lt;br /&gt;
ZoneMinder 1.24.2 (Haven&amp;#039;t tried earlier versions) &lt;br /&gt;
&lt;br /&gt;
RTSP works with ffmpeg as above pulling 30fps when camera set to 30fps for that Profile.&lt;br /&gt;
&lt;br /&gt;
Alternatively, the monitor can be configured:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: RTSP&lt;br /&gt;
 Remote Method: RTP/Unicast&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 554&lt;br /&gt;
 Remote Host Path: /play1.sdp&lt;br /&gt;
&lt;br /&gt;
When using the above ffmpeg RTSP and camera is set to Night Mode using the 30fps setting fps drop to 15fps in the dark as per the warning that this may happen at low light levels.&lt;br /&gt;
&lt;br /&gt;
=TV-IP512WN=&lt;br /&gt;
The TV-IP512WN is pretty much the same device as TV-IP512P. It features an additional WLAN interface and can be used with the same settings as the [[Trendnet#TV-IP512P|TV-IP512P]].&lt;br /&gt;
&lt;br /&gt;
=TV-IP522P=&lt;br /&gt;
Warning: even though this is a &amp;#039;MegaPixel&amp;#039; camera, it has a very wide-angle lens so the image detail isn&amp;#039;t very high. Furthermore, replacement 1/2&amp;quot; lenses seem to be hard to find.&lt;br /&gt;
&lt;br /&gt;
ZM configuration is similar to TV-IP512P (above) except the 522 has multiple video profiles, which should be specified as&lt;br /&gt;
&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi?profileid=1&lt;br /&gt;
&lt;br /&gt;
(1, 2, or 3, depending on the desired profile)&lt;br /&gt;
&lt;br /&gt;
Also be sure to set  Capture Width and Capture Height appropriately.&lt;br /&gt;
&lt;br /&gt;
MPEG and RTSP were not tested but the camera does support them.&lt;br /&gt;
&lt;br /&gt;
=TV-IP551WI=&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
=TV-IP572PI=&lt;br /&gt;
The TV-IP572PI is a wired network only indoor camera that supports Power over Ethernet (PoE) and night viewing mode (to 7.5 meters) with 4 IR LED&amp;#039;s. (The TV-IP572P does not have the night viewing mode, but is otherwise identical).&lt;br /&gt;
&lt;br /&gt;
It supports 5fps 1280x800 simple HTTP image capture using:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi OR /video/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
It supports higher framerate H.264 capture via RTSP using Ffmpeg:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Ffmpeg&lt;br /&gt;
 Maximum FPS: empty&lt;br /&gt;
 Alarm Maximum FPS: empty&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp&lt;br /&gt;
 Capture width (pixels): 1280&lt;br /&gt;
 Capture height (pixels): 720&lt;br /&gt;
&lt;br /&gt;
You must leave the FPS limits off when using H.264 capture.  Note that play1.sdp (as well as play2.sdp, and play3.sdp) are user-configurable on the web interface of the camera.  1280x800 video at 30 frames per second can overload a simple Zoneminder server, especially if you have multiple cameras.  Loads of 0.9 have been observed on an older NetBurst-based 3.4GHz Xeon using the factory defaults on the camera.  Rather than ratchet down the FPS on Zoneminder&amp;#039;s end (which causes weird issues when capturing H.264) you should do so at the camera.  A more reasonable load of 0.3 has been observed on the aforementioned Xeon with play1.sdp configured as follows: H.264, 1280x800, 10FPS, CBR, 2 Mbps.  Of course, your mileage may vary. You can also reduce the resolution with the camera&amp;#039;s settings if you&amp;#039;re after a higher frame rate - be sure to match the resolution on Zoneminder&amp;#039;s end.&lt;br /&gt;
&lt;br /&gt;
=TV-IP322P=&lt;br /&gt;
[[File:tvip322p.jpg]]&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@&amp;lt;local ip/domain name&amp;gt;&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 1280&lt;br /&gt;
 Capture Height: 1024&lt;br /&gt;
This is the config that worked for me hope it helps.&lt;br /&gt;
&lt;br /&gt;
=TV-IP751WIC=&lt;br /&gt;
(copied from TV-IP551WC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://www.trendnet.com/products/proddetail.asp?prod=225_TV-IP751WIC&amp;amp;cat=179&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 &amp;lt;strike&amp;gt;Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&amp;lt;/strike&amp;gt;&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
- tested on zm v1.25.0, Kubuntu 12.04LTS&amp;lt;br&amp;gt;&lt;br /&gt;
- user:pass not working within zm, but does from browser.&amp;lt;br&amp;gt;&lt;br /&gt;
- works fine with authentication turned off.&amp;lt;br&amp;gt;&lt;br /&gt;
- http://www.lavrsen.dk/foswiki/bin/view/Motion/TrendNet seems to indicate that authentication is not going to work. (At least in Motion, but if not in Motion, I assume likely not in zm, either.)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Cameras]]&lt;br /&gt;
[[Category:Network Cameras]]&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5770</id>
		<title>Trendnet</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5770"/>
		<updated>2013-07-06T03:26:18Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TV-IP100 =&lt;br /&gt;
Trendnet  TV-IP100  works ok.&lt;br /&gt;
http://x.x.x.x/video.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP100W-N =&lt;br /&gt;
great little wireless camera with digital zoom&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=TV-IP110 &amp;amp; TV-IP110W=&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@x.x.x.x&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 640&lt;br /&gt;
 Capture Height: 480&lt;br /&gt;
&lt;br /&gt;
The capture height and width can be changed using the camera&amp;#039;s web interface by modifying the &amp;quot;Video Quality&amp;quot; setting.  &lt;br /&gt;
 VGA = 640 x 480&lt;br /&gt;
 QVGA = 320 x 240&lt;br /&gt;
 QQVGA = 160 x 120&lt;br /&gt;
&lt;br /&gt;
= TV-IP201P and TV-IP201W =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass and 192.168.0.30 is the default IP)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /goform/capture&lt;br /&gt;
&lt;br /&gt;
= TV-IP252P =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: cgi/mjpg/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP300 =&lt;br /&gt;
Just remember to turn 1.0 in ZM_HTTP_VERSION in the Options &amp;gt; Network tab. In the x.x.x.x/cgi-bin/video.jpg gives 352 x 240 jpg. &lt;br /&gt;
&lt;br /&gt;
= TV-IP301 =&lt;br /&gt;
This camera sends the wrong mime/type and is not compatible with ZoneMinder natively but can be made to work.&lt;br /&gt;
&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=7320&lt;br /&gt;
&lt;br /&gt;
= TV-IP400 / TV-IP400W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
New Driver and instructions for ZM 1.23.x : &lt;br /&gt;
http://www.sfpeter.com/2008/07/31/new-trendnet-tv-ip400w-controller-for-zoneminder-123x/&lt;br /&gt;
&lt;br /&gt;
Older Driver and instructions for 1.22.x: &lt;br /&gt;
http://www.sfpeter.com/2007/08/14/controlling-the-trendnet-tv-ip400w-camera-with-zoneminder/&lt;br /&gt;
The above link is missing the &amp;quot;Move&amp;quot; tab when creating the control.  You need to select &amp;quot;Can Move&amp;quot;, &amp;quot;Can Move Diagonally&amp;quot; and &amp;quot;Can Move Relative&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= TV-IP410 and TV-IP410W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
Look at http://www.dubuque.k12.ia.us/it/zoneminder.html&lt;br /&gt;
&lt;br /&gt;
Remote Host Path: /cgi/jpg/image.cgi --&amp;gt; is not very fast...&lt;br /&gt;
&lt;br /&gt;
Better use /cgi/mjpg/mjpg.cgi --&amp;gt; 20 Frames/s much more fun ;)&lt;br /&gt;
&lt;br /&gt;
= TV-IP422 =&lt;br /&gt;
&lt;br /&gt;
[http://trendnet.com/products/proddetail.asp?prod=150_TV-IP422&amp;amp;cat=152 TRENDnet TV-IP422]&lt;br /&gt;
&lt;br /&gt;
Info from [http://thierry-jaouen.fr/dokuwiki/doku.php?id=serveur_zoneminder#tv-ip422 thierry-jaouen.fr] (in French)&lt;br /&gt;
&lt;br /&gt;
JPEG stills streaming seems to be very slow.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;General&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Tab/Label&lt;br /&gt;
! MJPEG Stream&lt;br /&gt;
! JPEG Stills&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; | &amp;#039;&amp;#039;&amp;#039;Source&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Name&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | [&amp;lt;USER&amp;gt;:&amp;lt;PASS&amp;gt;@]&amp;#039;&amp;#039;&amp;#039;&amp;lt;CAM IP/HOSTNAME&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Port&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | 80&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Path&lt;br /&gt;
| /cgi/mjpg/mjpg.cgi&amp;lt;br&amp;gt;(not &amp;quot;/mjpeg.cgi&amp;quot; because of its broken MIME type)&lt;br /&gt;
| /cgi/jpg/image.cgi&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= TV-IP501P =&lt;br /&gt;
This camera works just like the IP400 without the PTZ contols.&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
= TV-IP501W =&lt;br /&gt;
&lt;br /&gt;
the Trendnet IP501W works.  Here are the settings&lt;br /&gt;
&lt;br /&gt;
Source Type: Remote&lt;br /&gt;
&lt;br /&gt;
Remote Protocol: HTTP&lt;br /&gt;
&lt;br /&gt;
Remote Method: Simple&lt;br /&gt;
&lt;br /&gt;
Remote Host Name:  username:password@IP-address&lt;br /&gt;
&lt;br /&gt;
Remote Host Port: 80&lt;br /&gt;
&lt;br /&gt;
Remote Path: /video.cgi&lt;br /&gt;
&lt;br /&gt;
=TV-IP512P=&lt;br /&gt;
&lt;br /&gt;
[[Image:TV-IP512P.jpg]]&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
 RTSP&lt;br /&gt;
 Source Type: ffmpeg&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp (or play2.sdp)&lt;br /&gt;
&lt;br /&gt;
ZoneMinder 1.24.2 (Haven&amp;#039;t tried earlier versions) &lt;br /&gt;
&lt;br /&gt;
RTSP works with ffmpeg as above pulling 30fps when camera set to 30fps for that Profile.&lt;br /&gt;
&lt;br /&gt;
Alternatively, the monitor can be configured:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: RTSP&lt;br /&gt;
 Remote Method: RTP/Unicast&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 554&lt;br /&gt;
 Remote Host Path: /play1.sdp&lt;br /&gt;
&lt;br /&gt;
When using the above ffmpeg RTSP and camera is set to Night Mode using the 30fps setting fps drop to 15fps in the dark as per the warning that this may happen at low light levels.&lt;br /&gt;
&lt;br /&gt;
=TV-IP512WN=&lt;br /&gt;
The TV-IP512WN is pretty much the same device as TV-IP512P. It features an additional WLAN interface and can be used with the same settings as the [[Trendnet#TV-IP512P|TV-IP512P]].&lt;br /&gt;
&lt;br /&gt;
=TV-IP522P=&lt;br /&gt;
Warning: even though this is a &amp;#039;MegaPixel&amp;#039; camera, it has a very wide-angle lens so the image detail isn&amp;#039;t very high. Furthermore, replacement 1/2&amp;quot; lenses seem to be hard to find.&lt;br /&gt;
&lt;br /&gt;
ZM configuration is similar to TV-IP512P (above) except the 522 has multiple video profiles, which should be specified as&lt;br /&gt;
&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi?profileid=1&lt;br /&gt;
&lt;br /&gt;
(1, 2, or 3, depending on the desired profile)&lt;br /&gt;
&lt;br /&gt;
Also be sure to set  Capture Width and Capture Height appropriately.&lt;br /&gt;
&lt;br /&gt;
MPEG and RTSP were not tested but the camera does support them.&lt;br /&gt;
&lt;br /&gt;
=TV-IP551WI=&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
=TV-IP572PI=&lt;br /&gt;
The TV-IP572PI is a wired network only indoor camera that supports Power over Ethernet (PoE) and night viewing mode (to 7.5 meters) with 4 IR LED&amp;#039;s. (The TV-IP572P does not have the night viewing mode, but is otherwise identical).&lt;br /&gt;
&lt;br /&gt;
It supports 5fps 1280x800 simple HTTP image capture using:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi OR /video/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
It supports higher framerate H.264 capture via RTSP using Ffmpeg:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Ffmpeg&lt;br /&gt;
 Maximum FPS: empty&lt;br /&gt;
 Alarm Maximum FPS: empty&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp&lt;br /&gt;
 Capture width (pixels): 1280&lt;br /&gt;
 Capture height (pixels): 720&lt;br /&gt;
&lt;br /&gt;
You must leave the FPS limits off when using H.264 capture.  Note that play1.sdp (as well as play2.sdp, and play3.sdp) are user-configurable on the web interface of the camera.  1280x800 video at 30 frames per second can overload a simple Zoneminder server, especially if you have multiple cameras.  Loads of 0.9 have been observed on an older NetBurst-based 3.4GHz Xeon using the factory defaults on the camera.  Rather than ratchet down the FPS on Zoneminder&amp;#039;s end (which causes weird issues when capturing H.264) you should do so at the camera.  A more reasonable load of 0.3 has been observed on the aforementioned Xeon with play1.sdp configured as follows: H.264, 1280x800, 10FPS, CBR, 2 Mbps.  Of course, your mileage may vary. You can also reduce the resolution with the camera&amp;#039;s settings if you&amp;#039;re after a higher frame rate - be sure to match the resolution on Zoneminder&amp;#039;s end.&lt;br /&gt;
&lt;br /&gt;
=TV-IP322P=&lt;br /&gt;
[[File:tvip322p.jpg]]&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@&amp;lt;local ip/domain name&amp;gt;&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 1280&lt;br /&gt;
 Capture Height: 1024&lt;br /&gt;
This is the config that worked for me hope it helps.&lt;br /&gt;
&lt;br /&gt;
=TV-IP751WIC=&lt;br /&gt;
(copied from TV-IP551WC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://www.trendnet.com/products/proddetail.asp?prod=225_TV-IP751WIC&amp;amp;cat=179&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 &amp;lt;strike&amp;gt;Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&amp;lt;/strike&amp;gt;&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
- tested on zm v1.25.0, Kubuntu 12.04LTS&amp;lt;br&amp;gt;&lt;br /&gt;
- user:pass not working within zm, but does from browser.&amp;lt;br&amp;lt;&lt;br /&gt;
- works fine with authentication turned off.&amp;lt;br&amp;gt;&lt;br /&gt;
- http://www.lavrsen.dk/foswiki/bin/view/Motion/TrendNet seems to indicate that authentication is not going to work.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Cameras]]&lt;br /&gt;
[[Category:Network Cameras]]&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5769</id>
		<title>Trendnet</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5769"/>
		<updated>2013-07-06T02:42:33Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TV-IP100 =&lt;br /&gt;
Trendnet  TV-IP100  works ok.&lt;br /&gt;
http://x.x.x.x/video.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP100W-N =&lt;br /&gt;
great little wireless camera with digital zoom&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=TV-IP110 &amp;amp; TV-IP110W=&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@x.x.x.x&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 640&lt;br /&gt;
 Capture Height: 480&lt;br /&gt;
&lt;br /&gt;
The capture height and width can be changed using the camera&amp;#039;s web interface by modifying the &amp;quot;Video Quality&amp;quot; setting.  &lt;br /&gt;
 VGA = 640 x 480&lt;br /&gt;
 QVGA = 320 x 240&lt;br /&gt;
 QQVGA = 160 x 120&lt;br /&gt;
&lt;br /&gt;
= TV-IP201P and TV-IP201W =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass and 192.168.0.30 is the default IP)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /goform/capture&lt;br /&gt;
&lt;br /&gt;
= TV-IP252P =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: cgi/mjpg/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP300 =&lt;br /&gt;
Just remember to turn 1.0 in ZM_HTTP_VERSION in the Options &amp;gt; Network tab. In the x.x.x.x/cgi-bin/video.jpg gives 352 x 240 jpg. &lt;br /&gt;
&lt;br /&gt;
= TV-IP301 =&lt;br /&gt;
This camera sends the wrong mime/type and is not compatible with ZoneMinder natively but can be made to work.&lt;br /&gt;
&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=7320&lt;br /&gt;
&lt;br /&gt;
= TV-IP400 / TV-IP400W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
New Driver and instructions for ZM 1.23.x : &lt;br /&gt;
http://www.sfpeter.com/2008/07/31/new-trendnet-tv-ip400w-controller-for-zoneminder-123x/&lt;br /&gt;
&lt;br /&gt;
Older Driver and instructions for 1.22.x: &lt;br /&gt;
http://www.sfpeter.com/2007/08/14/controlling-the-trendnet-tv-ip400w-camera-with-zoneminder/&lt;br /&gt;
The above link is missing the &amp;quot;Move&amp;quot; tab when creating the control.  You need to select &amp;quot;Can Move&amp;quot;, &amp;quot;Can Move Diagonally&amp;quot; and &amp;quot;Can Move Relative&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= TV-IP410 and TV-IP410W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
Look at http://www.dubuque.k12.ia.us/it/zoneminder.html&lt;br /&gt;
&lt;br /&gt;
Remote Host Path: /cgi/jpg/image.cgi --&amp;gt; is not very fast...&lt;br /&gt;
&lt;br /&gt;
Better use /cgi/mjpg/mjpg.cgi --&amp;gt; 20 Frames/s much more fun ;)&lt;br /&gt;
&lt;br /&gt;
= TV-IP422 =&lt;br /&gt;
&lt;br /&gt;
[http://trendnet.com/products/proddetail.asp?prod=150_TV-IP422&amp;amp;cat=152 TRENDnet TV-IP422]&lt;br /&gt;
&lt;br /&gt;
Info from [http://thierry-jaouen.fr/dokuwiki/doku.php?id=serveur_zoneminder#tv-ip422 thierry-jaouen.fr] (in French)&lt;br /&gt;
&lt;br /&gt;
JPEG stills streaming seems to be very slow.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;General&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Tab/Label&lt;br /&gt;
! MJPEG Stream&lt;br /&gt;
! JPEG Stills&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; | &amp;#039;&amp;#039;&amp;#039;Source&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Name&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | [&amp;lt;USER&amp;gt;:&amp;lt;PASS&amp;gt;@]&amp;#039;&amp;#039;&amp;#039;&amp;lt;CAM IP/HOSTNAME&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Port&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | 80&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Path&lt;br /&gt;
| /cgi/mjpg/mjpg.cgi&amp;lt;br&amp;gt;(not &amp;quot;/mjpeg.cgi&amp;quot; because of its broken MIME type)&lt;br /&gt;
| /cgi/jpg/image.cgi&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= TV-IP501P =&lt;br /&gt;
This camera works just like the IP400 without the PTZ contols.&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
= TV-IP501W =&lt;br /&gt;
&lt;br /&gt;
the Trendnet IP501W works.  Here are the settings&lt;br /&gt;
&lt;br /&gt;
Source Type: Remote&lt;br /&gt;
&lt;br /&gt;
Remote Protocol: HTTP&lt;br /&gt;
&lt;br /&gt;
Remote Method: Simple&lt;br /&gt;
&lt;br /&gt;
Remote Host Name:  username:password@IP-address&lt;br /&gt;
&lt;br /&gt;
Remote Host Port: 80&lt;br /&gt;
&lt;br /&gt;
Remote Path: /video.cgi&lt;br /&gt;
&lt;br /&gt;
=TV-IP512P=&lt;br /&gt;
&lt;br /&gt;
[[Image:TV-IP512P.jpg]]&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
 RTSP&lt;br /&gt;
 Source Type: ffmpeg&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp (or play2.sdp)&lt;br /&gt;
&lt;br /&gt;
ZoneMinder 1.24.2 (Haven&amp;#039;t tried earlier versions) &lt;br /&gt;
&lt;br /&gt;
RTSP works with ffmpeg as above pulling 30fps when camera set to 30fps for that Profile.&lt;br /&gt;
&lt;br /&gt;
Alternatively, the monitor can be configured:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: RTSP&lt;br /&gt;
 Remote Method: RTP/Unicast&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 554&lt;br /&gt;
 Remote Host Path: /play1.sdp&lt;br /&gt;
&lt;br /&gt;
When using the above ffmpeg RTSP and camera is set to Night Mode using the 30fps setting fps drop to 15fps in the dark as per the warning that this may happen at low light levels.&lt;br /&gt;
&lt;br /&gt;
=TV-IP512WN=&lt;br /&gt;
The TV-IP512WN is pretty much the same device as TV-IP512P. It features an additional WLAN interface and can be used with the same settings as the [[Trendnet#TV-IP512P|TV-IP512P]].&lt;br /&gt;
&lt;br /&gt;
=TV-IP522P=&lt;br /&gt;
Warning: even though this is a &amp;#039;MegaPixel&amp;#039; camera, it has a very wide-angle lens so the image detail isn&amp;#039;t very high. Furthermore, replacement 1/2&amp;quot; lenses seem to be hard to find.&lt;br /&gt;
&lt;br /&gt;
ZM configuration is similar to TV-IP512P (above) except the 522 has multiple video profiles, which should be specified as&lt;br /&gt;
&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi?profileid=1&lt;br /&gt;
&lt;br /&gt;
(1, 2, or 3, depending on the desired profile)&lt;br /&gt;
&lt;br /&gt;
Also be sure to set  Capture Width and Capture Height appropriately.&lt;br /&gt;
&lt;br /&gt;
MPEG and RTSP were not tested but the camera does support them.&lt;br /&gt;
&lt;br /&gt;
=TV-IP551WI=&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
=TV-IP572PI=&lt;br /&gt;
The TV-IP572PI is a wired network only indoor camera that supports Power over Ethernet (PoE) and night viewing mode (to 7.5 meters) with 4 IR LED&amp;#039;s. (The TV-IP572P does not have the night viewing mode, but is otherwise identical).&lt;br /&gt;
&lt;br /&gt;
It supports 5fps 1280x800 simple HTTP image capture using:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi OR /video/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
It supports higher framerate H.264 capture via RTSP using Ffmpeg:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Ffmpeg&lt;br /&gt;
 Maximum FPS: empty&lt;br /&gt;
 Alarm Maximum FPS: empty&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp&lt;br /&gt;
 Capture width (pixels): 1280&lt;br /&gt;
 Capture height (pixels): 720&lt;br /&gt;
&lt;br /&gt;
You must leave the FPS limits off when using H.264 capture.  Note that play1.sdp (as well as play2.sdp, and play3.sdp) are user-configurable on the web interface of the camera.  1280x800 video at 30 frames per second can overload a simple Zoneminder server, especially if you have multiple cameras.  Loads of 0.9 have been observed on an older NetBurst-based 3.4GHz Xeon using the factory defaults on the camera.  Rather than ratchet down the FPS on Zoneminder&amp;#039;s end (which causes weird issues when capturing H.264) you should do so at the camera.  A more reasonable load of 0.3 has been observed on the aforementioned Xeon with play1.sdp configured as follows: H.264, 1280x800, 10FPS, CBR, 2 Mbps.  Of course, your mileage may vary. You can also reduce the resolution with the camera&amp;#039;s settings if you&amp;#039;re after a higher frame rate - be sure to match the resolution on Zoneminder&amp;#039;s end.&lt;br /&gt;
&lt;br /&gt;
=TV-IP322P=&lt;br /&gt;
[[File:tvip322p.jpg]]&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@&amp;lt;local ip/domain name&amp;gt;&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 1280&lt;br /&gt;
 Capture Height: 1024&lt;br /&gt;
This is the config that worked for me hope it helps.&lt;br /&gt;
&lt;br /&gt;
=TV-IP751WIC=&lt;br /&gt;
(copied from TV-IP551WC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://www.trendnet.com/products/proddetail.asp?prod=225_TV-IP751WIC&amp;amp;cat=179&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
- tested on zm v1.25.0, Kubuntu 12.04LTS&amp;lt;br&amp;gt;&lt;br /&gt;
- user:pass not working within zm, but does from browser. (Investigating.)&amp;lt;br&amp;lt;&lt;br /&gt;
- works fine with authentication turned off.&lt;br /&gt;
&lt;br /&gt;
[[Category:Cameras]]&lt;br /&gt;
[[Category:Network Cameras]]&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5768</id>
		<title>Trendnet</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5768"/>
		<updated>2013-07-06T02:41:31Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TV-IP100 =&lt;br /&gt;
Trendnet  TV-IP100  works ok.&lt;br /&gt;
http://x.x.x.x/video.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP100W-N =&lt;br /&gt;
great little wireless camera with digital zoom&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=TV-IP110 &amp;amp; TV-IP110W=&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@x.x.x.x&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 640&lt;br /&gt;
 Capture Height: 480&lt;br /&gt;
&lt;br /&gt;
The capture height and width can be changed using the camera&amp;#039;s web interface by modifying the &amp;quot;Video Quality&amp;quot; setting.  &lt;br /&gt;
 VGA = 640 x 480&lt;br /&gt;
 QVGA = 320 x 240&lt;br /&gt;
 QQVGA = 160 x 120&lt;br /&gt;
&lt;br /&gt;
= TV-IP201P and TV-IP201W =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass and 192.168.0.30 is the default IP)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /goform/capture&lt;br /&gt;
&lt;br /&gt;
= TV-IP252P =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: cgi/mjpg/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP300 =&lt;br /&gt;
Just remember to turn 1.0 in ZM_HTTP_VERSION in the Options &amp;gt; Network tab. In the x.x.x.x/cgi-bin/video.jpg gives 352 x 240 jpg. &lt;br /&gt;
&lt;br /&gt;
= TV-IP301 =&lt;br /&gt;
This camera sends the wrong mime/type and is not compatible with ZoneMinder natively but can be made to work.&lt;br /&gt;
&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=7320&lt;br /&gt;
&lt;br /&gt;
= TV-IP400 / TV-IP400W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
New Driver and instructions for ZM 1.23.x : &lt;br /&gt;
http://www.sfpeter.com/2008/07/31/new-trendnet-tv-ip400w-controller-for-zoneminder-123x/&lt;br /&gt;
&lt;br /&gt;
Older Driver and instructions for 1.22.x: &lt;br /&gt;
http://www.sfpeter.com/2007/08/14/controlling-the-trendnet-tv-ip400w-camera-with-zoneminder/&lt;br /&gt;
The above link is missing the &amp;quot;Move&amp;quot; tab when creating the control.  You need to select &amp;quot;Can Move&amp;quot;, &amp;quot;Can Move Diagonally&amp;quot; and &amp;quot;Can Move Relative&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= TV-IP410 and TV-IP410W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
Look at http://www.dubuque.k12.ia.us/it/zoneminder.html&lt;br /&gt;
&lt;br /&gt;
Remote Host Path: /cgi/jpg/image.cgi --&amp;gt; is not very fast...&lt;br /&gt;
&lt;br /&gt;
Better use /cgi/mjpg/mjpg.cgi --&amp;gt; 20 Frames/s much more fun ;)&lt;br /&gt;
&lt;br /&gt;
= TV-IP422 =&lt;br /&gt;
&lt;br /&gt;
[http://trendnet.com/products/proddetail.asp?prod=150_TV-IP422&amp;amp;cat=152 TRENDnet TV-IP422]&lt;br /&gt;
&lt;br /&gt;
Info from [http://thierry-jaouen.fr/dokuwiki/doku.php?id=serveur_zoneminder#tv-ip422 thierry-jaouen.fr] (in French)&lt;br /&gt;
&lt;br /&gt;
JPEG stills streaming seems to be very slow.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;General&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Tab/Label&lt;br /&gt;
! MJPEG Stream&lt;br /&gt;
! JPEG Stills&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; | &amp;#039;&amp;#039;&amp;#039;Source&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Name&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | [&amp;lt;USER&amp;gt;:&amp;lt;PASS&amp;gt;@]&amp;#039;&amp;#039;&amp;#039;&amp;lt;CAM IP/HOSTNAME&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Port&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | 80&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Path&lt;br /&gt;
| /cgi/mjpg/mjpg.cgi&amp;lt;br&amp;gt;(not &amp;quot;/mjpeg.cgi&amp;quot; because of its broken MIME type)&lt;br /&gt;
| /cgi/jpg/image.cgi&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= TV-IP501P =&lt;br /&gt;
This camera works just like the IP400 without the PTZ contols.&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
= TV-IP501W =&lt;br /&gt;
&lt;br /&gt;
the Trendnet IP501W works.  Here are the settings&lt;br /&gt;
&lt;br /&gt;
Source Type: Remote&lt;br /&gt;
&lt;br /&gt;
Remote Protocol: HTTP&lt;br /&gt;
&lt;br /&gt;
Remote Method: Simple&lt;br /&gt;
&lt;br /&gt;
Remote Host Name:  username:password@IP-address&lt;br /&gt;
&lt;br /&gt;
Remote Host Port: 80&lt;br /&gt;
&lt;br /&gt;
Remote Path: /video.cgi&lt;br /&gt;
&lt;br /&gt;
=TV-IP512P=&lt;br /&gt;
&lt;br /&gt;
[[Image:TV-IP512P.jpg]]&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
 RTSP&lt;br /&gt;
 Source Type: ffmpeg&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp (or play2.sdp)&lt;br /&gt;
&lt;br /&gt;
ZoneMinder 1.24.2 (Haven&amp;#039;t tried earlier versions) &lt;br /&gt;
&lt;br /&gt;
RTSP works with ffmpeg as above pulling 30fps when camera set to 30fps for that Profile.&lt;br /&gt;
&lt;br /&gt;
Alternatively, the monitor can be configured:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: RTSP&lt;br /&gt;
 Remote Method: RTP/Unicast&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 554&lt;br /&gt;
 Remote Host Path: /play1.sdp&lt;br /&gt;
&lt;br /&gt;
When using the above ffmpeg RTSP and camera is set to Night Mode using the 30fps setting fps drop to 15fps in the dark as per the warning that this may happen at low light levels.&lt;br /&gt;
&lt;br /&gt;
=TV-IP512WN=&lt;br /&gt;
The TV-IP512WN is pretty much the same device as TV-IP512P. It features an additional WLAN interface and can be used with the same settings as the [[Trendnet#TV-IP512P|TV-IP512P]].&lt;br /&gt;
&lt;br /&gt;
=TV-IP522P=&lt;br /&gt;
Warning: even though this is a &amp;#039;MegaPixel&amp;#039; camera, it has a very wide-angle lens so the image detail isn&amp;#039;t very high. Furthermore, replacement 1/2&amp;quot; lenses seem to be hard to find.&lt;br /&gt;
&lt;br /&gt;
ZM configuration is similar to TV-IP512P (above) except the 522 has multiple video profiles, which should be specified as&lt;br /&gt;
&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi?profileid=1&lt;br /&gt;
&lt;br /&gt;
(1, 2, or 3, depending on the desired profile)&lt;br /&gt;
&lt;br /&gt;
Also be sure to set  Capture Width and Capture Height appropriately.&lt;br /&gt;
&lt;br /&gt;
MPEG and RTSP were not tested but the camera does support them.&lt;br /&gt;
&lt;br /&gt;
=TV-IP551WI=&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
=TV-IP572PI=&lt;br /&gt;
The TV-IP572PI is a wired network only indoor camera that supports Power over Ethernet (PoE) and night viewing mode (to 7.5 meters) with 4 IR LED&amp;#039;s. (The TV-IP572P does not have the night viewing mode, but is otherwise identical).&lt;br /&gt;
&lt;br /&gt;
It supports 5fps 1280x800 simple HTTP image capture using:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi OR /video/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
It supports higher framerate H.264 capture via RTSP using Ffmpeg:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Ffmpeg&lt;br /&gt;
 Maximum FPS: empty&lt;br /&gt;
 Alarm Maximum FPS: empty&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp&lt;br /&gt;
 Capture width (pixels): 1280&lt;br /&gt;
 Capture height (pixels): 720&lt;br /&gt;
&lt;br /&gt;
You must leave the FPS limits off when using H.264 capture.  Note that play1.sdp (as well as play2.sdp, and play3.sdp) are user-configurable on the web interface of the camera.  1280x800 video at 30 frames per second can overload a simple Zoneminder server, especially if you have multiple cameras.  Loads of 0.9 have been observed on an older NetBurst-based 3.4GHz Xeon using the factory defaults on the camera.  Rather than ratchet down the FPS on Zoneminder&amp;#039;s end (which causes weird issues when capturing H.264) you should do so at the camera.  A more reasonable load of 0.3 has been observed on the aforementioned Xeon with play1.sdp configured as follows: H.264, 1280x800, 10FPS, CBR, 2 Mbps.  Of course, your mileage may vary. You can also reduce the resolution with the camera&amp;#039;s settings if you&amp;#039;re after a higher frame rate - be sure to match the resolution on Zoneminder&amp;#039;s end.&lt;br /&gt;
&lt;br /&gt;
=TV-IP322P=&lt;br /&gt;
[[File:tvip322p.jpg]]&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@&amp;lt;local ip/domain name&amp;gt;&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 1280&lt;br /&gt;
 Capture Height: 1024&lt;br /&gt;
This is the config that worked for me hope it helps.&lt;br /&gt;
&lt;br /&gt;
=TV-IP751WIC= - http://www.trendnet.com/products/proddetail.asp?prod=225_TV-IP751WIC&amp;amp;cat=179&lt;br /&gt;
&lt;br /&gt;
(copied from TV-IP551WC)&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
- tested on zm v1.25.0, Kubuntu 12.04LTS&amp;lt;br&amp;gt;&lt;br /&gt;
- user:pass not working within zm, but does from browser. (Investigating.)&amp;lt;br&amp;lt;&lt;br /&gt;
- works fine with authentication turned off.&lt;br /&gt;
&lt;br /&gt;
[[Category:Cameras]]&lt;br /&gt;
[[Category:Network Cameras]]&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5767</id>
		<title>Trendnet</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5767"/>
		<updated>2013-07-06T02:34:54Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TV-IP100 =&lt;br /&gt;
Trendnet  TV-IP100  works ok.&lt;br /&gt;
http://x.x.x.x/video.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP100W-N =&lt;br /&gt;
great little wireless camera with digital zoom&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=TV-IP110 &amp;amp; TV-IP110W=&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@x.x.x.x&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 640&lt;br /&gt;
 Capture Height: 480&lt;br /&gt;
&lt;br /&gt;
The capture height and width can be changed using the camera&amp;#039;s web interface by modifying the &amp;quot;Video Quality&amp;quot; setting.  &lt;br /&gt;
 VGA = 640 x 480&lt;br /&gt;
 QVGA = 320 x 240&lt;br /&gt;
 QQVGA = 160 x 120&lt;br /&gt;
&lt;br /&gt;
= TV-IP201P and TV-IP201W =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass and 192.168.0.30 is the default IP)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /goform/capture&lt;br /&gt;
&lt;br /&gt;
= TV-IP252P =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: cgi/mjpg/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP300 =&lt;br /&gt;
Just remember to turn 1.0 in ZM_HTTP_VERSION in the Options &amp;gt; Network tab. In the x.x.x.x/cgi-bin/video.jpg gives 352 x 240 jpg. &lt;br /&gt;
&lt;br /&gt;
= TV-IP301 =&lt;br /&gt;
This camera sends the wrong mime/type and is not compatible with ZoneMinder natively but can be made to work.&lt;br /&gt;
&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=7320&lt;br /&gt;
&lt;br /&gt;
= TV-IP400 / TV-IP400W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
New Driver and instructions for ZM 1.23.x : &lt;br /&gt;
http://www.sfpeter.com/2008/07/31/new-trendnet-tv-ip400w-controller-for-zoneminder-123x/&lt;br /&gt;
&lt;br /&gt;
Older Driver and instructions for 1.22.x: &lt;br /&gt;
http://www.sfpeter.com/2007/08/14/controlling-the-trendnet-tv-ip400w-camera-with-zoneminder/&lt;br /&gt;
The above link is missing the &amp;quot;Move&amp;quot; tab when creating the control.  You need to select &amp;quot;Can Move&amp;quot;, &amp;quot;Can Move Diagonally&amp;quot; and &amp;quot;Can Move Relative&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= TV-IP410 and TV-IP410W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
Look at http://www.dubuque.k12.ia.us/it/zoneminder.html&lt;br /&gt;
&lt;br /&gt;
Remote Host Path: /cgi/jpg/image.cgi --&amp;gt; is not very fast...&lt;br /&gt;
&lt;br /&gt;
Better use /cgi/mjpg/mjpg.cgi --&amp;gt; 20 Frames/s much more fun ;)&lt;br /&gt;
&lt;br /&gt;
= TV-IP422 =&lt;br /&gt;
&lt;br /&gt;
[http://trendnet.com/products/proddetail.asp?prod=150_TV-IP422&amp;amp;cat=152 TRENDnet TV-IP422]&lt;br /&gt;
&lt;br /&gt;
Info from [http://thierry-jaouen.fr/dokuwiki/doku.php?id=serveur_zoneminder#tv-ip422 thierry-jaouen.fr] (in French)&lt;br /&gt;
&lt;br /&gt;
JPEG stills streaming seems to be very slow.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;General&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Tab/Label&lt;br /&gt;
! MJPEG Stream&lt;br /&gt;
! JPEG Stills&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; | &amp;#039;&amp;#039;&amp;#039;Source&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Name&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | [&amp;lt;USER&amp;gt;:&amp;lt;PASS&amp;gt;@]&amp;#039;&amp;#039;&amp;#039;&amp;lt;CAM IP/HOSTNAME&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Port&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | 80&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Path&lt;br /&gt;
| /cgi/mjpg/mjpg.cgi&amp;lt;br&amp;gt;(not &amp;quot;/mjpeg.cgi&amp;quot; because of its broken MIME type)&lt;br /&gt;
| /cgi/jpg/image.cgi&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= TV-IP501P =&lt;br /&gt;
This camera works just like the IP400 without the PTZ contols.&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
= TV-IP501W =&lt;br /&gt;
&lt;br /&gt;
the Trendnet IP501W works.  Here are the settings&lt;br /&gt;
&lt;br /&gt;
Source Type: Remote&lt;br /&gt;
&lt;br /&gt;
Remote Protocol: HTTP&lt;br /&gt;
&lt;br /&gt;
Remote Method: Simple&lt;br /&gt;
&lt;br /&gt;
Remote Host Name:  username:password@IP-address&lt;br /&gt;
&lt;br /&gt;
Remote Host Port: 80&lt;br /&gt;
&lt;br /&gt;
Remote Path: /video.cgi&lt;br /&gt;
&lt;br /&gt;
=TV-IP512P=&lt;br /&gt;
&lt;br /&gt;
[[Image:TV-IP512P.jpg]]&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
 RTSP&lt;br /&gt;
 Source Type: ffmpeg&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp (or play2.sdp)&lt;br /&gt;
&lt;br /&gt;
ZoneMinder 1.24.2 (Haven&amp;#039;t tried earlier versions) &lt;br /&gt;
&lt;br /&gt;
RTSP works with ffmpeg as above pulling 30fps when camera set to 30fps for that Profile.&lt;br /&gt;
&lt;br /&gt;
Alternatively, the monitor can be configured:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: RTSP&lt;br /&gt;
 Remote Method: RTP/Unicast&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 554&lt;br /&gt;
 Remote Host Path: /play1.sdp&lt;br /&gt;
&lt;br /&gt;
When using the above ffmpeg RTSP and camera is set to Night Mode using the 30fps setting fps drop to 15fps in the dark as per the warning that this may happen at low light levels.&lt;br /&gt;
&lt;br /&gt;
=TV-IP512WN=&lt;br /&gt;
The TV-IP512WN is pretty much the same device as TV-IP512P. It features an additional WLAN interface and can be used with the same settings as the [[Trendnet#TV-IP512P|TV-IP512P]].&lt;br /&gt;
&lt;br /&gt;
=TV-IP522P=&lt;br /&gt;
Warning: even though this is a &amp;#039;MegaPixel&amp;#039; camera, it has a very wide-angle lens so the image detail isn&amp;#039;t very high. Furthermore, replacement 1/2&amp;quot; lenses seem to be hard to find.&lt;br /&gt;
&lt;br /&gt;
ZM configuration is similar to TV-IP512P (above) except the 522 has multiple video profiles, which should be specified as&lt;br /&gt;
&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi?profileid=1&lt;br /&gt;
&lt;br /&gt;
(1, 2, or 3, depending on the desired profile)&lt;br /&gt;
&lt;br /&gt;
Also be sure to set  Capture Width and Capture Height appropriately.&lt;br /&gt;
&lt;br /&gt;
MPEG and RTSP were not tested but the camera does support them.&lt;br /&gt;
&lt;br /&gt;
=TV-IP551WI=&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
=TV-IP572PI=&lt;br /&gt;
The TV-IP572PI is a wired network only indoor camera that supports Power over Ethernet (PoE) and night viewing mode (to 7.5 meters) with 4 IR LED&amp;#039;s. (The TV-IP572P does not have the night viewing mode, but is otherwise identical).&lt;br /&gt;
&lt;br /&gt;
It supports 5fps 1280x800 simple HTTP image capture using:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi OR /video/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
It supports higher framerate H.264 capture via RTSP using Ffmpeg:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Ffmpeg&lt;br /&gt;
 Maximum FPS: empty&lt;br /&gt;
 Alarm Maximum FPS: empty&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp&lt;br /&gt;
 Capture width (pixels): 1280&lt;br /&gt;
 Capture height (pixels): 720&lt;br /&gt;
&lt;br /&gt;
You must leave the FPS limits off when using H.264 capture.  Note that play1.sdp (as well as play2.sdp, and play3.sdp) are user-configurable on the web interface of the camera.  1280x800 video at 30 frames per second can overload a simple Zoneminder server, especially if you have multiple cameras.  Loads of 0.9 have been observed on an older NetBurst-based 3.4GHz Xeon using the factory defaults on the camera.  Rather than ratchet down the FPS on Zoneminder&amp;#039;s end (which causes weird issues when capturing H.264) you should do so at the camera.  A more reasonable load of 0.3 has been observed on the aforementioned Xeon with play1.sdp configured as follows: H.264, 1280x800, 10FPS, CBR, 2 Mbps.  Of course, your mileage may vary. You can also reduce the resolution with the camera&amp;#039;s settings if you&amp;#039;re after a higher frame rate - be sure to match the resolution on Zoneminder&amp;#039;s end.&lt;br /&gt;
&lt;br /&gt;
=TV-IP322P=&lt;br /&gt;
[[File:tvip322p.jpg]]&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@&amp;lt;local ip/domain name&amp;gt;&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 1280&lt;br /&gt;
 Capture Height: 1024&lt;br /&gt;
This is the config that worked for me hope it helps.&lt;br /&gt;
&lt;br /&gt;
=TV-IP751WIC=&lt;br /&gt;
&lt;br /&gt;
(copied from TV-IP551WC)&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
- tested on zm v1.25.0, Kubuntu 12.04LTS&amp;lt;br&amp;gt;&lt;br /&gt;
- user:pass not working within zm, but does from browser. (Investigating.)&lt;br /&gt;
&lt;br /&gt;
[[Category:Cameras]]&lt;br /&gt;
[[Category:Network Cameras]]&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5766</id>
		<title>Trendnet</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5766"/>
		<updated>2013-07-06T02:34:23Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TV-IP100 =&lt;br /&gt;
Trendnet  TV-IP100  works ok.&lt;br /&gt;
http://x.x.x.x/video.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP100W-N =&lt;br /&gt;
great little wireless camera with digital zoom&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=TV-IP110 &amp;amp; TV-IP110W=&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@x.x.x.x&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 640&lt;br /&gt;
 Capture Height: 480&lt;br /&gt;
&lt;br /&gt;
The capture height and width can be changed using the camera&amp;#039;s web interface by modifying the &amp;quot;Video Quality&amp;quot; setting.  &lt;br /&gt;
 VGA = 640 x 480&lt;br /&gt;
 QVGA = 320 x 240&lt;br /&gt;
 QQVGA = 160 x 120&lt;br /&gt;
&lt;br /&gt;
= TV-IP201P and TV-IP201W =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass and 192.168.0.30 is the default IP)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /goform/capture&lt;br /&gt;
&lt;br /&gt;
= TV-IP252P =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: cgi/mjpg/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP300 =&lt;br /&gt;
Just remember to turn 1.0 in ZM_HTTP_VERSION in the Options &amp;gt; Network tab. In the x.x.x.x/cgi-bin/video.jpg gives 352 x 240 jpg. &lt;br /&gt;
&lt;br /&gt;
= TV-IP301 =&lt;br /&gt;
This camera sends the wrong mime/type and is not compatible with ZoneMinder natively but can be made to work.&lt;br /&gt;
&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=7320&lt;br /&gt;
&lt;br /&gt;
= TV-IP400 / TV-IP400W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
New Driver and instructions for ZM 1.23.x : &lt;br /&gt;
http://www.sfpeter.com/2008/07/31/new-trendnet-tv-ip400w-controller-for-zoneminder-123x/&lt;br /&gt;
&lt;br /&gt;
Older Driver and instructions for 1.22.x: &lt;br /&gt;
http://www.sfpeter.com/2007/08/14/controlling-the-trendnet-tv-ip400w-camera-with-zoneminder/&lt;br /&gt;
The above link is missing the &amp;quot;Move&amp;quot; tab when creating the control.  You need to select &amp;quot;Can Move&amp;quot;, &amp;quot;Can Move Diagonally&amp;quot; and &amp;quot;Can Move Relative&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= TV-IP410 and TV-IP410W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
Look at http://www.dubuque.k12.ia.us/it/zoneminder.html&lt;br /&gt;
&lt;br /&gt;
Remote Host Path: /cgi/jpg/image.cgi --&amp;gt; is not very fast...&lt;br /&gt;
&lt;br /&gt;
Better use /cgi/mjpg/mjpg.cgi --&amp;gt; 20 Frames/s much more fun ;)&lt;br /&gt;
&lt;br /&gt;
= TV-IP422 =&lt;br /&gt;
&lt;br /&gt;
[http://trendnet.com/products/proddetail.asp?prod=150_TV-IP422&amp;amp;cat=152 TRENDnet TV-IP422]&lt;br /&gt;
&lt;br /&gt;
Info from [http://thierry-jaouen.fr/dokuwiki/doku.php?id=serveur_zoneminder#tv-ip422 thierry-jaouen.fr] (in French)&lt;br /&gt;
&lt;br /&gt;
JPEG stills streaming seems to be very slow.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;General&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Tab/Label&lt;br /&gt;
! MJPEG Stream&lt;br /&gt;
! JPEG Stills&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; | &amp;#039;&amp;#039;&amp;#039;Source&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Name&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | [&amp;lt;USER&amp;gt;:&amp;lt;PASS&amp;gt;@]&amp;#039;&amp;#039;&amp;#039;&amp;lt;CAM IP/HOSTNAME&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Port&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | 80&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Path&lt;br /&gt;
| /cgi/mjpg/mjpg.cgi&amp;lt;br&amp;gt;(not &amp;quot;/mjpeg.cgi&amp;quot; because of its broken MIME type)&lt;br /&gt;
| /cgi/jpg/image.cgi&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= TV-IP501P =&lt;br /&gt;
This camera works just like the IP400 without the PTZ contols.&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
= TV-IP501W =&lt;br /&gt;
&lt;br /&gt;
the Trendnet IP501W works.  Here are the settings&lt;br /&gt;
&lt;br /&gt;
Source Type: Remote&lt;br /&gt;
&lt;br /&gt;
Remote Protocol: HTTP&lt;br /&gt;
&lt;br /&gt;
Remote Method: Simple&lt;br /&gt;
&lt;br /&gt;
Remote Host Name:  username:password@IP-address&lt;br /&gt;
&lt;br /&gt;
Remote Host Port: 80&lt;br /&gt;
&lt;br /&gt;
Remote Path: /video.cgi&lt;br /&gt;
&lt;br /&gt;
=TV-IP512P=&lt;br /&gt;
&lt;br /&gt;
[[Image:TV-IP512P.jpg]]&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
 RTSP&lt;br /&gt;
 Source Type: ffmpeg&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp (or play2.sdp)&lt;br /&gt;
&lt;br /&gt;
ZoneMinder 1.24.2 (Haven&amp;#039;t tried earlier versions) &lt;br /&gt;
&lt;br /&gt;
RTSP works with ffmpeg as above pulling 30fps when camera set to 30fps for that Profile.&lt;br /&gt;
&lt;br /&gt;
Alternatively, the monitor can be configured:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: RTSP&lt;br /&gt;
 Remote Method: RTP/Unicast&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 554&lt;br /&gt;
 Remote Host Path: /play1.sdp&lt;br /&gt;
&lt;br /&gt;
When using the above ffmpeg RTSP and camera is set to Night Mode using the 30fps setting fps drop to 15fps in the dark as per the warning that this may happen at low light levels.&lt;br /&gt;
&lt;br /&gt;
=TV-IP512WN=&lt;br /&gt;
The TV-IP512WN is pretty much the same device as TV-IP512P. It features an additional WLAN interface and can be used with the same settings as the [[Trendnet#TV-IP512P|TV-IP512P]].&lt;br /&gt;
&lt;br /&gt;
=TV-IP522P=&lt;br /&gt;
Warning: even though this is a &amp;#039;MegaPixel&amp;#039; camera, it has a very wide-angle lens so the image detail isn&amp;#039;t very high. Furthermore, replacement 1/2&amp;quot; lenses seem to be hard to find.&lt;br /&gt;
&lt;br /&gt;
ZM configuration is similar to TV-IP512P (above) except the 522 has multiple video profiles, which should be specified as&lt;br /&gt;
&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi?profileid=1&lt;br /&gt;
&lt;br /&gt;
(1, 2, or 3, depending on the desired profile)&lt;br /&gt;
&lt;br /&gt;
Also be sure to set  Capture Width and Capture Height appropriately.&lt;br /&gt;
&lt;br /&gt;
MPEG and RTSP were not tested but the camera does support them.&lt;br /&gt;
&lt;br /&gt;
=TV-IP551WI=&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
=TV-IP572PI=&lt;br /&gt;
The TV-IP572PI is a wired network only indoor camera that supports Power over Ethernet (PoE) and night viewing mode (to 7.5 meters) with 4 IR LED&amp;#039;s. (The TV-IP572P does not have the night viewing mode, but is otherwise identical).&lt;br /&gt;
&lt;br /&gt;
It supports 5fps 1280x800 simple HTTP image capture using:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi OR /video/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
It supports higher framerate H.264 capture via RTSP using Ffmpeg:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Ffmpeg&lt;br /&gt;
 Maximum FPS: empty&lt;br /&gt;
 Alarm Maximum FPS: empty&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp&lt;br /&gt;
 Capture width (pixels): 1280&lt;br /&gt;
 Capture height (pixels): 720&lt;br /&gt;
&lt;br /&gt;
You must leave the FPS limits off when using H.264 capture.  Note that play1.sdp (as well as play2.sdp, and play3.sdp) are user-configurable on the web interface of the camera.  1280x800 video at 30 frames per second can overload a simple Zoneminder server, especially if you have multiple cameras.  Loads of 0.9 have been observed on an older NetBurst-based 3.4GHz Xeon using the factory defaults on the camera.  Rather than ratchet down the FPS on Zoneminder&amp;#039;s end (which causes weird issues when capturing H.264) you should do so at the camera.  A more reasonable load of 0.3 has been observed on the aforementioned Xeon with play1.sdp configured as follows: H.264, 1280x800, 10FPS, CBR, 2 Mbps.  Of course, your mileage may vary. You can also reduce the resolution with the camera&amp;#039;s settings if you&amp;#039;re after a higher frame rate - be sure to match the resolution on Zoneminder&amp;#039;s end.&lt;br /&gt;
&lt;br /&gt;
=TV-IP322P=&lt;br /&gt;
[[File:tvip322p.jpg]]&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@&amp;lt;local ip/domain name&amp;gt;&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 1280&lt;br /&gt;
 Capture Height: 1024&lt;br /&gt;
This is the config that worked for me hope it helps.&lt;br /&gt;
&lt;br /&gt;
=TV-IP751WIC=&lt;br /&gt;
&lt;br /&gt;
(copied from TV-IP551WC)&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
- tested on zm v1.25.0, Kubuntu 12.04LTS&lt;br /&gt;
- user:pass not working within zm, but does from browser. (Investigating.)&lt;br /&gt;
&lt;br /&gt;
[[Category:Cameras]]&lt;br /&gt;
[[Category:Network Cameras]]&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5765</id>
		<title>Trendnet</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Trendnet&amp;diff=5765"/>
		<updated>2013-07-06T02:14:28Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: Add TV-IP751WIC, duplicate of TV-IP551WC - thanks to that contributor.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TV-IP100 =&lt;br /&gt;
Trendnet  TV-IP100  works ok.&lt;br /&gt;
http://x.x.x.x/video.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP100W-N =&lt;br /&gt;
great little wireless camera with digital zoom&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=TV-IP110 &amp;amp; TV-IP110W=&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@x.x.x.x&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 640&lt;br /&gt;
 Capture Height: 480&lt;br /&gt;
&lt;br /&gt;
The capture height and width can be changed using the camera&amp;#039;s web interface by modifying the &amp;quot;Video Quality&amp;quot; setting.  &lt;br /&gt;
 VGA = 640 x 480&lt;br /&gt;
 QVGA = 320 x 240&lt;br /&gt;
 QQVGA = 160 x 120&lt;br /&gt;
&lt;br /&gt;
= TV-IP201P and TV-IP201W =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass and 192.168.0.30 is the default IP)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /goform/capture&lt;br /&gt;
&lt;br /&gt;
= TV-IP252P =&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: cgi/mjpg/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
= TV-IP300 =&lt;br /&gt;
Just remember to turn 1.0 in ZM_HTTP_VERSION in the Options &amp;gt; Network tab. In the x.x.x.x/cgi-bin/video.jpg gives 352 x 240 jpg. &lt;br /&gt;
&lt;br /&gt;
= TV-IP301 =&lt;br /&gt;
This camera sends the wrong mime/type and is not compatible with ZoneMinder natively but can be made to work.&lt;br /&gt;
&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=7320&lt;br /&gt;
&lt;br /&gt;
= TV-IP400 / TV-IP400W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
&lt;br /&gt;
New Driver and instructions for ZM 1.23.x : &lt;br /&gt;
http://www.sfpeter.com/2008/07/31/new-trendnet-tv-ip400w-controller-for-zoneminder-123x/&lt;br /&gt;
&lt;br /&gt;
Older Driver and instructions for 1.22.x: &lt;br /&gt;
http://www.sfpeter.com/2007/08/14/controlling-the-trendnet-tv-ip400w-camera-with-zoneminder/&lt;br /&gt;
The above link is missing the &amp;quot;Move&amp;quot; tab when creating the control.  You need to select &amp;quot;Can Move&amp;quot;, &amp;quot;Can Move Diagonally&amp;quot; and &amp;quot;Can Move Relative&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= TV-IP410 and TV-IP410W =&lt;br /&gt;
These are cheap but fun Pan Tilt Zoom IP cameras and are now also supported by ZoneMinder. &lt;br /&gt;
Look at http://www.dubuque.k12.ia.us/it/zoneminder.html&lt;br /&gt;
&lt;br /&gt;
Remote Host Path: /cgi/jpg/image.cgi --&amp;gt; is not very fast...&lt;br /&gt;
&lt;br /&gt;
Better use /cgi/mjpg/mjpg.cgi --&amp;gt; 20 Frames/s much more fun ;)&lt;br /&gt;
&lt;br /&gt;
= TV-IP422 =&lt;br /&gt;
&lt;br /&gt;
[http://trendnet.com/products/proddetail.asp?prod=150_TV-IP422&amp;amp;cat=152 TRENDnet TV-IP422]&lt;br /&gt;
&lt;br /&gt;
Info from [http://thierry-jaouen.fr/dokuwiki/doku.php?id=serveur_zoneminder#tv-ip422 thierry-jaouen.fr] (in French)&lt;br /&gt;
&lt;br /&gt;
JPEG stills streaming seems to be very slow.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;General&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Tab/Label&lt;br /&gt;
! MJPEG Stream&lt;br /&gt;
! JPEG Stills&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; | &amp;#039;&amp;#039;&amp;#039;Source&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Name&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | [&amp;lt;USER&amp;gt;:&amp;lt;PASS&amp;gt;@]&amp;#039;&amp;#039;&amp;#039;&amp;lt;CAM IP/HOSTNAME&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Port&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot; | 80&lt;br /&gt;
|- &lt;br /&gt;
| Remote Host Path&lt;br /&gt;
| /cgi/mjpg/mjpg.cgi&amp;lt;br&amp;gt;(not &amp;quot;/mjpeg.cgi&amp;quot; because of its broken MIME type)&lt;br /&gt;
| /cgi/jpg/image.cgi&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= TV-IP501P =&lt;br /&gt;
This camera works just like the IP400 without the PTZ contols.&lt;br /&gt;
&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@x.x.x.x (admin:admin is the default user/pass)&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /MJPEG.CGI&lt;br /&gt;
&lt;br /&gt;
= TV-IP501W =&lt;br /&gt;
&lt;br /&gt;
the Trendnet IP501W works.  Here are the settings&lt;br /&gt;
&lt;br /&gt;
Source Type: Remote&lt;br /&gt;
&lt;br /&gt;
Remote Protocol: HTTP&lt;br /&gt;
&lt;br /&gt;
Remote Method: Simple&lt;br /&gt;
&lt;br /&gt;
Remote Host Name:  username:password@IP-address&lt;br /&gt;
&lt;br /&gt;
Remote Host Port: 80&lt;br /&gt;
&lt;br /&gt;
Remote Path: /video.cgi&lt;br /&gt;
&lt;br /&gt;
=TV-IP512P=&lt;br /&gt;
&lt;br /&gt;
[[Image:TV-IP512P.jpg]]&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
 RTSP&lt;br /&gt;
 Source Type: ffmpeg&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp (or play2.sdp)&lt;br /&gt;
&lt;br /&gt;
ZoneMinder 1.24.2 (Haven&amp;#039;t tried earlier versions) &lt;br /&gt;
&lt;br /&gt;
RTSP works with ffmpeg as above pulling 30fps when camera set to 30fps for that Profile.&lt;br /&gt;
&lt;br /&gt;
Alternatively, the monitor can be configured:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: RTSP&lt;br /&gt;
 Remote Method: RTP/Unicast&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 554&lt;br /&gt;
 Remote Host Path: /play1.sdp&lt;br /&gt;
&lt;br /&gt;
When using the above ffmpeg RTSP and camera is set to Night Mode using the 30fps setting fps drop to 15fps in the dark as per the warning that this may happen at low light levels.&lt;br /&gt;
&lt;br /&gt;
=TV-IP512WN=&lt;br /&gt;
The TV-IP512WN is pretty much the same device as TV-IP512P. It features an additional WLAN interface and can be used with the same settings as the [[Trendnet#TV-IP512P|TV-IP512P]].&lt;br /&gt;
&lt;br /&gt;
=TV-IP522P=&lt;br /&gt;
Warning: even though this is a &amp;#039;MegaPixel&amp;#039; camera, it has a very wide-angle lens so the image detail isn&amp;#039;t very high. Furthermore, replacement 1/2&amp;quot; lenses seem to be hard to find.&lt;br /&gt;
&lt;br /&gt;
ZM configuration is similar to TV-IP512P (above) except the 522 has multiple video profiles, which should be specified as&lt;br /&gt;
&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi?profileid=1&lt;br /&gt;
&lt;br /&gt;
(1, 2, or 3, depending on the desired profile)&lt;br /&gt;
&lt;br /&gt;
Also be sure to set  Capture Width and Capture Height appropriately.&lt;br /&gt;
&lt;br /&gt;
MPEG and RTSP were not tested but the camera does support them.&lt;br /&gt;
&lt;br /&gt;
=TV-IP551WI=&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
=TV-IP572PI=&lt;br /&gt;
The TV-IP572PI is a wired network only indoor camera that supports Power over Ethernet (PoE) and night viewing mode (to 7.5 meters) with 4 IR LED&amp;#039;s. (The TV-IP572P does not have the night viewing mode, but is otherwise identical).&lt;br /&gt;
&lt;br /&gt;
It supports 5fps 1280x800 simple HTTP image capture using:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi OR /video/mjpg.cgi&lt;br /&gt;
&lt;br /&gt;
It supports higher framerate H.264 capture via RTSP using Ffmpeg:&lt;br /&gt;
&lt;br /&gt;
 Source Type: Ffmpeg&lt;br /&gt;
 Maximum FPS: empty&lt;br /&gt;
 Alarm Maximum FPS: empty&lt;br /&gt;
 Source Path: rtsp://user:pass@&amp;lt;IP Address of Camera&amp;gt;/play1.sdp&lt;br /&gt;
 Capture width (pixels): 1280&lt;br /&gt;
 Capture height (pixels): 720&lt;br /&gt;
&lt;br /&gt;
You must leave the FPS limits off when using H.264 capture.  Note that play1.sdp (as well as play2.sdp, and play3.sdp) are user-configurable on the web interface of the camera.  1280x800 video at 30 frames per second can overload a simple Zoneminder server, especially if you have multiple cameras.  Loads of 0.9 have been observed on an older NetBurst-based 3.4GHz Xeon using the factory defaults on the camera.  Rather than ratchet down the FPS on Zoneminder&amp;#039;s end (which causes weird issues when capturing H.264) you should do so at the camera.  A more reasonable load of 0.3 has been observed on the aforementioned Xeon with play1.sdp configured as follows: H.264, 1280x800, 10FPS, CBR, 2 Mbps.  Of course, your mileage may vary. You can also reduce the resolution with the camera&amp;#039;s settings if you&amp;#039;re after a higher frame rate - be sure to match the resolution on Zoneminder&amp;#039;s end.&lt;br /&gt;
&lt;br /&gt;
=TV-IP322P=&lt;br /&gt;
[[File:tvip322p.jpg]]&lt;br /&gt;
 Remote Protocol: HTTP&lt;br /&gt;
 Remote Method: Simple&lt;br /&gt;
 Remote Host Name: &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@&amp;lt;local ip/domain name&amp;gt;&lt;br /&gt;
 Remote host Port: 80&lt;br /&gt;
 Remote Host Path: /cgi/mjpg/mjpg.cgi&lt;br /&gt;
 Remote Image Colors: 24 bit color&lt;br /&gt;
 Capture Width: 1280&lt;br /&gt;
 Capture Height: 1024&lt;br /&gt;
This is the config that worked for me hope it helps.&lt;br /&gt;
&lt;br /&gt;
=TV-IP751WIC=&lt;br /&gt;
&lt;br /&gt;
 HTTP&lt;br /&gt;
 Source Type: Remote&lt;br /&gt;
 Remote Host Name: user:pass@&amp;lt;IP Address of Camera&amp;gt;&lt;br /&gt;
 Remote Host Port: 80 (Default)&lt;br /&gt;
 Remote Host Path: /video/mjpg.cgi (for mjpeg stream)&lt;br /&gt;
 Remote Host Path: /image/jpeg.cgi (for a single jpeg frame)&lt;br /&gt;
&lt;br /&gt;
[[Category:Cameras]]&lt;br /&gt;
[[Category:Network Cameras]]&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Talk:How_to_setup_MPEG-4_streaming_with_RTSP_monitor_from_a_Vivotek_IP8332_camera&amp;diff=5732</id>
		<title>Talk:How to setup MPEG-4 streaming with RTSP monitor from a Vivotek IP8332 camera</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Talk:How_to_setup_MPEG-4_streaming_with_RTSP_monitor_from_a_Vivotek_IP8332_camera&amp;diff=5732"/>
		<updated>2013-05-26T19:01:31Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: Multicast?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;... in either H.264, MPEG-4 or MJPEG with an option for Multicast.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
- it would be useful if you could discuss the multicast side of things. The ip addresses used are not multicast addresses, so I&amp;#039;m somewhat confused. In my case, I expected to see addresses similar to 239.0.0.1. Thanks for anything you can write up and include.&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Storage_location&amp;diff=5730</id>
		<title>Storage location</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Storage_location&amp;diff=5730"/>
		<updated>2013-05-19T15:39:45Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: Redirected page to Using a dedicated Hard Drive&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Using a dedicated Hard Drive]]&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Using_a_dedicated_Hard_Drive&amp;diff=5729</id>
		<title>Using a dedicated Hard Drive</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Using_a_dedicated_Hard_Drive&amp;diff=5729"/>
		<updated>2013-05-19T15:36:50Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: Get &amp;#039;storage location&amp;#039; into text so those search terms gain hits.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;On many installs you may wish to dedicate a hard drive or partition for Zoneminder events. There are many reasons why you may want to change the storage location - security, data segregation, preventing encroachment onto OS partition by zoneminder etc. &lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s not terribly difficult to do, but may be non-obvious to the untaught so here&amp;#039;s a brief guide.&lt;br /&gt;
&lt;br /&gt;
Some commands here are based on Debian/Ubuntu installs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Become root or &amp;quot;sudo -s&amp;quot; to gain root privs.&lt;br /&gt;
&lt;br /&gt;
2. Stop Zoneminder.  &amp;quot;/etc/init.d/zoneminder stop&amp;quot; or &amp;quot;/usr/bin/zmpkg.pl stop&amp;quot;&lt;br /&gt;
&lt;br /&gt;
3. Mount your new partition onto the root filesystem, ensuring it is automatically remounted at boot time by editing /etc/fstab  -- For the benefit of this guide, I&amp;#039;m calling my new partition /newdrive&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note this new partition can be a local drive, raid partition, lvm/md device, external NAS, SAN, NFS share or SMB share. The only condition is that the I/O throughput should be up to handling what Zoneminder will throw at it. For that speed reason, some favour non-journalled filesystems and accept the extra risk of data protection&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
4. Locate Zoneminder&amp;#039;s &amp;quot;events&amp;quot; and &amp;quot;images&amp;quot; directories. In Debian, these are usually in /usr/share/zoneminder &lt;br /&gt;
&lt;br /&gt;
If you wish to copy the data across, MOVE the events and images directories to /newdrive  &amp;#039;&amp;#039;(Note this will take a long time on systems with many events). Also, DO NOT restart zoneminder if it cannot locate these files as zmaudit.pl will delete the database entries for any events it cannot match files to&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t wish to preserve the data, it is MUCH faster to simply delete or rename the original events and images dirs and create new directories in /newdrive and link to them from the original locations. There is no need to remove the &amp;quot;orphaned&amp;quot; entries in the database, zmaudit will take care of those.&lt;br /&gt;
&lt;br /&gt;
Eg: &lt;br /&gt;
&lt;br /&gt;
mkdir /newdrive/events&lt;br /&gt;
&lt;br /&gt;
mv /usr/share/zoneminder/events /usr/share/zoneminder/events_old&lt;br /&gt;
&lt;br /&gt;
Note: It was recommended to use &amp;#039;&amp;#039;ln -s /newdrive/events /usr/share/zoneminder/events&amp;#039;&amp;#039; to link the new partition in. However, at least with the debian and ubuntu packages, upgrading zoneminder later will delete these symlinks and create new dirs. This will result in all your existing events being removed from the database.&lt;br /&gt;
&lt;br /&gt;
It has been suggested this is used instead to mount the new drives;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&lt;br /&gt;
these lines in fstab could allow you to bind-mount an alternate location:&lt;br /&gt;
&lt;br /&gt;
 /dev/sdX1 /otherdrive ext3 defaults 0 2&lt;br /&gt;
 /otherdrive/zoneminder/images /var/cache/zoneminder/images none defaults,bind  0 2&lt;br /&gt;
 /otherdrive/zoneminder/events /var/cache/zoneminder/events none defaults,bind 0 2&lt;br /&gt;
&lt;br /&gt;
or in some cases,&lt;br /&gt;
&lt;br /&gt;
 /otherdrive/zoneminder/images /usr/share/zoneminder/images none defaults,bind  0 2&lt;br /&gt;
 /otherdrive/zoneminder/events /usr/share/zoneminder/events none defaults,bind 0 2&lt;br /&gt;
&lt;br /&gt;
or if you have a separate partition for each:&lt;br /&gt;
&lt;br /&gt;
 /dev/sdX1 /var/cache/zoneminder/images ext3 defaults 0 2&lt;br /&gt;
 /dev/sdX2 /var/cache/zoneminder/events ext3 defaults 0 2&lt;br /&gt;
(Repeat for images)&lt;br /&gt;
&amp;#039;&amp;#039;&lt;br /&gt;
5. Finally, restart zoneminder ( &amp;quot;/etc/init.d/zoneminder start&amp;quot; or &amp;quot;/usr/bin/zmpkg.pl start&amp;quot;)  Monitor its operation and ensure new events are being created normally and are viewable. Zoneminder should also update the &amp;quot;Disk: %%&amp;quot; on its Console screen to reflect the disk space on its new partition.&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=FAQ&amp;diff=5726</id>
		<title>FAQ</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=FAQ&amp;diff=5726"/>
		<updated>2013-05-19T14:30:32Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: /* Why can&amp;#039;t I see streamed images when I can see stills in the Zone window etc? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ZoneMinder Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
This is the new FAQ page. I will be migrating the existing FAQs here as soon as possible. In the meantime the old FAQ page is available [http://www.zoneminder.com/faq.html here].&lt;br /&gt;
&lt;br /&gt;
Feel free to contribute any FAQs that you think are missing.&lt;br /&gt;
&lt;br /&gt;
===How can I stop ZoneMinder filling up my disk?===&lt;br /&gt;
&lt;br /&gt;
Recent versions of ZoneMinder come with a filter you can use for this purpose already included. However &amp;#039;&amp;#039;&amp;#039;by default it is not enabled for event deletion&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The filter is called &amp;#039;&amp;#039;PurgeWhenFull&amp;#039;&amp;#039; and to find it, choose one of the event counts from the console page, for instance events in the last hour, for one of your monitors.&lt;br /&gt;
&lt;br /&gt;
This will bring up an event listing and a filter window.&lt;br /&gt;
&lt;br /&gt;
In the filter window there is a drop down select box labeled &amp;#039;Use Filter&amp;#039;, that lets your select a saved filter. Select &amp;#039;PurgeWhenFull&amp;#039; and it will load that filter.&lt;br /&gt;
&lt;br /&gt;
Make any modifications you might want, such as the percentage full you want it to kick in, or how many events to delete at a time (it will repeat the filter as many times as needed to clear the space, but will only delete this many events each time to get there).&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;#039;Save&amp;#039; which will bring up a new window. Make sure the &amp;#039;Automatically delete&amp;#039; box is checked and press save to save your filter. This will then run in the background to keep your disk within those limits.&lt;br /&gt;
&lt;br /&gt;
After you&amp;#039;ve done that, you changes will automatically be loaded into zmfilter within a few minutes.&lt;br /&gt;
&lt;br /&gt;
Check the &amp;lt;tt&amp;gt;zmfilter.log&amp;lt;/tt&amp;gt; file to make sure it is running as sometimes missing perl modules mean that it never runs but people don&amp;#039;t always realize.&lt;br /&gt;
&lt;br /&gt;
There are two methods for ZM to remove files when they are deleted that can be found in Options under the System tab ZM_OPT_FAST_DELETE and ZM_RUN_AUDIT.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ZM_OPT_FAST_DELETE:&lt;br /&gt;
&lt;br /&gt;
Normally an event created as the result of an alarm consists of entries in one or more database tables plus the various files associated with it. When deleting events in the browser it can take a long time to remove all of this if your are trying to do a lot of events at once. It is recommended that you set this option which means that the browser client only deletes the key entries in the events table, which means the events will no longer appear in the listing, and leaves the zmaudit daemon to clear up the rest later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ZM_RUN_AUDIT:&lt;br /&gt;
&lt;br /&gt;
The zmaudit daemon exists to check that the saved information in the database and on the file system match and are consistent with each other. If an error occurs or if you are using &amp;#039;fast deletes&amp;#039; it may be that database records are deleted but files remain. In this case, and similar, zmaudit will remove redundant information to synchronize the two data stores. This option controls whether zmaudit is run in the background and performs these checks and fixes continuously. This is recommended for most systems however if you have a very large number of events the process of scanning the database and file system may take a long time and impact performance. In this case you may prefer to not have zmaudit running unconditionally and schedule occasional checks at other, more convenient, times.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ZM_AUDIT_CHECK_INTERVAL:&lt;br /&gt;
&lt;br /&gt;
The zmaudit daemon exists to check that the saved information in the database and on the files system match and are consistent with each other. If an error occurs or if you are using &amp;#039;fast deletes&amp;#039; it may be that database records are deleted but files remain. In this case, and similar, zmaudit will remove redundant information to synchronize the two data stores. The default check interval of 900 seconds (15 minutes) is fine for most systems however if you have a very large number of events the process of scanning the database and file system may take a long time and impact performance. In this case you may prefer to make this interval much larger to reduce the impact on your system. This option determines how often these checks are performed.&lt;br /&gt;
&lt;br /&gt;
===What does a &amp;#039;Can&amp;#039;t shmget: Invalid argument&amp;#039; error in my logs mean? and my cameras won&amp;#039;t display video at higher resolutions.===&lt;br /&gt;
&lt;br /&gt;
This error is discussed in the README in the following excerpt:-&lt;br /&gt;
&amp;#039;&amp;#039;...this is caused by an attempt to allocate an amount of shared memory greater than your system can handle. The size it requests is based on the following formula, &amp;lt;tt&amp;gt;ring buffer size x image width x image height x 3 (for 24 bit images) + a bit of overhead&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;384x288 capture resolution, that makes: 110 592 pixels&lt;br /&gt;
in 24 bit color that&amp;#039;s x24 = 2 654 208 bits per frame &lt;br /&gt;
by 80 frames ring buffer x80 = 212 336 640 bits per camera &lt;br /&gt;
by 4 cameras x4 = 849 346 560 bits. &lt;br /&gt;
Plus 10% overhead = 934 281 216 bits &lt;br /&gt;
That&amp;#039;s 116 785 152 bytes, and &lt;br /&gt;
= 114 048 kB, respectively 111.38 MB. &lt;br /&gt;
If my shared memory is set to 134 217 728, which is exactly 128MB, &lt;br /&gt;
that means I shouldn&amp;#039;t have any problem.&lt;br /&gt;
(Note that 1 byte = 8 bits and 1kbyte = 1024bytes, 1MB = 1024 kB)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If for instance you were using 24bit 640x480 then this would come to about 92Mb if you are using the default buffer size of 100. If this is too large then you can either reduce the image or buffer sizes or increase the maximum amount of shared memory available. If you are using RedHat then you can get details on how to change these settings at http://www.redhat.com/docs/manuals/database/RHDB-2.1-Manual/admin_user/kernel-resources.html .  &lt;br /&gt;
&lt;br /&gt;
You should be able to use a similar procedure  with other distributions to modify the shared memory pool without kernel recompilations though in some cases this may be necessary. Note, this error also sometimes occurs if you have an old shared memory segment lying around from a previous run that is too small. Use the ipcs and ipcrm system commands to check and remove it if necessary.&amp;#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You can often find out how many 4KB shared memory pages are available by typing the following :-&lt;br /&gt;
&amp;lt;pre&amp;gt;# cat /proc/sys/kernel/shmall&lt;br /&gt;
2097152&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In recent kernels the shmall is set to 2097152 memory pages multiplied by 4096 bytes per page for a total of 8 GB of shared memory available.  You only need to increase the shmall value if you have a computer with more than 8GB of memory and wish to use more of it for shared memory usage, such as large databases.&lt;br /&gt;
&lt;br /&gt;
The most shared memory bytes you can allocate in one go :-&lt;br /&gt;
&amp;lt;pre&amp;gt;# cat /proc/sys/kernel/shmmax&lt;br /&gt;
33554432&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In recent kernels the shmmax is set to 33554432 bytes for only 32 MB of maximum shared memory allocatable at a time, hardly enough for ZoneMinder to go above 320 x 240 x 24-bit resolution at 40 frames in the buffer if it is using the /dev/shm shared memory device, so this value needs to be increased.  If you are using ZoneMinder with the memory mapped (mmap) compile time option then this doesn&amp;#039;t affect you.&lt;br /&gt;
&lt;br /&gt;
To change the value to 128 MB temporarily during this kernel execution type (for example) :-&lt;br /&gt;
&amp;lt;pre&amp;gt;echo 536870912 &amp;gt;/proc/sys/kernel/shmmax&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Be sure to restart ZoneMinder after this.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
However be aware that sometimes you will only need to change the shmmax value as shmall is often large enough. Also changing these values in this way is only effective until your machine is rebooted. &lt;br /&gt;
&lt;br /&gt;
To change them permanently you will need to edit &amp;lt;tt&amp;gt;/etc/sysctl.conf&amp;lt;/tt&amp;gt; and add the following lines (for example) :-&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel.shmmax = 536870912&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or if your distribution has the &amp;lt;tt&amp;gt;/etc/sysctl.d/&amp;lt;/tt&amp;gt; folder you can create a file in this folder without modifying the &amp;lt;tt&amp;gt;/etc/sysctl.d&amp;lt;/tt&amp;gt; so you won&amp;#039;t lose the changes during distro upgrades :-&lt;br /&gt;
&amp;lt;pre&amp;gt;echo kernel.shmmax = 536870912 &amp;gt;/etc/sysctl.d/60-kernel-shm.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To load these settings in the sysctl.conf file type:&lt;br /&gt;
&amp;lt;pre&amp;gt;sysctl -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To check your shared memory settings type:&lt;br /&gt;
&amp;lt;pre&amp;gt;ipcs -l&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that with Megapixel cameras like the Axis 207mw becoming cheaper and more attractive, the above memory settings are not adequate. To get Zoneminder working with a full 1280x1024 resolution camera in full color, increase &amp;lt;tt&amp;gt;134217728&amp;lt;/tt&amp;gt; (128 MB) to, for example, &amp;lt;tt&amp;gt;268435456&amp;lt;/tt&amp;gt; (256 MB) and multiple this value by each camera.&lt;br /&gt;
&lt;br /&gt;
These changes will now also be set the next time your machine is restarted.&lt;br /&gt;
&lt;br /&gt;
Versions 1.24.x of ZoneMinder also allows you to use an alternate method of shared memory allocation, [http://en.wikipedia.org/wiki/Mmap mapped memory]. This requires less configuration and can be simpler to use. Mapped memory allows you to use a special type of file as the placeholder for your memory and this file is &amp;#039;mapped&amp;#039; into memory space for easy and fast access.&lt;br /&gt;
&lt;br /&gt;
To enable mapped memory in ZoneMinder you need add add the --enable--mmap=yes switch to your configure line. By default mapped memory files are created in /dev/shm which on most distributions is a dedicated pseudo-partition containing memory formatted as a filesystem. If your system uses a different path then this can be changed in ZoneMinder in Options-&amp;gt;paths-&amp;gt;PATH_MAP. It uses a filesystem type called [http://en.wikipedia.org/wiki/Tmpfs tmpfs]. If you type &amp;#039;df&amp;#039; you should see this area and the size of memory it currently allows. It is important that you do not use a disk based filesystem for your memory mapped files as this will cause memory access to be extremely slow. ZoneMinder creates files called .zm.mmap.&amp;lt;monitor id&amp;gt; in the mapped memory filesystem.&lt;br /&gt;
&lt;br /&gt;
Mapped memory is subject to the same limitations in terms of total memory as using more traditional shared memory but does not require any configuration per allocation or chunk. In future versions of ZoneMinder this will be the default shared memory storage method.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;AlternateSharedMemory&amp;quot; style=&amp;quot;width:80%; border:2px solid #8a8588; background:#faf5ff; vertical-align:top; margin-top: 6px; padding: 4px;&amp;quot;&amp;gt;&lt;br /&gt;
Another good article about shared memory settings http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.uprun.doc/doc/t0008238.htm . &lt;br /&gt;
It made a statement that conflicted with those in the Redhat article but they fixed a [http://www.zoneminder.com/forums/viewtopic.php?t=9692 long standing memory issue on FC6], so give them a try. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The essential difference was that the kernel.shmall setting is NOT in a direct memory setting in KB but in pages of memory. it is Max Pages of memory&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039;&amp;#039; If you want to allocate a maximum memory setting to 8GB you have to convert it to the number of pages (or segments).&lt;br /&gt;
with a page size of 4096.&lt;br /&gt;
*kernel.shmall = 8000x1024x1024/4096&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel.shmall = 2097152&amp;lt;/pre&amp;gt;&lt;br /&gt;
NOT 8388608000 as would be suggested in the RedHat article linked above.&lt;br /&gt;
&lt;br /&gt;
shmmax is the max amount to allocate in one request - &lt;br /&gt;
this is is an actual memory size (as opposed to pages) set to 4GB&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel.shmmax = 4294967296&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;/etc/sysctl.conf&amp;lt;/tt&amp;gt; would have these lines&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel.shmall = 2097152&lt;br /&gt;
kernel.shmmax = 4294967296&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As above, reload your sysctl.conf with &amp;lt;tt&amp;gt;sysctl -p&amp;lt;/tt&amp;gt; and check that the settings are correct with &amp;lt;tt&amp;gt;ipcs -l&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===I have enabled motion detection but it is not always being triggered when things happen in the camera view===&lt;br /&gt;
&lt;br /&gt;
ZoneMinder uses zones to examine images for motion detection. When you create the initial zones you can choose from a number of preset values for sensitivity etc. Whilst these are usually a good starting point they are not always suitable for all situations and you will probably need to tweak the values for your specific circumstances. The meanings of the various settings are described in the documentation (http://www.zoneminder.com/wiki/index.php/Documentation#Defining_Zones) however if you believe you have sensible settings configured then there are two diagnostic approaches you can use.&lt;br /&gt;
&lt;br /&gt;
====Event Statistics====&lt;br /&gt;
The first technique is to use event statistics. Firstly you should ensure they are switched on in Options-&amp;gt;Logging-&amp;gt;RECORD_EVENT_STATS. This will then cause the raw motion detection statistics for any subsequently generated events to be written to the DB. These can then be accessed by first clicking on the Frames or Alarm Frames values of the event from any event list view in the web gui. Then click on the score value to see the actual values that caused the event. Alternatively the stats can be accessed by clicking on the &amp;#039;Stats&amp;#039; link when viewing any individual frame. The values displayed there correspond with the values that are used in the zone configuration and give you an idea of what &amp;#039;real world&amp;#039; values are being generated. &lt;br /&gt;
&lt;br /&gt;
Note that if you are investigating why events &amp;#039;do not&amp;#039; happen then these will not be saved and so won&amp;#039;t be accessible. The best thing to do in that circumstance is to make your zone more sensitive so that it captures all events (perhap even ones you don&amp;#039;t want) so you can get an idea of what values are being generated and then start to adjust back to less sensitive settings if necessary. You should make sure you test your settings under a variety of lighting conditions (e.g. day and night, sunny or dull) to get the best feel for that works and what doesn&amp;#039;t.&lt;br /&gt;
&lt;br /&gt;
Using statistics will slow your system down to a small degree and use a little extra disk space in the DB so once you are happy you can switch them off again. However it is perfectly feasible to keep them permanently on if your system is able to cope which will allow you to review your setting periodically.&lt;br /&gt;
&lt;br /&gt;
====Diagnostic Images====&lt;br /&gt;
The second approach is to use diagnostic images which are saved copies of the intermediate images that ZM uses when determining motion detection. These are switched on and off using Options-&amp;gt;Logging-&amp;gt;RECORD_DIAG_IMAGES.&lt;br /&gt;
&lt;br /&gt;
There are two kinds of diagnostic images which are and are written (and continuously overwritten) to the top level monitor event directory. If an event occurs then the files are additionally copied to the event directory and renamed with the appropriate frame number as a prefix.&lt;br /&gt;
&lt;br /&gt;
The first set are produced by the monitor on the image as a whole. The diag-r.jpg image is the current reference image against which all individual frames are compared and the diag-d.jpg image is the delta image highlighting the difference between the reference image and the last analysed image. In this images identicial pixels will be black and the more different a pixel is the whiter it will be. Viewing this image and determining the colour of the pixels is a good way of getting a feel for the pixel differences you might expect (often more than you think).&lt;br /&gt;
&lt;br /&gt;
The second set of diag images are labelled as diag-&amp;lt;zoneid&amp;gt;-&amp;lt;stage&amp;gt;.jpg where zoneid is the id of the zone in question (Smile) and the stage is where in the alarm check process the image is generated from. So if you have several zones you can expect to see multiple files. Also these files are only interested in what is happening in their zone only and will ignore anything else outside of the zone. The stages that each number represents are as follows,&lt;br /&gt;
&lt;br /&gt;
# Alarmed Pixels - This image shows all pixels in the zone that are considered to be alarmed as white pixels and all other pixels as black.&lt;br /&gt;
# Filtered Pixels - This is as stage one except that all pixels removed by the filters are now black. The white pixels represent the pixels that are candidates to generate an event.&lt;br /&gt;
# Raw Blobs - This image contains all alarmed pixels from stage 2 but aggrageted into blobs. Each blob will have a different greyscale value (between 1 and 254) so they can be difficult to spot with the naked eye but using a colour picker or photoshop will make it easier to see what blob is what.&lt;br /&gt;
# Filtered Blobs - This image is as stage 3 but under (or over) sized blobs have been removed. This is the final step before determining if an event has occurred, just prior to the number of blobs being counted. Thus this image forms the basis for determining whether an event is generated and outlining on alarmed images is done from the blobs in this image.&lt;br /&gt;
&lt;br /&gt;
Using the above images you should be able to tell at all stages what ZM is doing to determine if an event should happen or not. They are useful diagnostic tools but as is mentioned elsewhere they will massively slow your system down and take up a great deal more space. You should never leave ZM running for any length of time with diagnostic images on.&lt;br /&gt;
&lt;br /&gt;
===Why can&amp;#039;t ZoneMinder capture images (either at all or just particularly fast) when I can see my camera just fine in xawtv or similar?===&lt;br /&gt;
&lt;br /&gt;
With capture cards ZoneMinder will pull images as fast as it possibly can unless limited by configuration. ZoneMinder (and any similar application) uses the frame grabber interface to copy frames from video memory into user memory. This takes some time, plus if you have several inputs sharing one capture chip it has to switch between inputs between captures which further slows things down.&lt;br /&gt;
&lt;br /&gt;
On average a card that can capture at 25fps per chip PAL for one input will do maybe 6-10fps for two, 1-4fps for three and 1-2 for four. For a 30fps NTSC chip the figures will be correspondingly higher. However sometimes it is necessary to slow down capture even further as after an input switch it may take a short while for the new image to settle before it can be captured without corruption.&lt;br /&gt;
&lt;br /&gt;
When using xawtv etc to view the stream you are not looking at an image captured using the frame grabber but the card&amp;#039;s video memory mapped onto your screen. This requires no capture or processing unless you do an explicit capture via the J or ctrl-J keys for instance. Some cards or drivers do not support the frame grabber interface at all so may not work with ZoneMinder even though you can view the stream in xawtv. If you can grab a still using the grab functionality of xawtv then in general your card will work with ZoneMinder.&lt;br /&gt;
&lt;br /&gt;
===Why can&amp;#039;t I see streamed images when I can see stills in the Zone window etc?===&lt;br /&gt;
&lt;br /&gt;
This issue is normally down to one of two causes&lt;br /&gt;
&lt;br /&gt;
1) You are using Internet Explorer and are trying to view multi-part jpeg streams. IE does not support these streams directly, unlike most other browsers. You will need to install Cambozola or another multi-part jpeg aware pluging to view them. To do this you will need to obtain the applet from the Downloads page and install the cambozola.jar file in the same directly as the ZoneMinder php files. Then find the ZoneMinder Options-&amp;gt;Images page and enable ZM_OPT_CAMBOZOLA and enter the web path to the .jar file in ZM_PATH_CAMBOZOLA. This will ordinarily just be cambozola.jar. Provided (Options / B/W tabs) WEB_H_CAN_STREAM is set to auto and WEB_H_STREAM_METHOD is set to jpeg then Cambozola should be loaded next time you try and view a stream.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NOTE&amp;#039;&amp;#039;&amp;#039;: 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 (&amp;#039;&amp;#039;-rwxrwxr-x&amp;#039;&amp;#039;) your (&amp;#039;&amp;#039;usr/share/zoneminder/&amp;#039;&amp;#039;) 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;
2) The other common cause for being unable to view streams is that you have installed the ZoneMinder cgi binaries (zms and nph-zms) in a different directory than your web server is expecting. Make sure that the --with-cgidir option you use to the ZoneMinder configure script is the same as the CGI directory configure for your web server. If you are using Apache, which is the most common one, then in your httpd.conf file there should be a line like &amp;lt;pre&amp;gt;ScriptAlias /cgi-bin/ &amp;quot;/var/www/cgi-bin/&amp;quot;&amp;lt;/pre&amp;gt; where the last directory in the quotes is the one you have specified. If not then change one or the other to match. Be warned that configuring apache can be complex so changing the one passed to the ZoneMinder configure (and then rebuilding and reinstalling) is recommended in the first instance. If you change the apache config you will need to restart apache for the changes to take effect. If you still cannot see stream reliably then try changing Options-&amp;gt;Paths-&amp;gt;ZM_PATH_ZMS to just use zms if nph-zms is specified, or vice versa. Also check in your apache error logs.&lt;br /&gt;
&lt;br /&gt;
===I have several monitors configured but when I load the Montage view in FireFox why can I only see two? or, Why don&amp;#039;t all my cameras display when I use the Montage view in FireFox?===&lt;br /&gt;
&lt;br /&gt;
By default FireFox only supports a small number of simultaneous connections. Using the montage view usually requires one persistent connection for each camera plus intermittent connections for other information such as statuses.&lt;br /&gt;
&lt;br /&gt;
You will need to increase the number of allowed connections to use the montage view with more than a small number of cameras.  Certain FireFox extensions such as FasterFox may also help to achieve the same result.&lt;br /&gt;
&lt;br /&gt;
To resolve this situation, follow the instructions below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Enter about:config in the address bar&lt;br /&gt;
&lt;br /&gt;
scroll down to&lt;br /&gt;
browser.cache.check_doc_frequency 3&lt;br /&gt;
change the 3 to a 1&lt;br /&gt;
&lt;br /&gt;
browser.cache.disk.enable True -&amp;gt; False&lt;br /&gt;
network.http.max-connections-per-server -&amp;gt; put a value of 100&lt;br /&gt;
network.http.max-persistent-connections-per-proxy -&amp;gt; 100 again&lt;br /&gt;
network.http.max-persistent-connections-per-server -&amp;gt; 100 again&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Why is ZoneMinder using so much CPU?===&lt;br /&gt;
&lt;br /&gt;
The various elements of ZoneMinder can be involved in some pretty intensive activity, especially while analysing images for motion. However generally this should not overwhelm your machine unless it is very old or underpowered.&lt;br /&gt;
&lt;br /&gt;
There are a number of specific reasons why processor loads can be high either by design or by accident. To figure out exactly what is causing it in your circumstances requires a bit of experimentation.&lt;br /&gt;
&lt;br /&gt;
The main causes are.&lt;br /&gt;
&lt;br /&gt;
# Using a video palette other than greyscale or RGB24. This can cause a relatively minor performace hit, though still significant. Although some cameras and cards require using planar palettes ZM currently doesn&amp;#039;t support this format internally and each frame is converted to an RGB representation prior to processing. Unless you have compelling reasons for using YUV or reduced RGB type palettes such as hitting USB transfer limits I would experiment to see if RGB24 or greyscale is quicker. Put your monitors into &amp;#039;Monitor&amp;#039; mode so that only the capture daemons are running and monitor the process load of these (the &amp;#039;zmc&amp;#039; processes) using top. Try it with various palettes to see if it makes a difference.&lt;br /&gt;
# Big image sizes. A image of 640x480 requires at least four times the processing of a 320x240 image. Experiment with different sizes to see what effect it may have. Sometimes a large image is just two interlaced smaller frames so has no real benefit anyway. This is especially true for analog cameras/cards as image height over 320 (NTSC) or 352 PAL) are invariably interlaced.&lt;br /&gt;
# Capture frame rates. Unless there&amp;#039;s a compelling reason in your case there is often little benefit in running cameras at 25fps when 5-10fps would often get you results just as good. Try changing your monitor settings to limit your cameras to lower frame rates. You can still configure ZM to ignore these limits and capture as fast as possible when motion is detected.&lt;br /&gt;
# Run function. Obviously running in Record or Mocord modes or in Modect with lots of events generates a lot of DB and file activity and so CPU and load will increase.&lt;br /&gt;
# Basic default detection zones. By default when a camera is added one detection zone is added which covers the whole image with a default set of parameters. If your camera covers a view in which various regions are unlikely to generate a valid alarm (ie the sky) then I would experiment with reducing the zone sizes or adding inactive zones to blank out areas you don&amp;#039;t want to monitor. Additionally the actual settings of the zone themselves may not be optimal. When doing motion detection the number of changed pixels above a threshold is examined, then this is filter, then contiguous regions are calculated to see if an alarm is generated. If any maximum or minimum threshold is exceeded according to your zone settings at any time the calculation stops. If your settings always result in the calculations going through to the last stage before being failed then additional CPU time is used unnecessarily. Make sure your maximum and minimumzone thresholds are set to sensible values and experiment by switching RECORD_EVENT_STATS on and seeing what the actual values of alarmed pixels etc are during sample events.&lt;br /&gt;
# Optimise your settings. After you&amp;#039;ve got some settings you&amp;#039;re happy with then switching off RECORD_EVENT_STATS will prevent the statistics being written to the database which saves some time. Other settings which might make a difference are ZM_FAST_RGB_DIFFS, ZM_OPT_FRAME_SERVER and the JPEG_xxx_QUALITY ones.&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m sure there are other things which might make a difference such as what else you have running on the box and memory sizes (make sure there&amp;#039;s no swapping going on). Also speed of disk etc will make some difference during event capture and also if you are watching the whole time then you may have a bunch of zms processes running also.&lt;br /&gt;
&lt;br /&gt;
I think the biggest factors are image size, colour depth and capture rate. Having said that I also don&amp;#039;t always know why you get certains results from &amp;#039;top&amp;#039;. For instance if I have a &amp;#039;zma&amp;#039; daemon running for a monitor that is capturing an image. I&amp;#039;ve commented out the actual analysis so all it&amp;#039;s doing is blending the image with the previous one. In colour mode this takes ~11 milliseconds per frame on my system and the camera is capturing at ~10fps. Using &amp;#039;top&amp;#039; this reports the process as using ~5% of CPU and permanently in R(un) state. Changing to greyscale mode the blending takes ~4msec (as you would expect as this is roughly a third of 11) but top reports the process as now with 0% CPU and permanently in S(leep) state. So an actual CPU resource usage change of a factor of 3 causes huge differences in reported CPU usage. I have yet to get to the bottom of this but I suspect it&amp;#039;s to do with scheduling somewhere along the line and that maybe the greyscale processing will fit into one scheduling time slice whereas the colour one won&amp;#039;t but I have no evidence of this yet!&lt;br /&gt;
&lt;br /&gt;
===Why is the timeline view all messed up?===&lt;br /&gt;
&lt;br /&gt;
The timeline view is a new view allowing you to see a graph of alarm activity over time and to quickly scan and home in on events of interest. However this feature is highly complex and still in beta. It is based extensively on HTML div tags, sometimes lots of them. Whilst FireFox is able to render this view successfully other browsers, particular Internet Explorer do not seem able to cope and so present a messed up view, either always or when there are a lot of events.&lt;br /&gt;
Using the timeline view is only recommended when using FireFox, however even then there may be issues.&lt;br /&gt;
&lt;br /&gt;
This function has from time to time been corrupted in the SVN release or in the stable releases, try and reinstall from a fresh download.&lt;br /&gt;
&lt;br /&gt;
===How much Hard Disk Space / Bandwidth do I need for ZM?===&lt;br /&gt;
Please see [http://www.jpwilson.eu/ZM_Utils/ZM%20storage%20calc%20sheet.xls Storage Calc] in excel format&lt;br /&gt;
&lt;br /&gt;
Or go to [http://www.axis.com/products/video/design_tool/index.htm this link] for the Axis bandwidth calculator. Although this is aimed at Axis cameras it still produces valid results for any kind of IP camera.&lt;br /&gt;
&lt;br /&gt;
As a quick guide I have 4 cameras at 320x240 storing 1 fps except during alarm events. After 1 week 60GB of space in the volume where the events are stored (/var/www/html/zm) has been used.&lt;br /&gt;
&lt;br /&gt;
===When I try and run ZoneMinder I get lots of audit permission errors in the logs and it won&amp;#039;t start===&lt;br /&gt;
Many Linux distributions nowadays are built with security in mind. One of the latest methods of achieving this is via SELinux (Secure Linux) which controls who is able to run what in a more precise way then traditional accounting and file based permissions ([http://en.wikipedia.org/wiki/Selinux]).&lt;br /&gt;
If you are seeing entries in your system log like:&lt;br /&gt;
&lt;br /&gt;
   Jun 11 20:44:02 kernel: audit(1150033442.443:226): avc: denied { read } for pid=5068&lt;br /&gt;
   comm=&amp;quot;uptime&amp;quot; name=&amp;quot;utmp&amp;quot; dev=dm-0 ino=16908345 scontext=user_u:system_r:httpd_sys_script_t&lt;br /&gt;
   tcontext=user_u:object_r:initrc_var_run_t tclass=file&lt;br /&gt;
&lt;br /&gt;
then it is likely that your system has SELinux enabled and it is preventing ZoneMinder from performaing certain activities. You then have two choices. You can either tune SELinux to permit the required operations or you can disable SELinux entirely which will permit ZoneMinder to run unhindered. Disabling SELinux is usually performed by editing it&amp;#039;s configuration file (e.g., &amp;lt;tt&amp;gt;/etc/selinux/config&amp;lt;/tt&amp;gt;) and then rebooting. However if you run a public server you should read up on the risks associated with disabled Secure Linux before disabling it.&lt;br /&gt;
&lt;br /&gt;
Note that SELinux may cause errors other than those listed above. If you are in any doubt then it can be worth disabling SELinux experimentally to see if it fixes your problem before trying other solutions.&lt;br /&gt;
&lt;br /&gt;
=== How do I enable ZoneMinder&amp;#039;s security? ===&lt;br /&gt;
In the console, click on Options. Check the box next to &amp;quot;ZM_OPT_USE_AUTH&amp;quot;. You will immediately be asked to login. The username is &amp;#039;admin&amp;#039; and the password is &amp;#039;admin&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To Manage Users:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
In main console, go to &amp;#039;&amp;#039;&amp;#039;Options-&amp;gt;Users&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
* You may also consider to use the web server security, for example, htaccess files under Apache scope; You may even use this as an additional/redundant security on top of Zoneminders built-in security features;&lt;br /&gt;
&lt;br /&gt;
=== Why does ZM stop recording once I have 32000 events for my monitor? ===&lt;br /&gt;
This is a limitation of the ext3 filesystem that most Linux distributions use. One directory cannot hold more than 32k approx  files.&lt;br /&gt;
&lt;br /&gt;
Version of ZM from 1.23.0 onwards allow you to have a deeper filesystem with fewer files per individual directory. As well as not being susceptible to the 32k limit this is also somewhat  faster. However it is relatively and although few issues have been reported thus far it should be considered in beta for now. Also, it is currently not possible to migrate saved events between the different storage formats so is only suitable for new installations or if you do not mind losing saved events.&lt;br /&gt;
&lt;br /&gt;
So if you do not want to use the deeper filesystem option&lt;br /&gt;
(Options-&amp;gt;Paths-&amp;gt;ZM_USE_DEEP_STORAGE), for now you have to reduce the&lt;br /&gt;
number of events or store your images (e.g. /var/lib/zoneminder) on a&lt;br /&gt;
partition that uses a different filesystem such as ext4 or reiserfs.&lt;br /&gt;
&lt;br /&gt;
You can read about the lack of a limit in the number of&lt;br /&gt;
sub-directories in the ext4 filesystem at:&lt;br /&gt;
  http://kernelnewbies.org/Ext4&lt;br /&gt;
and see what tools may assist in your use of this filesystem in:&lt;br /&gt;
  http://ext4.wiki.kernel.org/index.php/Ext4_Howto&lt;br /&gt;
Note that while GParted 0.5.2 recognizes ext4 partitions, at least in&lt;br /&gt;
some circumstances it does not succeed in formatting a partition for&lt;br /&gt;
the ext4 filesystem.  Also, if you search for ext3 or reiserfs on the&lt;br /&gt;
forums you will find various threads on this issue with guidance on&lt;br /&gt;
how to convert.&lt;br /&gt;
&lt;br /&gt;
== Managing system load &amp;#039;&amp;#039;(with IP Cameras in mind)&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
Zoneminder is a superb application in every way, but it does a job that needs a lot of horsepower especially when using multiple IP cameras. IP Cams require an extra level of processing to analogue cards as the jpg or mjpeg images need to be decoded before analysing. This needs grunt. If you have lots of cameras, you need lots of grunt.&lt;br /&gt;
&lt;br /&gt;
Why do ZM need so much grunt?&lt;br /&gt;
Think what Zoneminder is actually doing. In modect mode ZM is:&lt;br /&gt;
1. Fetching a jpeg from the camera. (Either in single part or multipart stream)&lt;br /&gt;
2. Decoding the jpeg image. &lt;br /&gt;
3. Comparing the zoned selections to the previous image or images and applying rules.&lt;br /&gt;
4. If in alarm state, writing that image to the disk and updating the mysql database.&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;re capturing at five frames per second, the above is repeated five times every second, multiplied by the number of cameras. Decoding the images is what takes the real power from the processor and this is the main reason why analogue cameras which present an image ready-decoded in memory take less work.&lt;br /&gt;
&lt;br /&gt;
=== How do I know if my computer is overloaded? ===&lt;br /&gt;
If your CPU is running at 100% all the time, it&amp;#039;s probably overloaded (or running at exact optimisation). If the load is consistently high (over 10.0 for a single processor) then Bad Things happen - like lost frames, unrecorded events etc. Occasional peaks are fine, normal and nothing to worry about.&lt;br /&gt;
&lt;br /&gt;
Zoneminder runs on Linux, Linux measures system load using &amp;quot;load&amp;quot;, which is complicated but gives a rough guide on what the computer is doing at any given time. Zoneminder shows Load on the main page (top right) as well as disk space. Typing &amp;quot;uptime&amp;quot; on the command line will give a similar guide, but with three figures to give a fuller measure of what&amp;#039;s happening over a period of time but for the best guide to see what&amp;#039;s happening, install &amp;quot;htop&amp;quot; - which gives easy to read graphs for load, memory and cpu usage.&lt;br /&gt;
&lt;br /&gt;
A load of 1.0 means the processor has &amp;quot;just enough to do right now&amp;quot;. Also worth noting that a load of 4.0 means exactly the same for a quad processor machine - each number equals a single processor&amp;#039;s workload. A very high load can be fine on a computer that has a stacked workload - such as a machine sending out bulk emails, or working its way through a knotty problem; it&amp;#039;ll just keep churning away until it&amp;#039;s done. However - Zoneminder needs to process information in real time so it can&amp;#039;t afford to stack its jobs, it needs to deal with them right away.&lt;br /&gt;
&lt;br /&gt;
For a better and full explanation of Load: http://en.wikipedia.org/wiki/Load_%28computing%29&lt;br /&gt;
&lt;br /&gt;
=== My load is too high, how can I reduce it? ===&lt;br /&gt;
Zoneminder is /very/ tweakable and it&amp;#039;s possible to tune it to compromise. The following are good things to try, in no particular order;&lt;br /&gt;
&lt;br /&gt;
Change the jpeg libraries. In most distributions Linux uses standard jpeg libraries which although fine for most things, don&amp;#039;t use the MMX functions in nearly all modern processors. Check whether your cpu supports mmx by running &amp;quot;cpuid |grep MMX&amp;quot; which should give you a line or two along the lines of &amp;quot;MMX instructions&amp;quot;. If so, give the libs a try. Most people report their load halves simply by using these libs. You may be able to experience substantial Zoneminder performance boosts now by merely upgrading your operating system, without having to download libraries and compile your own binaries, etc. as described in the forum thread linked below.  Some distributions, e.g. Fedora 14 now include library code to utilize the instruction set extensions available in your processor: &lt;br /&gt;
&lt;br /&gt;
  http://fedoraproject.org/wiki/Fedora_14_Alpha_release_notes#Faster_JPEG_Compression.2FDecompression&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The replacement of libjpeg with libjpeg-turbo brings speed improvements to a wide range of applications when handling images in JPEG format ...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  http://fedoraproject.org/wiki/Releases/14/Schedule&lt;br /&gt;
&lt;br /&gt;
still states &amp;quot;2010-11-02 final release&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
CentOS 6.4 now has libjpeg-turbo built in as the default jpeg library allowing the best results out of the box.&lt;br /&gt;
&lt;br /&gt;
  http://libjpeg-turbo.virtualgl.org/&lt;br /&gt;
&lt;br /&gt;
provides some history on its project page.  If you seek confirmation for which library is in use, you may consider querying e.g. while running on a prior distribution:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[u@who ~]$ rpm -q --whatprovides libjpeg&lt;br /&gt;
libjpeg-6b-46.fc12.i686&lt;br /&gt;
[u@who ~]$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and comparing the response to querying when the higher-performance library is available:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[u@who ~]$ rpm -q --whatprovides libjpeg&lt;br /&gt;
libjpeg-turbo-1.0.1-1.fc14.x86_64&lt;br /&gt;
[u@who ~]$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
As noted in other forum postings, some zoneminder camera and usage configurations may not make much use of jpeg processing (e.g. some webcams), and thus obtain little performance benefit.  Otherwise, you should be able to select one or more of:&lt;br /&gt;
* running more cameras,&lt;br /&gt;
* running existing cameras at higher image resolutions,&lt;br /&gt;
* running cameras at a faster frame rate,&lt;br /&gt;
* saving MoDect images with higher quality,&lt;br /&gt;
* having more CPU cycles available for any non-Zoneminder workload, etc.&lt;br /&gt;
&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=6419 gives more info on the download-the-library-yourself, compile-your-own-Zoneminder binary, etc. approach if needed. Nobody&amp;#039;s posted there to say it broke their system... Yet.&lt;br /&gt;
&lt;br /&gt;
If your camera allows you to change image size, think whether you can get away with smaller images. Smaller pics = less load. 320x240 is usually ok for close-up corridor shots.&lt;br /&gt;
&lt;br /&gt;
Go Black and White. Colour pictures use twice to three times the CPU, memory and diskspace but give little benefit to identification.&lt;br /&gt;
&lt;br /&gt;
Reduce frames per second. Halve the fps, halve the workload. If your camera supports fps throttling (Axis do), try that - saves ZM having to drop frames from a stream. 2-5 fps seems to be widely used.&lt;br /&gt;
&lt;br /&gt;
Experiment with using jpeg instead of mjpeg. Some users have reported it gives better performance, but YMMV.&lt;br /&gt;
&lt;br /&gt;
Tweak the zones. Keep them as small and as few as possible. Stick to one zone unless you really need more.&lt;br /&gt;
&lt;br /&gt;
Schedule. If you are running a linux system at near capacity, you&amp;#039;ll need to think carefully about things like backups and scheduled tasks. updatedb - the process which maintains a file database so that &amp;#039;locate&amp;#039; works quickly, is normally scheduled to run once a day and if on a busy system can create a heavy increase on the load. The same is true for scheduled backups, especially those which compress the files. Re-schedule these tasks to a time when the cpu is less likely to be busy, if possible - and also use the &amp;quot;nice&amp;quot; command to reduce their priority. (crontab and /etc/cron.daily/ are good places to start)&lt;br /&gt;
&lt;br /&gt;
Reduce clutter on your PC. Don&amp;#039;t run X unless you really need it, the GUI is a huge overhead in both memory and cpu.&lt;br /&gt;
&lt;br /&gt;
More expensive options:&lt;br /&gt;
&lt;br /&gt;
Increase RAM. If your system is having to use disk swap it will HUGELY impact performance in all areas. Again, htop is a good monitor - but first you need to understand that because Linux is using all the memory, it doesn&amp;#039;t mean it needs it all - linux handles ram very differently to Windows/DOS and caches stuff. htop will show cached ram as a different colour in the memory graph. Also check that you&amp;#039;re actually using a high memory capable kernel - many kernels don&amp;#039;t enable high memory by default. &lt;br /&gt;
&lt;br /&gt;
Faster CPU. Simple but effective. Zoneminder also works very well with multiple processor systems out of the box (if SMP is enabled in your kernel). The load of different cameras is spread across the processors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Try building Zoneminder with processor specific instructions that are optimised to the system it will be running on, also increasing the optimisation level of GCC beyond -O2 will help.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure CFLAGS=&amp;quot;-g -O3 -march=athlon-xp -mtune=athlon-xp&amp;quot; CXXFLAGS=&amp;quot;-g -O3 -march=athlon-xp -mtune=athlon-xp&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The above command is optimised for an Athlon XP cpu so you will need to use the specific processor tag for your cpu, also the compiler optimisation has been increased to -O3.&lt;br /&gt;
&lt;br /&gt;
You also need to put in your normal ./configure commands as if you were compiling with out this optimisation.&lt;br /&gt;
&lt;br /&gt;
A further note is that the compile must be performed on the system that Zoneminder will be running on as this optimisation will make it hardware specific code.&lt;br /&gt;
&lt;br /&gt;
Processor specific commands can be found in the GCC manual along with some more options that may increase performanc. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The below command has been used to compile Zoneminder on a Athlon XP system running CentOS 5.5 and along with the libjpeg-turbo modification to reduce the CPU load in half, libjpeg-turbo reduced the load by 1/3 before the processor optimisation.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin CFLAGS=&amp;quot;-g -O3 -march=athlon-xp -mtune=athlon-xp&amp;quot; CXXFLAGS=&amp;quot;-D__STDC_CONSTANT_MACROS -g -O3 -march=athlon-xp -mtune=athlon-xp&amp;quot; --enable-mmap --sysconfdir=/etc/zm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command has been used to compile Zoneminder 1.25 on a CentOS 6.0 system, the native command should choose the processor automatically during compile time, this needs to be performed on the actual system!!.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CFLAGS=&amp;quot;-g -O3 -march=native -mtune=native&amp;quot; CXXFLAGS=&amp;quot;-D__STDC_CONSTANT_MACROS -g -O3 -march=native -mtune=native&amp;quot; ./configure  --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=your_zm_user ZM_DB_PASS=your_zm_password ZM_SSL_LIB=openssl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== What about disks and bandwidth? ===&lt;br /&gt;
&lt;br /&gt;
In most modern pc-based servers, disk I/O is more than adequate for the speeds involved in capturing from multiple cameras in most scenarios.&lt;br /&gt;
&lt;br /&gt;
A typical 100mbit LAN will cope with most setups easily. If you&amp;#039;re feeding from cameras over smaller or internet links, obviously fps will be much lower.&lt;br /&gt;
&lt;br /&gt;
Disk and Bandwidth calculators are referenced on the Zoneminder wiki here: http://www.zoneminder.com/wiki/index.php/FAQ#How_much_Hard_Disk_Space_.2F_Bandwidth_do_I_need_for_ZM.3F&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Building ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
=== When running configure I am getting a lot of messages about not being able to compile the ffmpeg libraries ===&lt;br /&gt;
&lt;br /&gt;
If you see output from configure that looks like this&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;checking libavcodec/avcodec.h usability... no&lt;br /&gt;
checking libavcodec/avcodec.h presence... yes&lt;br /&gt;
configure: WARNING: libavcodec/avcodec.h: present but cannot be compiled&lt;br /&gt;
configure: WARNING: libavcodec/avcodec.h:     check for missing&lt;br /&gt;
prerequisite headers?&lt;br /&gt;
configure: WARNING: libavcodec/avcodec.h: see the Autoconf documentation&lt;br /&gt;
configure: WARNING: libavcodec/avcodec.h:     section &amp;quot;Present But&lt;br /&gt;
Cannot Be Compiled&amp;quot;&lt;br /&gt;
configure: WARNING: libavcodec/avcodec.h: proceeding with the compiler&amp;#039;s&lt;br /&gt;
result&lt;br /&gt;
configure: WARNING:     ## ------------------------------------- ##&lt;br /&gt;
configure: WARNING:     ## Report this to support@zoneminder.com ##&lt;br /&gt;
configure: WARNING:     ## ------------------------------------- ##&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then it is caused not by the ZoneMinder build system but ffmpeg itself. However there is a workaround you can use which is to add&lt;br /&gt;
&lt;br /&gt;
  CPPFLAGS=-D__STDC_CONSTANT_MACROS&lt;br /&gt;
&lt;br /&gt;
to the ZoneMinder ./configure command which should solve the issue. However this is not a proper &amp;#039;fix&amp;#039; as such, which can only come from the ffmpeg project itself.&lt;br /&gt;
&lt;br /&gt;
=== I cannot build ZoneMinder and am getting lots of undefined C++ template errors===&lt;br /&gt;
&lt;br /&gt;
This is almost certainly due to the &amp;#039;ccache&amp;#039; package which attempts to speed up compilation by caching compiled objects. Unfortunately one of the side effects is that it breaks the GNU g++ template resolution method that ZoneMinder uses in building by prevent files getting recompiled. The simplest way around this is to remove the ccache package using your distros package manager.&lt;br /&gt;
&lt;br /&gt;
=== How do I build for X10 support? ===&lt;br /&gt;
&lt;br /&gt;
You do not need to rebuild ZM for X10 support. You will need to install the perl module and switch on X10 in the options, then restart. Installing the perl module is covered in the README amongst other places but in summary, do:&lt;br /&gt;
&lt;br /&gt;
 perl -MCPAN -eshell&lt;br /&gt;
 install X10::ActiveHome&lt;br /&gt;
 quit&lt;br /&gt;
&lt;br /&gt;
== Extending ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
=== How can I get ZM to do different things at different times of day or week? ===&lt;br /&gt;
If you want to configure ZoneMinder to do motion detection during the day and just record at night, for example, you will need to use ZoneMinder &amp;#039;run states&amp;#039;. A run state is a particular configuration of monitor functions that you want to use at any time.&lt;br /&gt;
&lt;br /&gt;
To save a run state you should first configure your monitors for Modect, Record, Monitor etc as you would want them during one of the times of day. Then click on the running state link at the top of the Console view. This will usually say &amp;#039;Running&amp;#039; or &amp;#039;Stopped&amp;#039;. You will then be able to save the current state and give it a name, &amp;#039;Daytime&amp;#039; for example. Now configure your monitors how you would want them during other times of day and save that, for instance as &amp;#039;Nighttime&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Now you can switch between these two states by selecting them from the same dialog you saved them, or from the command line from issue the command &amp;#039;&amp;#039;zmpkg.pl &amp;lt;run state&amp;gt;&amp;#039;&amp;#039;, for example &amp;#039;&amp;#039;zmpkg.pl Daytime&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The final step you need to take, is scheduling the time the changes take effect. For this you can use [http://en.wikipedia.org/wiki/Cron cron]. A simple entry to change to the Daylight state at at 8am and to the nighttime state at 8pm would be as follows,&lt;br /&gt;
&amp;lt;pre&amp;gt;0 8 * * * root /usr/local/bin/zmpkg.pl Daytime&lt;br /&gt;
0 20 * * * root /usr/local/bin/zmpkg.pl Nighttime&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Ubuntu 7.04 and possibly others, look in /usr/bin not just /usr/local/bin for the zmpkg.pl file.&lt;br /&gt;
&lt;br /&gt;
Although the example above describes changing states at different times of day, the same principle can equally be applied to days of the week or other more arbitrary periods.&lt;br /&gt;
&lt;br /&gt;
For an alternative method of time controlling ZoneMinder, forum user &amp;#039;voronwe&amp;#039; has created a more interactive calendar style integration. Details of this can be found in this [http://www.zoneminder.com/forums/viewtopic.php?t=6519 forum thread]. If you would like to find out more about this contribution please post on this thread.&lt;br /&gt;
&lt;br /&gt;
=== How can I use ZoneMinder to trigger something else when there is an alarm? ===&lt;br /&gt;
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 &amp;#039;perldoc ZoneMinder&amp;#039;, &amp;#039;perldoc ZoneMinder::SharedMem&amp;#039; etc.&lt;br /&gt;
Below is 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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/usr/bin/perl -w&lt;br /&gt;
&lt;br /&gt;
use strict;&lt;br /&gt;
&lt;br /&gt;
use ZoneMinder;&lt;br /&gt;
&lt;br /&gt;
$| = 1;&lt;br /&gt;
&lt;br /&gt;
zmDbgInit( &amp;quot;myscript&amp;quot;, level=&amp;gt;0, to_log=&amp;gt;0, to_syslog=&amp;gt;0, to_term=&amp;gt;1 );&lt;br /&gt;
&lt;br /&gt;
my $dbh = DBI-&amp;gt;connect( &amp;quot;DBI:mysql:database=&amp;quot;.ZM_DB_NAME.&amp;quot;;host=&amp;quot;.ZM_DB_HOST, ZM_DB_USER, ZM_DB_PASS );&lt;br /&gt;
&lt;br /&gt;
my $sql = &amp;quot;select M.*, max(E.Id) as LastEventId from Monitors as M left join Events as E on M.Id = E.MonitorId where M.Function != &amp;#039;None&amp;#039; group by (M.Id)&amp;quot;;&lt;br /&gt;
my $sth = $dbh-&amp;gt;prepare_cached( $sql ) or die( &amp;quot;Can&amp;#039;t prepare &amp;#039;$sql&amp;#039;: &amp;quot;.$dbh-&amp;gt;errstr() );&lt;br /&gt;
&lt;br /&gt;
my $res = $sth-&amp;gt;execute() or die( &amp;quot;Can&amp;#039;t execute &amp;#039;$sql&amp;#039;: &amp;quot;.$sth-&amp;gt;errstr() );&lt;br /&gt;
my @monitors;&lt;br /&gt;
while ( my $monitor = $sth-&amp;gt;fetchrow_hashref() )&lt;br /&gt;
{&lt;br /&gt;
    push( @monitors, $monitor );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
while( 1 )&lt;br /&gt;
{&lt;br /&gt;
    foreach my $monitor ( @monitors )&lt;br /&gt;
    {&lt;br /&gt;
        next if ( !zmMemVerify( $monitor ) );&lt;br /&gt;
 &lt;br /&gt;
        if ( my $last_event_id = zmHasAlarmed( $monitor, $monitor-&amp;gt;{LastEventId} ) )&lt;br /&gt;
        {&lt;br /&gt;
            $monitor-&amp;gt;{LastEventId} = $last_event_id;&lt;br /&gt;
            print( &amp;quot;Monitor &amp;quot;.$monitor-&amp;gt;{Name}.&amp;quot; has alarmed\n&amp;quot; );&lt;br /&gt;
            #&lt;br /&gt;
            # Do your stuff here&lt;br /&gt;
            #&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    sleep( 1 );&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Trouble Shooting==&lt;br /&gt;
Here are some things that will help you track down whats wrong.&lt;br /&gt;
This is also how to obtain the info that we need to help you on the forums.&lt;br /&gt;
&lt;br /&gt;
===What logs should I check for errors?===&lt;br /&gt;
ZoneMinder creates its own logs and are usually located in the &amp;lt;tt&amp;gt;/tmp&amp;lt;/tt&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
The ZoneMinder logs for the RPM packages are located in &amp;lt;tt&amp;gt;/var/log/zm&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Depending on your problem errors can show up in any of these logs but, usually the logs of interest are &amp;lt;tt&amp;gt;zmdc.log&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;zmpkg.log&amp;lt;/tt&amp;gt; if ZM is not able to start.&lt;br /&gt;
&lt;br /&gt;
Now since ZM is dependent on other components to work, you might not find errors in ZM but in the other components.&lt;br /&gt;
Other logs of interest are:&amp;lt;tt&amp;gt;&lt;br /&gt;
*/var/log/messages and/or /var/log/syslog&lt;br /&gt;
*/var/log/dmesg&lt;br /&gt;
*/var/log/httpd/error_log&amp;lt;/tt&amp;gt; (RedHat/Fedora) or &amp;lt;tt&amp;gt;/var/log/apache2/error_log&lt;br /&gt;
*/var/log/mysqld.log&amp;lt;/tt&amp;gt; (Errors here don&amp;#039;t happen very often but just in case)&lt;br /&gt;
&lt;br /&gt;
If ZM is not functioning, you should always be able to find an error in at least one of these logs. Use the [[tail]] command to get info from the logs. This can be done like so: &lt;br /&gt;
&lt;br /&gt;
  tail -f /var/log/messages /var/log/httpd/error_log /var/log/zm/zm*.log&lt;br /&gt;
&lt;br /&gt;
This will append any data entered to any of these logs to your console screen (&amp;lt;tt&amp;gt;-f&amp;lt;/tt&amp;gt;). To exit, hit [ctrl -c].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More verbose logging for the ZoneMinder binaries is available by enabling the debug option from the control panel and will be placed in the path you have configured for the debug logs. Output can be limited to a specific binary as described in the Debug options page under the &amp;quot;?&amp;quot; marks.&lt;br /&gt;
&lt;br /&gt;
===How can I trouble shoot the hardware and/or software?===&lt;br /&gt;
Here are some commands to get information about your hardware. Some commands are distribution dependent.&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[lspci]] -vv&amp;lt;/tt&amp;gt; -- Returns lots of detailed info. Check for conflicting interrupts or port assignments. You can sometimes alter interrupts/ ports in bios. Try a different pci slot to get a clue if it is HW conflict (comand provided by the pciutils package).&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[scanpci]] -v&amp;lt;/tt&amp;gt;  -- Gives you information from your hardware EPROM&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[lsusb]] -vv&amp;lt;/tt&amp;gt; -- Returns lots of detail about USB devices (camand provided by usbutils package).&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[dmesg]]&amp;lt;/tt&amp;gt; -- Shows you how your hardware initialized (or didn&amp;#039;t) on boot-up. You will get the most use of this.&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[v4l-info]]&amp;lt;/tt&amp;gt; -- to see how driver is talking to card. look for unusual values.&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[modinfo bttv]]&amp;lt;/tt&amp;gt; -- some bttv driver stats.&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[zmu]]  -m 0 -q -v&amp;lt;/tt&amp;gt; -- Returns various information regarding a monitor configuration.&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[ipcs]] &amp;lt;/tt&amp;gt;  -- Provides information on the ipc facilities for which the calling process has read acccess.&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[ipcrm]] &amp;lt;/tt&amp;gt;  -- The ipcrm command can be used to remove an IPC object from the kernel.&lt;br /&gt;
* &amp;lt;tt&amp;gt;cat /proc/interrupts&amp;lt;/tt&amp;gt;  -- This will dispaly what interrupts your hardware is using.&lt;br /&gt;
&lt;br /&gt;
===Why is it that when monitoring a camera, the top portion of the image is cutoff and appears at the bottom of the image, with a line seperating the top from the bottom?===&lt;br /&gt;
&lt;br /&gt;
=== Why am I getting a 403 access error with my web browser when trying to access http //localhost/zm? ===&lt;br /&gt;
&lt;br /&gt;
The apache web server needs to have the right permissions and configuration to be able to read the Zoneminder files. Check the forums for solution, and edit the apache configuration and change directory permissions to give apache the right to read the Zoneminder files. Depending on your Zoneminder configuration, you would use the zm user and group that Zoneminder was built with, such as wwwuser and www.&lt;br /&gt;
&lt;br /&gt;
=== Why am I getting broken images when trying to view events? ===&lt;br /&gt;
&lt;br /&gt;
Zoneminder and the Apache web server need to have the right permissions. Check this forum topic and similar ones:&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?p=48754#48754&lt;br /&gt;
&lt;br /&gt;
===Why is the image from my color camera appearing in black and white?===&lt;br /&gt;
This may occur if you have a NTSC analog camera but have configured the source in ZoneMinder as PAL for the Device Format under the source tab.  You may also be mislead because zmu can report the video port as being PAL when the camera is actually NTSC.  Confirm the format of your analog camera by checking it&amp;#039;s technical specifications, possibly found with the packaging it came in, on the manufacturers website, or even on the retail website where you purchased the camera.  Change the Device Format setting to NTSC and set it to the lowest resolution of 320 x 240.  If you have confirmed that the camera itself is NTSC format, but don&amp;#039;t get a picture using the NTSC setting, consider increasing the shared memory &amp;#039;&amp;#039;&amp;#039;kernel.shmall&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;kernel.shmmax&amp;#039;&amp;#039;&amp;#039; settings in /etc/sysctl.conf to a larger value such as 268435456.  This is also the reason you should start with the 320x240 resolution, so as to minimize the potential of memory problems which would interfere with your attempts to troubleshoot the device format issue.  Once you have obtained a picture in the monitor using the NTSC format, then you can experiment with raising the resolution.&lt;br /&gt;
&lt;br /&gt;
===Why do I only see blue screens with a timestamp when monitoring my camera?===&lt;br /&gt;
If this camera is attached to a capture card, then you may have selected the wrong Device Source or Channel when configuring the monitor in the ZoneMinder console.  If you have a capture card with 2 D-sub style inputs(looks like a VGA port) to which you attach a provided splitter that splits off multiple cables, then the splitter may be attached to the wrong port.  For example, PV-149 capture cards have two D-sub style ports labeled as DB1 and DB2, and come packaged with a connector for one of these ports that splits into 4 BNC connecters.  The initial four video ports are available with the splitter attached to DB1.&lt;br /&gt;
&lt;br /&gt;
===Why do I only see black screens with a timestamp when monitoring my camera?===&lt;br /&gt;
In the monitor windows where you see the black screen with a timestamp, select settings and enter the Brightness, Contrast, Hue, and Color settings reported for the device by &amp;#039;&amp;#039;&amp;#039;zmu -d &amp;lt;device_path&amp;gt; -q -v&amp;#039;&amp;#039;&amp;#039;.  32768 may be appropriate values to try for these settings.  After saving the settings, select Settings again to confirm they saved successfully.&lt;br /&gt;
&lt;br /&gt;
===I am getting messages about a backtrace in my logs, what do I do?===&lt;br /&gt;
If you are seeing entries in your log like the following&lt;br /&gt;
&amp;lt;pre&amp;gt;Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /lib64/libc.so.6 [0x3347230210]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /lib64/libc.so.6(memset+0xce) [0x334727684e]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma [0x40ee9a]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma [0x419946]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma [0x4213cf]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma(cos+0x35c) [0x404674]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xf4) [0x334721da44]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma(cos+0xd1) [0x4043e9]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: INF [Backtrace complete]&amp;lt;/pre&amp;gt;&lt;br /&gt;
then you can help diagnose the problem by running a special command to translate the hex addresses into helpful information. This command is called addr2line and you can type &amp;#039;man addr2line&amp;#039; for more information.&lt;br /&gt;
Basically addr2line takes two sets of parameters, the first is the name of the binary file, and the second is a list of addresses. Both of these pieces of information are displayed in the logs. The filename is the first part after the &amp;#039;Backtrace:&amp;#039; tag, in this case /usr/local/bin/zma, though it may well be different in your case. Some of the lines refer to libraries rather than the zma executable but those can be ignored for now, the important part is noting which ZM binary is involved. The binary file is passed in following the -e flag. The addresses to pass to addr2line are those contained in the &amp;#039;[]&amp;#039; pairs. Again you can ignore those that are on a line that refers to a library but it will not hurt if you include them.&lt;br /&gt;
So in the example above, the command would be &amp;lt;pre&amp;gt;addr2line -e /usr/local/bin/zma 0x40ee9a 0x419946 0x4213cf 0x404674 0x4043e9&amp;lt;/pre&amp;gt;&lt;br /&gt;
This should then dump out a more symbolic list containing source file names and line numbers, and it is this information which will be helpful if posted to the forums. Sometimes addr2line fails to produce useful output. This is usually because either the problem is so severe that it has corrupted the stack and prevented useful information from being displayed, or that you have either compiled ZM without the -g flag for debug, or you have stripped the binaries of symbol information after installation. This this case you would need to rebuild temporarily with debug enabled for the information to be useful.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This error some times happens when a linked camera looses its link or it is corrupted by the user or some other system event, try deleting the affected cameras and recreating them in the Zoneminder console.&lt;br /&gt;
&lt;br /&gt;
===How do I repair the MySQL Database?===&lt;br /&gt;
There is two ways to go about this. In most cases you can run from the command prompt -&amp;gt;&lt;br /&gt;
* mysqlcheck --all-databases --auto-repair -p&amp;#039;&amp;#039;&amp;#039;your_database_password&amp;#039;&amp;#039;&amp;#039; -u &amp;#039;&amp;#039;&amp;#039;your_databse_user&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If that does not work then you will have to make sure that ZoneMinder is stopped then run the following (nothing should be using the database while running this and you will have to adjust for your correct path if it is different). -&amp;gt;&lt;br /&gt;
* myisamchk --silent --force --fast --update-state -O key_buffer=64M -O sort_buffer=64M -O read_buffer=1M -O write_buffer=1M /var/lib/mysql/*/*.MYI &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How do I repair the MySQL Database when the cli fails?===&lt;br /&gt;
In Ubuntu, the commands listed above do not seem to work.  However, actually doing it by hand from within MySQL does.  (But that is beyond the scope of this document)  But that got me thinking...  And phpmyadmin does work.  Bring up a terminal.&lt;br /&gt;
 sudo apt-get install phpmyadmin&lt;br /&gt;
&lt;br /&gt;
Now go to http://zoneminder_IP/ and stop the ZM service.  Continue to http://zoneminder_IP/phpmyadmin and select the zoneminder database.  Select and tables marked &amp;#039;in use&amp;#039; and pick the action &amp;#039;repare&amp;#039; to fix.  Restart the zoneminder service from the web browser.  Remove or disable the phpmyadmin tool, as it is not always the most secure thing around, and opens your database wide to any skilled hacker.&lt;br /&gt;
 sudo apt-get remove phpmyadmin&lt;br /&gt;
&lt;br /&gt;
===I upgraded by distribution and ZM stopped working===&lt;br /&gt;
Some possibilties (Incomplete list and subject to correction)&lt;br /&gt;
#[[/usr/local/bin/zmfix: /usr/lib/libmysqlclient.so.15: version `MYSQL_5.0&amp;#039; not found (required by /usr/local/bin/zmfix)]]  :: Solution: Recompile and reinstall Zoneminder.&lt;br /&gt;
Any time you update a major version that ZoneMinder depends on, you need to recompile ZoneMinder.&lt;br /&gt;
&lt;br /&gt;
===Zoneminder doesn&amp;#039;t start automatically on boot===&lt;br /&gt;
Check the list for log entries like &amp;quot;zmfix[766]: ERR [Can&amp;#039;t connect to server: Can&amp;#039;t connect to local MySQL server through socket &amp;#039;/var/run/mysqld/mysqld.sock&amp;#039; (2)] &amp;quot;. &lt;br /&gt;
What can happen is that zoneminder is started too quickly after Mysql and tries to contact the database server before it&amp;#039;s ready. Zoneminder gets no answer and aborts. &lt;br /&gt;
August 2010 - Ubuntu upgrades seem to be leaving several systems in this state. One way around this is to add a delay to the zoneminder startup script allowing Mysql to finish starting. &lt;br /&gt;
&amp;quot;Simply adding &amp;#039;sleep 15&amp;#039; in the line above &amp;#039;zmfix -a&amp;#039; in the /etc/init.d/zoneminder file fixed my ZoneMinder startup problems!&amp;quot; - credit to Pada.&lt;br /&gt;
&lt;br /&gt;
=== Remote Path setup for Panasonic and other Camera ===&lt;br /&gt;
On adding or editing the source you can select the preset link for the parameters for the specified camera .  In version 1.23.3  presets for BTTV,Axis,Panasonic,GadSpot,VEO, and BlueNet are available . Selecting the presets  ZM fills up the required value for the remote path variable&lt;br /&gt;
&lt;br /&gt;
=== Why do I get repeated/ mixed/unstable/ blank monitors on bt878-like cards (a.k.a. PICO 2000) ===&lt;br /&gt;
&lt;br /&gt;
Please have a check at [[Pico2000]];&lt;br /&gt;
&lt;br /&gt;
===What causes &amp;quot;Invalid JPEG file structure: two SOI markers&amp;quot; from zmc (1.24.x)===&lt;br /&gt;
&lt;br /&gt;
Some settings that used to be global only are now per camera.  On the Monitor Source tab, if you are using Remote Protocol  &amp;quot;HTTP&amp;quot; and Remote Method &amp;quot;Simple&amp;quot;, try changing Remote Method to &amp;quot;Regexp&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
=== I see ZoneMinder is licensed under the GPL. What does that allow or restrict me in doing with ZoneMinder? ===&lt;br /&gt;
&lt;br /&gt;
The ZoneMinder license is described at the end of the documentation and consists of the following section&lt;br /&gt;
&lt;br /&gt;
 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as&lt;br /&gt;
 published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.&lt;br /&gt;
 &lt;br /&gt;
 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty&lt;br /&gt;
 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&lt;br /&gt;
&lt;br /&gt;
This means that ZoneMinder is licensed under the terms described [http://www.gnu.org/copyleft/gpl.html here]. There is a comprehensive FAQ covering the GPL at http://www.gnu.org/licenses/gpl-faq.html but in essence you are allowed to redistribute or modify GPL licensed software provided that you release your distribution or modifications freely under the same terms. You are allowed to sell systems based on GPL software. You are not allowed to restrict or reduce the rights of GPL software in your distribution however. Of course if you are just making modifications for your system locally you are not releasing changes so you have no obligations in this case. I recommend reading the GPL FAQ for more in-depth coverage of this issue.&lt;br /&gt;
&lt;br /&gt;
=== Can I use ZoneMinder as part of my commercial product? ===&lt;br /&gt;
&lt;br /&gt;
The GPL license allows you produce systems based on GPL software provided your systems also adhere to that license and any modifications you make are also released under the same terms.  The GPL does not permit you to include ZoneMinder in proprietary systems (see http://www.gnu.org/licenses/gpl-faq.html#GPLInProprietarySystem for details). If you wish to include ZoneMinder in this kind of system then you will need to license ZoneMinder under different terms. This is sometimes possible and you will need to contact me for further details in these circumstances.&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Talk:Main_Documentation&amp;diff=5725</id>
		<title>Talk:Main Documentation</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Talk:Main_Documentation&amp;diff=5725"/>
		<updated>2013-05-16T16:07:25Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: /* I RIKE it! Thank you! */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Im not familiar with zm, so I wont edit the main wiki, but the rpm install of zm 1.24.2 for suse 11.3 was a bit different:&lt;br /&gt;
&lt;br /&gt;
I used the one click install. It offered the preselected zm repo and other unselected repos.&lt;br /&gt;
I selected one of the packman repos, too, so that dependencies could be resolved (iirc without it, a perl zip module was missing).&lt;br /&gt;
&lt;br /&gt;
#I configured /etc/zm.conf with a different user name but discovered, that is not possible. Leave it as zm_admin or the next step will fail.&lt;br /&gt;
#The zminit command was not found. I used zm_database_init instead. And this seems to need user zm_admin:&lt;br /&gt;
&lt;br /&gt;
 # zm_database_init&lt;br /&gt;
 INFO: when db is correctly installed and you just reinstalled rpm, then answer all questions with &amp;#039;n&amp;#039; &lt;br /&gt;
 new install create db&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &lt;br /&gt;
 enter mysql root password: &lt;br /&gt;
 &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 create user zm_admin for zoneminder? [Y/n]: &lt;br /&gt;
 Enter new passwd for user zm_admin: &lt;br /&gt;
 &lt;br /&gt;
 retype password: &lt;br /&gt;
 &lt;br /&gt;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 removing lock file &lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
I did the remaining tasks (activate apache2 and zm in runlevel 3 and 5, etc.) with yast gui.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe the changes are not distro specific but due to newer zm release. If someone with mandrake and fedora knowledge confirms this, it could be copied to the main wiki...&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
&lt;br /&gt;
Having gone &amp;#039;aptitude -y install zoneminder&amp;#039;, not having yet gone to the wiki, in coming to zoneminder.com, hit support, then documentation, I get to a very substantive page. Thank you. Since I&amp;#039;m already &amp;#039;installed&amp;#039;, I hit the link for Tutorial.&lt;br /&gt;
&lt;br /&gt;
Which starts with &amp;#039;What you see now.&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Well, I don&amp;#039;t see anything now.&lt;br /&gt;
&lt;br /&gt;
Could this section be changed to something like ... (if you haven&amp;#039;t already) start up your web browser and go to {somewhere}. Then continue with &amp;#039;What you see now&amp;#039; ...&lt;br /&gt;
&lt;br /&gt;
== I RIKE it! Thank you! ==&lt;br /&gt;
&lt;br /&gt;
&amp;gt; Non-Bugs&lt;br /&gt;
&lt;br /&gt;
&amp;gt; Yes, those are tabs in the indents; I like tabs so don&amp;#039;t go changing them to spaces please.&amp;lt;br&amp;gt;&lt;br /&gt;
Hallelujah!&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;gt; Also, yes I like my opening braces on their own line most of the time, what&amp;#039;s the point of brackets that don&amp;#039;t line up?&amp;lt;br&amp;gt;&lt;br /&gt;
Ditto! (Collapsible, even.)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;gt; Everything else that isn&amp;#039;t definitely broken is probably deliberate, or was once anyway.&amp;lt;br&amp;gt;&lt;br /&gt;
(-:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thank you for this document, and especially this particular bits.&lt;br /&gt;
&lt;br /&gt;
--[[User:Bs27975|Bs27975]] ([[User talk:Bs27975|talk]]) 17:07, 16 May 2013 (BST)&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Talk:Main_Documentation&amp;diff=5724</id>
		<title>Talk:Main Documentation</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Talk:Main_Documentation&amp;diff=5724"/>
		<updated>2013-05-16T16:06:23Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Im not familiar with zm, so I wont edit the main wiki, but the rpm install of zm 1.24.2 for suse 11.3 was a bit different:&lt;br /&gt;
&lt;br /&gt;
I used the one click install. It offered the preselected zm repo and other unselected repos.&lt;br /&gt;
I selected one of the packman repos, too, so that dependencies could be resolved (iirc without it, a perl zip module was missing).&lt;br /&gt;
&lt;br /&gt;
#I configured /etc/zm.conf with a different user name but discovered, that is not possible. Leave it as zm_admin or the next step will fail.&lt;br /&gt;
#The zminit command was not found. I used zm_database_init instead. And this seems to need user zm_admin:&lt;br /&gt;
&lt;br /&gt;
 # zm_database_init&lt;br /&gt;
 INFO: when db is correctly installed and you just reinstalled rpm, then answer all questions with &amp;#039;n&amp;#039; &lt;br /&gt;
 new install create db&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &lt;br /&gt;
 enter mysql root password: &lt;br /&gt;
 &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 create user zm_admin for zoneminder? [Y/n]: &lt;br /&gt;
 Enter new passwd for user zm_admin: &lt;br /&gt;
 &lt;br /&gt;
 retype password: &lt;br /&gt;
 &lt;br /&gt;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 removing lock file &lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
I did the remaining tasks (activate apache2 and zm in runlevel 3 and 5, etc.) with yast gui.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe the changes are not distro specific but due to newer zm release. If someone with mandrake and fedora knowledge confirms this, it could be copied to the main wiki...&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
&lt;br /&gt;
Having gone &amp;#039;aptitude -y install zoneminder&amp;#039;, not having yet gone to the wiki, in coming to zoneminder.com, hit support, then documentation, I get to a very substantive page. Thank you. Since I&amp;#039;m already &amp;#039;installed&amp;#039;, I hit the link for Tutorial.&lt;br /&gt;
&lt;br /&gt;
Which starts with &amp;#039;What you see now.&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Well, I don&amp;#039;t see anything now.&lt;br /&gt;
&lt;br /&gt;
Could this section be changed to something like ... (if you haven&amp;#039;t already) start up your web browser and go to {somewhere}. Then continue with &amp;#039;What you see now&amp;#039; ...&lt;br /&gt;
&lt;br /&gt;
== I RIKE it! Thank you! ==&lt;br /&gt;
&lt;br /&gt;
&amp;gt; Non-Bugs&lt;br /&gt;
&lt;br /&gt;
&amp;gt; Yes, those are tabs in the indents; I like tabs so don&amp;#039;t go changing them to spaces please.&amp;lt;br&amp;gt;&lt;br /&gt;
Hallelujah!&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;gt; Also, yes I like my opening braces on their own line most of the time, what&amp;#039;s the point of brackets that don&amp;#039;t line up?&amp;lt;br&amp;gt;&lt;br /&gt;
Ditto! (Collapsible, even.)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;gt; Everything else that isn&amp;#039;t definitely broken is probably deliberate, or was once anyway.&amp;lt;br&amp;gt;&lt;br /&gt;
(-:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thank you for this document, and in especially these particular bits.&lt;br /&gt;
&lt;br /&gt;
~~&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=FAQ&amp;diff=5723</id>
		<title>FAQ</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=FAQ&amp;diff=5723"/>
		<updated>2013-05-16T12:27:21Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: /* Why can&amp;#039;t I see streamed images when I can see stills in the Zone window etc? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ZoneMinder Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
This is the new FAQ page. I will be migrating the existing FAQs here as soon as possible. In the meantime the old FAQ page is available [http://www.zoneminder.com/faq.html here].&lt;br /&gt;
&lt;br /&gt;
Feel free to contribute any FAQs that you think are missing.&lt;br /&gt;
&lt;br /&gt;
===How can I stop ZoneMinder filling up my disk?===&lt;br /&gt;
&lt;br /&gt;
Recent versions of ZoneMinder come with a filter you can use for this purpose already included. However &amp;#039;&amp;#039;&amp;#039;by default it is not enabled for event deletion&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The filter is called &amp;#039;&amp;#039;PurgeWhenFull&amp;#039;&amp;#039; and to find it, choose one of the event counts from the console page, for instance events in the last hour, for one of your monitors.&lt;br /&gt;
&lt;br /&gt;
This will bring up an event listing and a filter window.&lt;br /&gt;
&lt;br /&gt;
In the filter window there is a drop down select box labeled &amp;#039;Use Filter&amp;#039;, that lets your select a saved filter. Select &amp;#039;PurgeWhenFull&amp;#039; and it will load that filter.&lt;br /&gt;
&lt;br /&gt;
Make any modifications you might want, such as the percentage full you want it to kick in, or how many events to delete at a time (it will repeat the filter as many times as needed to clear the space, but will only delete this many events each time to get there).&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;#039;Save&amp;#039; which will bring up a new window. Make sure the &amp;#039;Automatically delete&amp;#039; box is checked and press save to save your filter. This will then run in the background to keep your disk within those limits.&lt;br /&gt;
&lt;br /&gt;
After you&amp;#039;ve done that, you changes will automatically be loaded into zmfilter within a few minutes.&lt;br /&gt;
&lt;br /&gt;
Check the &amp;lt;tt&amp;gt;zmfilter.log&amp;lt;/tt&amp;gt; file to make sure it is running as sometimes missing perl modules mean that it never runs but people don&amp;#039;t always realize.&lt;br /&gt;
&lt;br /&gt;
There are two methods for ZM to remove files when they are deleted that can be found in Options under the System tab ZM_OPT_FAST_DELETE and ZM_RUN_AUDIT.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ZM_OPT_FAST_DELETE:&lt;br /&gt;
&lt;br /&gt;
Normally an event created as the result of an alarm consists of entries in one or more database tables plus the various files associated with it. When deleting events in the browser it can take a long time to remove all of this if your are trying to do a lot of events at once. It is recommended that you set this option which means that the browser client only deletes the key entries in the events table, which means the events will no longer appear in the listing, and leaves the zmaudit daemon to clear up the rest later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ZM_RUN_AUDIT:&lt;br /&gt;
&lt;br /&gt;
The zmaudit daemon exists to check that the saved information in the database and on the file system match and are consistent with each other. If an error occurs or if you are using &amp;#039;fast deletes&amp;#039; it may be that database records are deleted but files remain. In this case, and similar, zmaudit will remove redundant information to synchronize the two data stores. This option controls whether zmaudit is run in the background and performs these checks and fixes continuously. This is recommended for most systems however if you have a very large number of events the process of scanning the database and file system may take a long time and impact performance. In this case you may prefer to not have zmaudit running unconditionally and schedule occasional checks at other, more convenient, times.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ZM_AUDIT_CHECK_INTERVAL:&lt;br /&gt;
&lt;br /&gt;
The zmaudit daemon exists to check that the saved information in the database and on the files system match and are consistent with each other. If an error occurs or if you are using &amp;#039;fast deletes&amp;#039; it may be that database records are deleted but files remain. In this case, and similar, zmaudit will remove redundant information to synchronize the two data stores. The default check interval of 900 seconds (15 minutes) is fine for most systems however if you have a very large number of events the process of scanning the database and file system may take a long time and impact performance. In this case you may prefer to make this interval much larger to reduce the impact on your system. This option determines how often these checks are performed.&lt;br /&gt;
&lt;br /&gt;
===What does a &amp;#039;Can&amp;#039;t shmget: Invalid argument&amp;#039; error in my logs mean? and my cameras won&amp;#039;t display video at higher resolutions.===&lt;br /&gt;
&lt;br /&gt;
This error is discussed in the README in the following excerpt:-&lt;br /&gt;
&amp;#039;&amp;#039;...this is caused by an attempt to allocate an amount of shared memory greater than your system can handle. The size it requests is based on the following formula, &amp;lt;tt&amp;gt;ring buffer size x image width x image height x 3 (for 24 bit images) + a bit of overhead&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;384x288 capture resolution, that makes: 110 592 pixels&lt;br /&gt;
in 24 bit color that&amp;#039;s x24 = 2 654 208 bits per frame &lt;br /&gt;
by 80 frames ring buffer x80 = 212 336 640 bits per camera &lt;br /&gt;
by 4 cameras x4 = 849 346 560 bits. &lt;br /&gt;
Plus 10% overhead = 934 281 216 bits &lt;br /&gt;
That&amp;#039;s 116 785 152 bytes, and &lt;br /&gt;
= 114 048 kB, respectively 111.38 MB. &lt;br /&gt;
If my shared memory is set to 134 217 728, which is exactly 128MB, &lt;br /&gt;
that means I shouldn&amp;#039;t have any problem.&lt;br /&gt;
(Note that 1 byte = 8 bits and 1kbyte = 1024bytes, 1MB = 1024 kB)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If for instance you were using 24bit 640x480 then this would come to about 92Mb if you are using the default buffer size of 100. If this is too large then you can either reduce the image or buffer sizes or increase the maximum amount of shared memory available. If you are using RedHat then you can get details on how to change these settings at http://www.redhat.com/docs/manuals/database/RHDB-2.1-Manual/admin_user/kernel-resources.html .  &lt;br /&gt;
&lt;br /&gt;
You should be able to use a similar procedure  with other distributions to modify the shared memory pool without kernel recompilations though in some cases this may be necessary. Note, this error also sometimes occurs if you have an old shared memory segment lying around from a previous run that is too small. Use the ipcs and ipcrm system commands to check and remove it if necessary.&amp;#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You can often find out how many 4KB shared memory pages are available by typing the following :-&lt;br /&gt;
&amp;lt;pre&amp;gt;# cat /proc/sys/kernel/shmall&lt;br /&gt;
2097152&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In recent kernels the shmall is set to 2097152 memory pages multiplied by 4096 bytes per page for a total of 8 GB of shared memory available.  You only need to increase the shmall value if you have a computer with more than 8GB of memory and wish to use more of it for shared memory usage, such as large databases.&lt;br /&gt;
&lt;br /&gt;
The most shared memory bytes you can allocate in one go :-&lt;br /&gt;
&amp;lt;pre&amp;gt;# cat /proc/sys/kernel/shmmax&lt;br /&gt;
33554432&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In recent kernels the shmmax is set to 33554432 bytes for only 32 MB of maximum shared memory allocatable at a time, hardly enough for ZoneMinder to go above 320 x 240 x 24-bit resolution at 40 frames in the buffer if it is using the /dev/shm shared memory device, so this value needs to be increased.  If you are using ZoneMinder with the memory mapped (mmap) compile time option then this doesn&amp;#039;t affect you.&lt;br /&gt;
&lt;br /&gt;
To change the value to 128 MB temporarily during this kernel execution type (for example) :-&lt;br /&gt;
&amp;lt;pre&amp;gt;echo 536870912 &amp;gt;/proc/sys/kernel/shmmax&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Be sure to restart ZoneMinder after this.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
However be aware that sometimes you will only need to change the shmmax value as shmall is often large enough. Also changing these values in this way is only effective until your machine is rebooted. &lt;br /&gt;
&lt;br /&gt;
To change them permanently you will need to edit &amp;lt;tt&amp;gt;/etc/sysctl.conf&amp;lt;/tt&amp;gt; and add the following lines (for example) :-&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel.shmmax = 536870912&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or if your distribution has the &amp;lt;tt&amp;gt;/etc/sysctl.d/&amp;lt;/tt&amp;gt; folder you can create a file in this folder without modifying the &amp;lt;tt&amp;gt;/etc/sysctl.d&amp;lt;/tt&amp;gt; so you won&amp;#039;t lose the changes during distro upgrades :-&lt;br /&gt;
&amp;lt;pre&amp;gt;echo kernel.shmmax = 536870912 &amp;gt;/etc/sysctl.d/60-kernel-shm.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To load these settings in the sysctl.conf file type:&lt;br /&gt;
&amp;lt;pre&amp;gt;sysctl -p&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To check your shared memory settings type:&lt;br /&gt;
&amp;lt;pre&amp;gt;ipcs -l&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that with Megapixel cameras like the Axis 207mw becoming cheaper and more attractive, the above memory settings are not adequate. To get Zoneminder working with a full 1280x1024 resolution camera in full color, increase &amp;lt;tt&amp;gt;134217728&amp;lt;/tt&amp;gt; (128 MB) to, for example, &amp;lt;tt&amp;gt;268435456&amp;lt;/tt&amp;gt; (256 MB) and multiple this value by each camera.&lt;br /&gt;
&lt;br /&gt;
These changes will now also be set the next time your machine is restarted.&lt;br /&gt;
&lt;br /&gt;
Versions 1.24.x of ZoneMinder also allows you to use an alternate method of shared memory allocation, [http://en.wikipedia.org/wiki/Mmap mapped memory]. This requires less configuration and can be simpler to use. Mapped memory allows you to use a special type of file as the placeholder for your memory and this file is &amp;#039;mapped&amp;#039; into memory space for easy and fast access.&lt;br /&gt;
&lt;br /&gt;
To enable mapped memory in ZoneMinder you need add add the --enable--mmap=yes switch to your configure line. By default mapped memory files are created in /dev/shm which on most distributions is a dedicated pseudo-partition containing memory formatted as a filesystem. If your system uses a different path then this can be changed in ZoneMinder in Options-&amp;gt;paths-&amp;gt;PATH_MAP. It uses a filesystem type called [http://en.wikipedia.org/wiki/Tmpfs tmpfs]. If you type &amp;#039;df&amp;#039; you should see this area and the size of memory it currently allows. It is important that you do not use a disk based filesystem for your memory mapped files as this will cause memory access to be extremely slow. ZoneMinder creates files called .zm.mmap.&amp;lt;monitor id&amp;gt; in the mapped memory filesystem.&lt;br /&gt;
&lt;br /&gt;
Mapped memory is subject to the same limitations in terms of total memory as using more traditional shared memory but does not require any configuration per allocation or chunk. In future versions of ZoneMinder this will be the default shared memory storage method.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;AlternateSharedMemory&amp;quot; style=&amp;quot;width:80%; border:2px solid #8a8588; background:#faf5ff; vertical-align:top; margin-top: 6px; padding: 4px;&amp;quot;&amp;gt;&lt;br /&gt;
Another good article about shared memory settings http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.uprun.doc/doc/t0008238.htm . &lt;br /&gt;
It made a statement that conflicted with those in the Redhat article but they fixed a [http://www.zoneminder.com/forums/viewtopic.php?t=9692 long standing memory issue on FC6], so give them a try. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The essential difference was that the kernel.shmall setting is NOT in a direct memory setting in KB but in pages of memory. it is Max Pages of memory&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039;&amp;#039; If you want to allocate a maximum memory setting to 8GB you have to convert it to the number of pages (or segments).&lt;br /&gt;
with a page size of 4096.&lt;br /&gt;
*kernel.shmall = 8000x1024x1024/4096&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel.shmall = 2097152&amp;lt;/pre&amp;gt;&lt;br /&gt;
NOT 8388608000 as would be suggested in the RedHat article linked above.&lt;br /&gt;
&lt;br /&gt;
shmmax is the max amount to allocate in one request - &lt;br /&gt;
this is is an actual memory size (as opposed to pages) set to 4GB&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel.shmmax = 4294967296&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;/etc/sysctl.conf&amp;lt;/tt&amp;gt; would have these lines&lt;br /&gt;
&amp;lt;pre&amp;gt;kernel.shmall = 2097152&lt;br /&gt;
kernel.shmmax = 4294967296&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As above, reload your sysctl.conf with &amp;lt;tt&amp;gt;sysctl -p&amp;lt;/tt&amp;gt; and check that the settings are correct with &amp;lt;tt&amp;gt;ipcs -l&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===I have enabled motion detection but it is not always being triggered when things happen in the camera view===&lt;br /&gt;
&lt;br /&gt;
ZoneMinder uses zones to examine images for motion detection. When you create the initial zones you can choose from a number of preset values for sensitivity etc. Whilst these are usually a good starting point they are not always suitable for all situations and you will probably need to tweak the values for your specific circumstances. The meanings of the various settings are described in the documentation (http://www.zoneminder.com/wiki/index.php/Documentation#Defining_Zones) however if you believe you have sensible settings configured then there are two diagnostic approaches you can use.&lt;br /&gt;
&lt;br /&gt;
====Event Statistics====&lt;br /&gt;
The first technique is to use event statistics. Firstly you should ensure they are switched on in Options-&amp;gt;Logging-&amp;gt;RECORD_EVENT_STATS. This will then cause the raw motion detection statistics for any subsequently generated events to be written to the DB. These can then be accessed by first clicking on the Frames or Alarm Frames values of the event from any event list view in the web gui. Then click on the score value to see the actual values that caused the event. Alternatively the stats can be accessed by clicking on the &amp;#039;Stats&amp;#039; link when viewing any individual frame. The values displayed there correspond with the values that are used in the zone configuration and give you an idea of what &amp;#039;real world&amp;#039; values are being generated. &lt;br /&gt;
&lt;br /&gt;
Note that if you are investigating why events &amp;#039;do not&amp;#039; happen then these will not be saved and so won&amp;#039;t be accessible. The best thing to do in that circumstance is to make your zone more sensitive so that it captures all events (perhap even ones you don&amp;#039;t want) so you can get an idea of what values are being generated and then start to adjust back to less sensitive settings if necessary. You should make sure you test your settings under a variety of lighting conditions (e.g. day and night, sunny or dull) to get the best feel for that works and what doesn&amp;#039;t.&lt;br /&gt;
&lt;br /&gt;
Using statistics will slow your system down to a small degree and use a little extra disk space in the DB so once you are happy you can switch them off again. However it is perfectly feasible to keep them permanently on if your system is able to cope which will allow you to review your setting periodically.&lt;br /&gt;
&lt;br /&gt;
====Diagnostic Images====&lt;br /&gt;
The second approach is to use diagnostic images which are saved copies of the intermediate images that ZM uses when determining motion detection. These are switched on and off using Options-&amp;gt;Logging-&amp;gt;RECORD_DIAG_IMAGES.&lt;br /&gt;
&lt;br /&gt;
There are two kinds of diagnostic images which are and are written (and continuously overwritten) to the top level monitor event directory. If an event occurs then the files are additionally copied to the event directory and renamed with the appropriate frame number as a prefix.&lt;br /&gt;
&lt;br /&gt;
The first set are produced by the monitor on the image as a whole. The diag-r.jpg image is the current reference image against which all individual frames are compared and the diag-d.jpg image is the delta image highlighting the difference between the reference image and the last analysed image. In this images identicial pixels will be black and the more different a pixel is the whiter it will be. Viewing this image and determining the colour of the pixels is a good way of getting a feel for the pixel differences you might expect (often more than you think).&lt;br /&gt;
&lt;br /&gt;
The second set of diag images are labelled as diag-&amp;lt;zoneid&amp;gt;-&amp;lt;stage&amp;gt;.jpg where zoneid is the id of the zone in question (Smile) and the stage is where in the alarm check process the image is generated from. So if you have several zones you can expect to see multiple files. Also these files are only interested in what is happening in their zone only and will ignore anything else outside of the zone. The stages that each number represents are as follows,&lt;br /&gt;
&lt;br /&gt;
# Alarmed Pixels - This image shows all pixels in the zone that are considered to be alarmed as white pixels and all other pixels as black.&lt;br /&gt;
# Filtered Pixels - This is as stage one except that all pixels removed by the filters are now black. The white pixels represent the pixels that are candidates to generate an event.&lt;br /&gt;
# Raw Blobs - This image contains all alarmed pixels from stage 2 but aggrageted into blobs. Each blob will have a different greyscale value (between 1 and 254) so they can be difficult to spot with the naked eye but using a colour picker or photoshop will make it easier to see what blob is what.&lt;br /&gt;
# Filtered Blobs - This image is as stage 3 but under (or over) sized blobs have been removed. This is the final step before determining if an event has occurred, just prior to the number of blobs being counted. Thus this image forms the basis for determining whether an event is generated and outlining on alarmed images is done from the blobs in this image.&lt;br /&gt;
&lt;br /&gt;
Using the above images you should be able to tell at all stages what ZM is doing to determine if an event should happen or not. They are useful diagnostic tools but as is mentioned elsewhere they will massively slow your system down and take up a great deal more space. You should never leave ZM running for any length of time with diagnostic images on.&lt;br /&gt;
&lt;br /&gt;
===Why can&amp;#039;t ZoneMinder capture images (either at all or just particularly fast) when I can see my camera just fine in xawtv or similar?===&lt;br /&gt;
&lt;br /&gt;
With capture cards ZoneMinder will pull images as fast as it possibly can unless limited by configuration. ZoneMinder (and any similar application) uses the frame grabber interface to copy frames from video memory into user memory. This takes some time, plus if you have several inputs sharing one capture chip it has to switch between inputs between captures which further slows things down.&lt;br /&gt;
&lt;br /&gt;
On average a card that can capture at 25fps per chip PAL for one input will do maybe 6-10fps for two, 1-4fps for three and 1-2 for four. For a 30fps NTSC chip the figures will be correspondingly higher. However sometimes it is necessary to slow down capture even further as after an input switch it may take a short while for the new image to settle before it can be captured without corruption.&lt;br /&gt;
&lt;br /&gt;
When using xawtv etc to view the stream you are not looking at an image captured using the frame grabber but the card&amp;#039;s video memory mapped onto your screen. This requires no capture or processing unless you do an explicit capture via the J or ctrl-J keys for instance. Some cards or drivers do not support the frame grabber interface at all so may not work with ZoneMinder even though you can view the stream in xawtv. If you can grab a still using the grab functionality of xawtv then in general your card will work with ZoneMinder.&lt;br /&gt;
&lt;br /&gt;
===Why can&amp;#039;t I see streamed images when I can see stills in the Zone window etc?===&lt;br /&gt;
&lt;br /&gt;
This issue is normally down to one of two causes&lt;br /&gt;
&lt;br /&gt;
1) You are using Internet Explorer and are trying to view multi-part jpeg streams. IE does not support these streams directly, unlike most other browsers. You will need to install Cambozola or another multi-part jpeg aware pluging to view them. To do this you will need to obtain the applet from the Downloads page and install the cambozola.jar file in the same directly as the ZoneMinder php files. Then find the ZoneMinder Options-&amp;gt;Images page and enable ZM_OPT_CAMBOZOLA and enter the web path to the .jar file in ZM_PATH_CAMBOZOLA. This will ordinarily just be cambozola.jar. Provided ZM_CAN_STREAM is set to auto and ZM_STREAM_METHOD is set to jpeg then Cambozola should be loaded next time you try and view a stream.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NOTE&amp;#039;&amp;#039;&amp;#039;: 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 (&amp;#039;&amp;#039;-rwxrwxr-x&amp;#039;&amp;#039;) your (&amp;#039;&amp;#039;usr/share/zoneminder/&amp;#039;&amp;#039;) 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;
2) The other common cause for being unable to view streams is that you have installed the ZoneMinder cgi binaries (zms and nph-zms) in a different directory than your web server is expecting. Make sure that the --with-cgidir option you use to the ZoneMinder configure script is the same as the CGI directory configure for your web server. If you are using Apache, which is the most common one, then in your httpd.conf file there should be a line like &amp;lt;pre&amp;gt;ScriptAlias /cgi-bin/ &amp;quot;/var/www/cgi-bin/&amp;quot;&amp;lt;/pre&amp;gt; where the last directory in the quotes is the one you have specified. If not then change one or the other to match. Be warned that configuring apache can be complex so changing the one passed to the ZoneMinder configure (and then rebuilding and reinstalling) is recommended in the first instance. If you change the apache config you will need to restart apache for the changes to take effect. If you still cannot see stream reliably then try changing Options-&amp;gt;Paths-&amp;gt;ZM_PATH_ZMS to just use zms if nph-zms is specified, or vice versa. Also check in your apache error logs.&lt;br /&gt;
&lt;br /&gt;
===I have several monitors configured but when I load the Montage view in FireFox why can I only see two? or, Why don&amp;#039;t all my cameras display when I use the Montage view in FireFox?===&lt;br /&gt;
&lt;br /&gt;
By default FireFox only supports a small number of simultaneous connections. Using the montage view usually requires one persistent connection for each camera plus intermittent connections for other information such as statuses.&lt;br /&gt;
&lt;br /&gt;
You will need to increase the number of allowed connections to use the montage view with more than a small number of cameras.  Certain FireFox extensions such as FasterFox may also help to achieve the same result.&lt;br /&gt;
&lt;br /&gt;
To resolve this situation, follow the instructions below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Enter about:config in the address bar&lt;br /&gt;
&lt;br /&gt;
scroll down to&lt;br /&gt;
browser.cache.check_doc_frequency 3&lt;br /&gt;
change the 3 to a 1&lt;br /&gt;
&lt;br /&gt;
browser.cache.disk.enable True -&amp;gt; False&lt;br /&gt;
network.http.max-connections-per-server -&amp;gt; put a value of 100&lt;br /&gt;
network.http.max-persistent-connections-per-proxy -&amp;gt; 100 again&lt;br /&gt;
network.http.max-persistent-connections-per-server -&amp;gt; 100 again&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Why is ZoneMinder using so much CPU?===&lt;br /&gt;
&lt;br /&gt;
The various elements of ZoneMinder can be involved in some pretty intensive activity, especially while analysing images for motion. However generally this should not overwhelm your machine unless it is very old or underpowered.&lt;br /&gt;
&lt;br /&gt;
There are a number of specific reasons why processor loads can be high either by design or by accident. To figure out exactly what is causing it in your circumstances requires a bit of experimentation.&lt;br /&gt;
&lt;br /&gt;
The main causes are.&lt;br /&gt;
&lt;br /&gt;
# Using a video palette other than greyscale or RGB24. This can cause a relatively minor performace hit, though still significant. Although some cameras and cards require using planar palettes ZM currently doesn&amp;#039;t support this format internally and each frame is converted to an RGB representation prior to processing. Unless you have compelling reasons for using YUV or reduced RGB type palettes such as hitting USB transfer limits I would experiment to see if RGB24 or greyscale is quicker. Put your monitors into &amp;#039;Monitor&amp;#039; mode so that only the capture daemons are running and monitor the process load of these (the &amp;#039;zmc&amp;#039; processes) using top. Try it with various palettes to see if it makes a difference.&lt;br /&gt;
# Big image sizes. A image of 640x480 requires at least four times the processing of a 320x240 image. Experiment with different sizes to see what effect it may have. Sometimes a large image is just two interlaced smaller frames so has no real benefit anyway. This is especially true for analog cameras/cards as image height over 320 (NTSC) or 352 PAL) are invariably interlaced.&lt;br /&gt;
# Capture frame rates. Unless there&amp;#039;s a compelling reason in your case there is often little benefit in running cameras at 25fps when 5-10fps would often get you results just as good. Try changing your monitor settings to limit your cameras to lower frame rates. You can still configure ZM to ignore these limits and capture as fast as possible when motion is detected.&lt;br /&gt;
# Run function. Obviously running in Record or Mocord modes or in Modect with lots of events generates a lot of DB and file activity and so CPU and load will increase.&lt;br /&gt;
# Basic default detection zones. By default when a camera is added one detection zone is added which covers the whole image with a default set of parameters. If your camera covers a view in which various regions are unlikely to generate a valid alarm (ie the sky) then I would experiment with reducing the zone sizes or adding inactive zones to blank out areas you don&amp;#039;t want to monitor. Additionally the actual settings of the zone themselves may not be optimal. When doing motion detection the number of changed pixels above a threshold is examined, then this is filter, then contiguous regions are calculated to see if an alarm is generated. If any maximum or minimum threshold is exceeded according to your zone settings at any time the calculation stops. If your settings always result in the calculations going through to the last stage before being failed then additional CPU time is used unnecessarily. Make sure your maximum and minimumzone thresholds are set to sensible values and experiment by switching RECORD_EVENT_STATS on and seeing what the actual values of alarmed pixels etc are during sample events.&lt;br /&gt;
# Optimise your settings. After you&amp;#039;ve got some settings you&amp;#039;re happy with then switching off RECORD_EVENT_STATS will prevent the statistics being written to the database which saves some time. Other settings which might make a difference are ZM_FAST_RGB_DIFFS, ZM_OPT_FRAME_SERVER and the JPEG_xxx_QUALITY ones.&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m sure there are other things which might make a difference such as what else you have running on the box and memory sizes (make sure there&amp;#039;s no swapping going on). Also speed of disk etc will make some difference during event capture and also if you are watching the whole time then you may have a bunch of zms processes running also.&lt;br /&gt;
&lt;br /&gt;
I think the biggest factors are image size, colour depth and capture rate. Having said that I also don&amp;#039;t always know why you get certains results from &amp;#039;top&amp;#039;. For instance if I have a &amp;#039;zma&amp;#039; daemon running for a monitor that is capturing an image. I&amp;#039;ve commented out the actual analysis so all it&amp;#039;s doing is blending the image with the previous one. In colour mode this takes ~11 milliseconds per frame on my system and the camera is capturing at ~10fps. Using &amp;#039;top&amp;#039; this reports the process as using ~5% of CPU and permanently in R(un) state. Changing to greyscale mode the blending takes ~4msec (as you would expect as this is roughly a third of 11) but top reports the process as now with 0% CPU and permanently in S(leep) state. So an actual CPU resource usage change of a factor of 3 causes huge differences in reported CPU usage. I have yet to get to the bottom of this but I suspect it&amp;#039;s to do with scheduling somewhere along the line and that maybe the greyscale processing will fit into one scheduling time slice whereas the colour one won&amp;#039;t but I have no evidence of this yet!&lt;br /&gt;
&lt;br /&gt;
===Why is the timeline view all messed up?===&lt;br /&gt;
&lt;br /&gt;
The timeline view is a new view allowing you to see a graph of alarm activity over time and to quickly scan and home in on events of interest. However this feature is highly complex and still in beta. It is based extensively on HTML div tags, sometimes lots of them. Whilst FireFox is able to render this view successfully other browsers, particular Internet Explorer do not seem able to cope and so present a messed up view, either always or when there are a lot of events.&lt;br /&gt;
Using the timeline view is only recommended when using FireFox, however even then there may be issues.&lt;br /&gt;
&lt;br /&gt;
This function has from time to time been corrupted in the SVN release or in the stable releases, try and reinstall from a fresh download.&lt;br /&gt;
&lt;br /&gt;
===How much Hard Disk Space / Bandwidth do I need for ZM?===&lt;br /&gt;
Please see [http://www.jpwilson.eu/ZM_Utils/ZM%20storage%20calc%20sheet.xls Storage Calc] in excel format&lt;br /&gt;
&lt;br /&gt;
Or go to [http://www.axis.com/products/video/design_tool/index.htm this link] for the Axis bandwidth calculator. Although this is aimed at Axis cameras it still produces valid results for any kind of IP camera.&lt;br /&gt;
&lt;br /&gt;
As a quick guide I have 4 cameras at 320x240 storing 1 fps except during alarm events. After 1 week 60GB of space in the volume where the events are stored (/var/www/html/zm) has been used.&lt;br /&gt;
&lt;br /&gt;
===When I try and run ZoneMinder I get lots of audit permission errors in the logs and it won&amp;#039;t start===&lt;br /&gt;
Many Linux distributions nowadays are built with security in mind. One of the latest methods of achieving this is via SELinux (Secure Linux) which controls who is able to run what in a more precise way then traditional accounting and file based permissions ([http://en.wikipedia.org/wiki/Selinux]).&lt;br /&gt;
If you are seeing entries in your system log like:&lt;br /&gt;
&lt;br /&gt;
   Jun 11 20:44:02 kernel: audit(1150033442.443:226): avc: denied { read } for pid=5068&lt;br /&gt;
   comm=&amp;quot;uptime&amp;quot; name=&amp;quot;utmp&amp;quot; dev=dm-0 ino=16908345 scontext=user_u:system_r:httpd_sys_script_t&lt;br /&gt;
   tcontext=user_u:object_r:initrc_var_run_t tclass=file&lt;br /&gt;
&lt;br /&gt;
then it is likely that your system has SELinux enabled and it is preventing ZoneMinder from performaing certain activities. You then have two choices. You can either tune SELinux to permit the required operations or you can disable SELinux entirely which will permit ZoneMinder to run unhindered. Disabling SELinux is usually performed by editing it&amp;#039;s configuration file (e.g., &amp;lt;tt&amp;gt;/etc/selinux/config&amp;lt;/tt&amp;gt;) and then rebooting. However if you run a public server you should read up on the risks associated with disabled Secure Linux before disabling it.&lt;br /&gt;
&lt;br /&gt;
Note that SELinux may cause errors other than those listed above. If you are in any doubt then it can be worth disabling SELinux experimentally to see if it fixes your problem before trying other solutions.&lt;br /&gt;
&lt;br /&gt;
=== How do I enable ZoneMinder&amp;#039;s security? ===&lt;br /&gt;
In the console, click on Options. Check the box next to &amp;quot;ZM_OPT_USE_AUTH&amp;quot;. You will immediately be asked to login. The username is &amp;#039;admin&amp;#039; and the password is &amp;#039;admin&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To Manage Users:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
In main console, go to &amp;#039;&amp;#039;&amp;#039;Options-&amp;gt;Users&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
* You may also consider to use the web server security, for example, htaccess files under Apache scope; You may even use this as an additional/redundant security on top of Zoneminders built-in security features;&lt;br /&gt;
&lt;br /&gt;
=== Why does ZM stop recording once I have 32000 events for my monitor? ===&lt;br /&gt;
This is a limitation of the ext3 filesystem that most Linux distributions use. One directory cannot hold more than 32k approx  files.&lt;br /&gt;
&lt;br /&gt;
Version of ZM from 1.23.0 onwards allow you to have a deeper filesystem with fewer files per individual directory. As well as not being susceptible to the 32k limit this is also somewhat  faster. However it is relatively and although few issues have been reported thus far it should be considered in beta for now. Also, it is currently not possible to migrate saved events between the different storage formats so is only suitable for new installations or if you do not mind losing saved events.&lt;br /&gt;
&lt;br /&gt;
So if you do not want to use the deeper filesystem option&lt;br /&gt;
(Options-&amp;gt;Paths-&amp;gt;ZM_USE_DEEP_STORAGE), for now you have to reduce the&lt;br /&gt;
number of events or store your images (e.g. /var/lib/zoneminder) on a&lt;br /&gt;
partition that uses a different filesystem such as ext4 or reiserfs.&lt;br /&gt;
&lt;br /&gt;
You can read about the lack of a limit in the number of&lt;br /&gt;
sub-directories in the ext4 filesystem at:&lt;br /&gt;
  http://kernelnewbies.org/Ext4&lt;br /&gt;
and see what tools may assist in your use of this filesystem in:&lt;br /&gt;
  http://ext4.wiki.kernel.org/index.php/Ext4_Howto&lt;br /&gt;
Note that while GParted 0.5.2 recognizes ext4 partitions, at least in&lt;br /&gt;
some circumstances it does not succeed in formatting a partition for&lt;br /&gt;
the ext4 filesystem.  Also, if you search for ext3 or reiserfs on the&lt;br /&gt;
forums you will find various threads on this issue with guidance on&lt;br /&gt;
how to convert.&lt;br /&gt;
&lt;br /&gt;
== Managing system load &amp;#039;&amp;#039;(with IP Cameras in mind)&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
Zoneminder is a superb application in every way, but it does a job that needs a lot of horsepower especially when using multiple IP cameras. IP Cams require an extra level of processing to analogue cards as the jpg or mjpeg images need to be decoded before analysing. This needs grunt. If you have lots of cameras, you need lots of grunt.&lt;br /&gt;
&lt;br /&gt;
Why do ZM need so much grunt?&lt;br /&gt;
Think what Zoneminder is actually doing. In modect mode ZM is:&lt;br /&gt;
1. Fetching a jpeg from the camera. (Either in single part or multipart stream)&lt;br /&gt;
2. Decoding the jpeg image. &lt;br /&gt;
3. Comparing the zoned selections to the previous image or images and applying rules.&lt;br /&gt;
4. If in alarm state, writing that image to the disk and updating the mysql database.&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;re capturing at five frames per second, the above is repeated five times every second, multiplied by the number of cameras. Decoding the images is what takes the real power from the processor and this is the main reason why analogue cameras which present an image ready-decoded in memory take less work.&lt;br /&gt;
&lt;br /&gt;
=== How do I know if my computer is overloaded? ===&lt;br /&gt;
If your CPU is running at 100% all the time, it&amp;#039;s probably overloaded (or running at exact optimisation). If the load is consistently high (over 10.0 for a single processor) then Bad Things happen - like lost frames, unrecorded events etc. Occasional peaks are fine, normal and nothing to worry about.&lt;br /&gt;
&lt;br /&gt;
Zoneminder runs on Linux, Linux measures system load using &amp;quot;load&amp;quot;, which is complicated but gives a rough guide on what the computer is doing at any given time. Zoneminder shows Load on the main page (top right) as well as disk space. Typing &amp;quot;uptime&amp;quot; on the command line will give a similar guide, but with three figures to give a fuller measure of what&amp;#039;s happening over a period of time but for the best guide to see what&amp;#039;s happening, install &amp;quot;htop&amp;quot; - which gives easy to read graphs for load, memory and cpu usage.&lt;br /&gt;
&lt;br /&gt;
A load of 1.0 means the processor has &amp;quot;just enough to do right now&amp;quot;. Also worth noting that a load of 4.0 means exactly the same for a quad processor machine - each number equals a single processor&amp;#039;s workload. A very high load can be fine on a computer that has a stacked workload - such as a machine sending out bulk emails, or working its way through a knotty problem; it&amp;#039;ll just keep churning away until it&amp;#039;s done. However - Zoneminder needs to process information in real time so it can&amp;#039;t afford to stack its jobs, it needs to deal with them right away.&lt;br /&gt;
&lt;br /&gt;
For a better and full explanation of Load: http://en.wikipedia.org/wiki/Load_%28computing%29&lt;br /&gt;
&lt;br /&gt;
=== My load is too high, how can I reduce it? ===&lt;br /&gt;
Zoneminder is /very/ tweakable and it&amp;#039;s possible to tune it to compromise. The following are good things to try, in no particular order;&lt;br /&gt;
&lt;br /&gt;
Change the jpeg libraries. In most distributions Linux uses standard jpeg libraries which although fine for most things, don&amp;#039;t use the MMX functions in nearly all modern processors. Check whether your cpu supports mmx by running &amp;quot;cpuid |grep MMX&amp;quot; which should give you a line or two along the lines of &amp;quot;MMX instructions&amp;quot;. If so, give the libs a try. Most people report their load halves simply by using these libs. You may be able to experience substantial Zoneminder performance boosts now by merely upgrading your operating system, without having to download libraries and compile your own binaries, etc. as described in the forum thread linked below.  Some distributions, e.g. Fedora 14 now include library code to utilize the instruction set extensions available in your processor: &lt;br /&gt;
&lt;br /&gt;
  http://fedoraproject.org/wiki/Fedora_14_Alpha_release_notes#Faster_JPEG_Compression.2FDecompression&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The replacement of libjpeg with libjpeg-turbo brings speed improvements to a wide range of applications when handling images in JPEG format ...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  http://fedoraproject.org/wiki/Releases/14/Schedule&lt;br /&gt;
&lt;br /&gt;
still states &amp;quot;2010-11-02 final release&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
CentOS 6.4 now has libjpeg-turbo built in as the default jpeg library allowing the best results out of the box.&lt;br /&gt;
&lt;br /&gt;
  http://libjpeg-turbo.virtualgl.org/&lt;br /&gt;
&lt;br /&gt;
provides some history on its project page.  If you seek confirmation for which library is in use, you may consider querying e.g. while running on a prior distribution:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[u@who ~]$ rpm -q --whatprovides libjpeg&lt;br /&gt;
libjpeg-6b-46.fc12.i686&lt;br /&gt;
[u@who ~]$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and comparing the response to querying when the higher-performance library is available:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[u@who ~]$ rpm -q --whatprovides libjpeg&lt;br /&gt;
libjpeg-turbo-1.0.1-1.fc14.x86_64&lt;br /&gt;
[u@who ~]$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
As noted in other forum postings, some zoneminder camera and usage configurations may not make much use of jpeg processing (e.g. some webcams), and thus obtain little performance benefit.  Otherwise, you should be able to select one or more of:&lt;br /&gt;
* running more cameras,&lt;br /&gt;
* running existing cameras at higher image resolutions,&lt;br /&gt;
* running cameras at a faster frame rate,&lt;br /&gt;
* saving MoDect images with higher quality,&lt;br /&gt;
* having more CPU cycles available for any non-Zoneminder workload, etc.&lt;br /&gt;
&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?t=6419 gives more info on the download-the-library-yourself, compile-your-own-Zoneminder binary, etc. approach if needed. Nobody&amp;#039;s posted there to say it broke their system... Yet.&lt;br /&gt;
&lt;br /&gt;
If your camera allows you to change image size, think whether you can get away with smaller images. Smaller pics = less load. 320x240 is usually ok for close-up corridor shots.&lt;br /&gt;
&lt;br /&gt;
Go Black and White. Colour pictures use twice to three times the CPU, memory and diskspace but give little benefit to identification.&lt;br /&gt;
&lt;br /&gt;
Reduce frames per second. Halve the fps, halve the workload. If your camera supports fps throttling (Axis do), try that - saves ZM having to drop frames from a stream. 2-5 fps seems to be widely used.&lt;br /&gt;
&lt;br /&gt;
Experiment with using jpeg instead of mjpeg. Some users have reported it gives better performance, but YMMV.&lt;br /&gt;
&lt;br /&gt;
Tweak the zones. Keep them as small and as few as possible. Stick to one zone unless you really need more.&lt;br /&gt;
&lt;br /&gt;
Schedule. If you are running a linux system at near capacity, you&amp;#039;ll need to think carefully about things like backups and scheduled tasks. updatedb - the process which maintains a file database so that &amp;#039;locate&amp;#039; works quickly, is normally scheduled to run once a day and if on a busy system can create a heavy increase on the load. The same is true for scheduled backups, especially those which compress the files. Re-schedule these tasks to a time when the cpu is less likely to be busy, if possible - and also use the &amp;quot;nice&amp;quot; command to reduce their priority. (crontab and /etc/cron.daily/ are good places to start)&lt;br /&gt;
&lt;br /&gt;
Reduce clutter on your PC. Don&amp;#039;t run X unless you really need it, the GUI is a huge overhead in both memory and cpu.&lt;br /&gt;
&lt;br /&gt;
More expensive options:&lt;br /&gt;
&lt;br /&gt;
Increase RAM. If your system is having to use disk swap it will HUGELY impact performance in all areas. Again, htop is a good monitor - but first you need to understand that because Linux is using all the memory, it doesn&amp;#039;t mean it needs it all - linux handles ram very differently to Windows/DOS and caches stuff. htop will show cached ram as a different colour in the memory graph. Also check that you&amp;#039;re actually using a high memory capable kernel - many kernels don&amp;#039;t enable high memory by default. &lt;br /&gt;
&lt;br /&gt;
Faster CPU. Simple but effective. Zoneminder also works very well with multiple processor systems out of the box (if SMP is enabled in your kernel). The load of different cameras is spread across the processors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Try building Zoneminder with processor specific instructions that are optimised to the system it will be running on, also increasing the optimisation level of GCC beyond -O2 will help.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure CFLAGS=&amp;quot;-g -O3 -march=athlon-xp -mtune=athlon-xp&amp;quot; CXXFLAGS=&amp;quot;-g -O3 -march=athlon-xp -mtune=athlon-xp&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The above command is optimised for an Athlon XP cpu so you will need to use the specific processor tag for your cpu, also the compiler optimisation has been increased to -O3.&lt;br /&gt;
&lt;br /&gt;
You also need to put in your normal ./configure commands as if you were compiling with out this optimisation.&lt;br /&gt;
&lt;br /&gt;
A further note is that the compile must be performed on the system that Zoneminder will be running on as this optimisation will make it hardware specific code.&lt;br /&gt;
&lt;br /&gt;
Processor specific commands can be found in the GCC manual along with some more options that may increase performanc. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The below command has been used to compile Zoneminder on a Athlon XP system running CentOS 5.5 and along with the libjpeg-turbo modification to reduce the CPU load in half, libjpeg-turbo reduced the load by 1/3 before the processor optimisation.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin CFLAGS=&amp;quot;-g -O3 -march=athlon-xp -mtune=athlon-xp&amp;quot; CXXFLAGS=&amp;quot;-D__STDC_CONSTANT_MACROS -g -O3 -march=athlon-xp -mtune=athlon-xp&amp;quot; --enable-mmap --sysconfdir=/etc/zm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command has been used to compile Zoneminder 1.25 on a CentOS 6.0 system, the native command should choose the processor automatically during compile time, this needs to be performed on the actual system!!.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CFLAGS=&amp;quot;-g -O3 -march=native -mtune=native&amp;quot; CXXFLAGS=&amp;quot;-D__STDC_CONSTANT_MACROS -g -O3 -march=native -mtune=native&amp;quot; ./configure  --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=your_zm_user ZM_DB_PASS=your_zm_password ZM_SSL_LIB=openssl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== What about disks and bandwidth? ===&lt;br /&gt;
&lt;br /&gt;
In most modern pc-based servers, disk I/O is more than adequate for the speeds involved in capturing from multiple cameras in most scenarios.&lt;br /&gt;
&lt;br /&gt;
A typical 100mbit LAN will cope with most setups easily. If you&amp;#039;re feeding from cameras over smaller or internet links, obviously fps will be much lower.&lt;br /&gt;
&lt;br /&gt;
Disk and Bandwidth calculators are referenced on the Zoneminder wiki here: http://www.zoneminder.com/wiki/index.php/FAQ#How_much_Hard_Disk_Space_.2F_Bandwidth_do_I_need_for_ZM.3F&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Building ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
=== When running configure I am getting a lot of messages about not being able to compile the ffmpeg libraries ===&lt;br /&gt;
&lt;br /&gt;
If you see output from configure that looks like this&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;checking libavcodec/avcodec.h usability... no&lt;br /&gt;
checking libavcodec/avcodec.h presence... yes&lt;br /&gt;
configure: WARNING: libavcodec/avcodec.h: present but cannot be compiled&lt;br /&gt;
configure: WARNING: libavcodec/avcodec.h:     check for missing&lt;br /&gt;
prerequisite headers?&lt;br /&gt;
configure: WARNING: libavcodec/avcodec.h: see the Autoconf documentation&lt;br /&gt;
configure: WARNING: libavcodec/avcodec.h:     section &amp;quot;Present But&lt;br /&gt;
Cannot Be Compiled&amp;quot;&lt;br /&gt;
configure: WARNING: libavcodec/avcodec.h: proceeding with the compiler&amp;#039;s&lt;br /&gt;
result&lt;br /&gt;
configure: WARNING:     ## ------------------------------------- ##&lt;br /&gt;
configure: WARNING:     ## Report this to support@zoneminder.com ##&lt;br /&gt;
configure: WARNING:     ## ------------------------------------- ##&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then it is caused not by the ZoneMinder build system but ffmpeg itself. However there is a workaround you can use which is to add&lt;br /&gt;
&lt;br /&gt;
  CPPFLAGS=-D__STDC_CONSTANT_MACROS&lt;br /&gt;
&lt;br /&gt;
to the ZoneMinder ./configure command which should solve the issue. However this is not a proper &amp;#039;fix&amp;#039; as such, which can only come from the ffmpeg project itself.&lt;br /&gt;
&lt;br /&gt;
=== I cannot build ZoneMinder and am getting lots of undefined C++ template errors===&lt;br /&gt;
&lt;br /&gt;
This is almost certainly due to the &amp;#039;ccache&amp;#039; package which attempts to speed up compilation by caching compiled objects. Unfortunately one of the side effects is that it breaks the GNU g++ template resolution method that ZoneMinder uses in building by prevent files getting recompiled. The simplest way around this is to remove the ccache package using your distros package manager.&lt;br /&gt;
&lt;br /&gt;
=== How do I build for X10 support? ===&lt;br /&gt;
&lt;br /&gt;
You do not need to rebuild ZM for X10 support. You will need to install the perl module and switch on X10 in the options, then restart. Installing the perl module is covered in the README amongst other places but in summary, do:&lt;br /&gt;
&lt;br /&gt;
 perl -MCPAN -eshell&lt;br /&gt;
 install X10::ActiveHome&lt;br /&gt;
 quit&lt;br /&gt;
&lt;br /&gt;
== Extending ZoneMinder ==&lt;br /&gt;
&lt;br /&gt;
=== How can I get ZM to do different things at different times of day or week? ===&lt;br /&gt;
If you want to configure ZoneMinder to do motion detection during the day and just record at night, for example, you will need to use ZoneMinder &amp;#039;run states&amp;#039;. A run state is a particular configuration of monitor functions that you want to use at any time.&lt;br /&gt;
&lt;br /&gt;
To save a run state you should first configure your monitors for Modect, Record, Monitor etc as you would want them during one of the times of day. Then click on the running state link at the top of the Console view. This will usually say &amp;#039;Running&amp;#039; or &amp;#039;Stopped&amp;#039;. You will then be able to save the current state and give it a name, &amp;#039;Daytime&amp;#039; for example. Now configure your monitors how you would want them during other times of day and save that, for instance as &amp;#039;Nighttime&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Now you can switch between these two states by selecting them from the same dialog you saved them, or from the command line from issue the command &amp;#039;&amp;#039;zmpkg.pl &amp;lt;run state&amp;gt;&amp;#039;&amp;#039;, for example &amp;#039;&amp;#039;zmpkg.pl Daytime&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The final step you need to take, is scheduling the time the changes take effect. For this you can use [http://en.wikipedia.org/wiki/Cron cron]. A simple entry to change to the Daylight state at at 8am and to the nighttime state at 8pm would be as follows,&lt;br /&gt;
&amp;lt;pre&amp;gt;0 8 * * * root /usr/local/bin/zmpkg.pl Daytime&lt;br /&gt;
0 20 * * * root /usr/local/bin/zmpkg.pl Nighttime&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Ubuntu 7.04 and possibly others, look in /usr/bin not just /usr/local/bin for the zmpkg.pl file.&lt;br /&gt;
&lt;br /&gt;
Although the example above describes changing states at different times of day, the same principle can equally be applied to days of the week or other more arbitrary periods.&lt;br /&gt;
&lt;br /&gt;
For an alternative method of time controlling ZoneMinder, forum user &amp;#039;voronwe&amp;#039; has created a more interactive calendar style integration. Details of this can be found in this [http://www.zoneminder.com/forums/viewtopic.php?t=6519 forum thread]. If you would like to find out more about this contribution please post on this thread.&lt;br /&gt;
&lt;br /&gt;
=== How can I use ZoneMinder to trigger something else when there is an alarm? ===&lt;br /&gt;
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 &amp;#039;perldoc ZoneMinder&amp;#039;, &amp;#039;perldoc ZoneMinder::SharedMem&amp;#039; etc.&lt;br /&gt;
Below is 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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/usr/bin/perl -w&lt;br /&gt;
&lt;br /&gt;
use strict;&lt;br /&gt;
&lt;br /&gt;
use ZoneMinder;&lt;br /&gt;
&lt;br /&gt;
$| = 1;&lt;br /&gt;
&lt;br /&gt;
zmDbgInit( &amp;quot;myscript&amp;quot;, level=&amp;gt;0, to_log=&amp;gt;0, to_syslog=&amp;gt;0, to_term=&amp;gt;1 );&lt;br /&gt;
&lt;br /&gt;
my $dbh = DBI-&amp;gt;connect( &amp;quot;DBI:mysql:database=&amp;quot;.ZM_DB_NAME.&amp;quot;;host=&amp;quot;.ZM_DB_HOST, ZM_DB_USER, ZM_DB_PASS );&lt;br /&gt;
&lt;br /&gt;
my $sql = &amp;quot;select M.*, max(E.Id) as LastEventId from Monitors as M left join Events as E on M.Id = E.MonitorId where M.Function != &amp;#039;None&amp;#039; group by (M.Id)&amp;quot;;&lt;br /&gt;
my $sth = $dbh-&amp;gt;prepare_cached( $sql ) or die( &amp;quot;Can&amp;#039;t prepare &amp;#039;$sql&amp;#039;: &amp;quot;.$dbh-&amp;gt;errstr() );&lt;br /&gt;
&lt;br /&gt;
my $res = $sth-&amp;gt;execute() or die( &amp;quot;Can&amp;#039;t execute &amp;#039;$sql&amp;#039;: &amp;quot;.$sth-&amp;gt;errstr() );&lt;br /&gt;
my @monitors;&lt;br /&gt;
while ( my $monitor = $sth-&amp;gt;fetchrow_hashref() )&lt;br /&gt;
{&lt;br /&gt;
    push( @monitors, $monitor );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
while( 1 )&lt;br /&gt;
{&lt;br /&gt;
    foreach my $monitor ( @monitors )&lt;br /&gt;
    {&lt;br /&gt;
        next if ( !zmMemVerify( $monitor ) );&lt;br /&gt;
 &lt;br /&gt;
        if ( my $last_event_id = zmHasAlarmed( $monitor, $monitor-&amp;gt;{LastEventId} ) )&lt;br /&gt;
        {&lt;br /&gt;
            $monitor-&amp;gt;{LastEventId} = $last_event_id;&lt;br /&gt;
            print( &amp;quot;Monitor &amp;quot;.$monitor-&amp;gt;{Name}.&amp;quot; has alarmed\n&amp;quot; );&lt;br /&gt;
            #&lt;br /&gt;
            # Do your stuff here&lt;br /&gt;
            #&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    sleep( 1 );&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Trouble Shooting==&lt;br /&gt;
Here are some things that will help you track down whats wrong.&lt;br /&gt;
This is also how to obtain the info that we need to help you on the forums.&lt;br /&gt;
&lt;br /&gt;
===What logs should I check for errors?===&lt;br /&gt;
ZoneMinder creates its own logs and are usually located in the &amp;lt;tt&amp;gt;/tmp&amp;lt;/tt&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
The ZoneMinder logs for the RPM packages are located in &amp;lt;tt&amp;gt;/var/log/zm&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Depending on your problem errors can show up in any of these logs but, usually the logs of interest are &amp;lt;tt&amp;gt;zmdc.log&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;zmpkg.log&amp;lt;/tt&amp;gt; if ZM is not able to start.&lt;br /&gt;
&lt;br /&gt;
Now since ZM is dependent on other components to work, you might not find errors in ZM but in the other components.&lt;br /&gt;
Other logs of interest are:&amp;lt;tt&amp;gt;&lt;br /&gt;
*/var/log/messages and/or /var/log/syslog&lt;br /&gt;
*/var/log/dmesg&lt;br /&gt;
*/var/log/httpd/error_log&amp;lt;/tt&amp;gt; (RedHat/Fedora) or &amp;lt;tt&amp;gt;/var/log/apache2/error_log&lt;br /&gt;
*/var/log/mysqld.log&amp;lt;/tt&amp;gt; (Errors here don&amp;#039;t happen very often but just in case)&lt;br /&gt;
&lt;br /&gt;
If ZM is not functioning, you should always be able to find an error in at least one of these logs. Use the [[tail]] command to get info from the logs. This can be done like so: &lt;br /&gt;
&lt;br /&gt;
  tail -f /var/log/messages /var/log/httpd/error_log /var/log/zm/zm*.log&lt;br /&gt;
&lt;br /&gt;
This will append any data entered to any of these logs to your console screen (&amp;lt;tt&amp;gt;-f&amp;lt;/tt&amp;gt;). To exit, hit [ctrl -c].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More verbose logging for the ZoneMinder binaries is available by enabling the debug option from the control panel and will be placed in the path you have configured for the debug logs. Output can be limited to a specific binary as described in the Debug options page under the &amp;quot;?&amp;quot; marks.&lt;br /&gt;
&lt;br /&gt;
===How can I trouble shoot the hardware and/or software?===&lt;br /&gt;
Here are some commands to get information about your hardware. Some commands are distribution dependent.&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[lspci]] -vv&amp;lt;/tt&amp;gt; -- Returns lots of detailed info. Check for conflicting interrupts or port assignments. You can sometimes alter interrupts/ ports in bios. Try a different pci slot to get a clue if it is HW conflict (comand provided by the pciutils package).&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[scanpci]] -v&amp;lt;/tt&amp;gt;  -- Gives you information from your hardware EPROM&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[lsusb]] -vv&amp;lt;/tt&amp;gt; -- Returns lots of detail about USB devices (camand provided by usbutils package).&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[dmesg]]&amp;lt;/tt&amp;gt; -- Shows you how your hardware initialized (or didn&amp;#039;t) on boot-up. You will get the most use of this.&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[v4l-info]]&amp;lt;/tt&amp;gt; -- to see how driver is talking to card. look for unusual values.&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[modinfo bttv]]&amp;lt;/tt&amp;gt; -- some bttv driver stats.&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[zmu]]  -m 0 -q -v&amp;lt;/tt&amp;gt; -- Returns various information regarding a monitor configuration.&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[ipcs]] &amp;lt;/tt&amp;gt;  -- Provides information on the ipc facilities for which the calling process has read acccess.&lt;br /&gt;
* &amp;lt;tt&amp;gt;[[ipcrm]] &amp;lt;/tt&amp;gt;  -- The ipcrm command can be used to remove an IPC object from the kernel.&lt;br /&gt;
* &amp;lt;tt&amp;gt;cat /proc/interrupts&amp;lt;/tt&amp;gt;  -- This will dispaly what interrupts your hardware is using.&lt;br /&gt;
&lt;br /&gt;
===Why is it that when monitoring a camera, the top portion of the image is cutoff and appears at the bottom of the image, with a line seperating the top from the bottom?===&lt;br /&gt;
&lt;br /&gt;
=== Why am I getting a 403 access error with my web browser when trying to access http //localhost/zm? ===&lt;br /&gt;
&lt;br /&gt;
The apache web server needs to have the right permissions and configuration to be able to read the Zoneminder files. Check the forums for solution, and edit the apache configuration and change directory permissions to give apache the right to read the Zoneminder files. Depending on your Zoneminder configuration, you would use the zm user and group that Zoneminder was built with, such as wwwuser and www.&lt;br /&gt;
&lt;br /&gt;
=== Why am I getting broken images when trying to view events? ===&lt;br /&gt;
&lt;br /&gt;
Zoneminder and the Apache web server need to have the right permissions. Check this forum topic and similar ones:&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?p=48754#48754&lt;br /&gt;
&lt;br /&gt;
===Why is the image from my color camera appearing in black and white?===&lt;br /&gt;
This may occur if you have a NTSC analog camera but have configured the source in ZoneMinder as PAL for the Device Format under the source tab.  You may also be mislead because zmu can report the video port as being PAL when the camera is actually NTSC.  Confirm the format of your analog camera by checking it&amp;#039;s technical specifications, possibly found with the packaging it came in, on the manufacturers website, or even on the retail website where you purchased the camera.  Change the Device Format setting to NTSC and set it to the lowest resolution of 320 x 240.  If you have confirmed that the camera itself is NTSC format, but don&amp;#039;t get a picture using the NTSC setting, consider increasing the shared memory &amp;#039;&amp;#039;&amp;#039;kernel.shmall&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;kernel.shmmax&amp;#039;&amp;#039;&amp;#039; settings in /etc/sysctl.conf to a larger value such as 268435456.  This is also the reason you should start with the 320x240 resolution, so as to minimize the potential of memory problems which would interfere with your attempts to troubleshoot the device format issue.  Once you have obtained a picture in the monitor using the NTSC format, then you can experiment with raising the resolution.&lt;br /&gt;
&lt;br /&gt;
===Why do I only see blue screens with a timestamp when monitoring my camera?===&lt;br /&gt;
If this camera is attached to a capture card, then you may have selected the wrong Device Source or Channel when configuring the monitor in the ZoneMinder console.  If you have a capture card with 2 D-sub style inputs(looks like a VGA port) to which you attach a provided splitter that splits off multiple cables, then the splitter may be attached to the wrong port.  For example, PV-149 capture cards have two D-sub style ports labeled as DB1 and DB2, and come packaged with a connector for one of these ports that splits into 4 BNC connecters.  The initial four video ports are available with the splitter attached to DB1.&lt;br /&gt;
&lt;br /&gt;
===Why do I only see black screens with a timestamp when monitoring my camera?===&lt;br /&gt;
In the monitor windows where you see the black screen with a timestamp, select settings and enter the Brightness, Contrast, Hue, and Color settings reported for the device by &amp;#039;&amp;#039;&amp;#039;zmu -d &amp;lt;device_path&amp;gt; -q -v&amp;#039;&amp;#039;&amp;#039;.  32768 may be appropriate values to try for these settings.  After saving the settings, select Settings again to confirm they saved successfully.&lt;br /&gt;
&lt;br /&gt;
===I am getting messages about a backtrace in my logs, what do I do?===&lt;br /&gt;
If you are seeing entries in your log like the following&lt;br /&gt;
&amp;lt;pre&amp;gt;Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /lib64/libc.so.6 [0x3347230210]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /lib64/libc.so.6(memset+0xce) [0x334727684e]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma [0x40ee9a]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma [0x419946]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma [0x4213cf]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma(cos+0x35c) [0x404674]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xf4) [0x334721da44]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma(cos+0xd1) [0x4043e9]]&lt;br /&gt;
Jan 11 20:25:22 localhost zma_m2[19051]: INF [Backtrace complete]&amp;lt;/pre&amp;gt;&lt;br /&gt;
then you can help diagnose the problem by running a special command to translate the hex addresses into helpful information. This command is called addr2line and you can type &amp;#039;man addr2line&amp;#039; for more information.&lt;br /&gt;
Basically addr2line takes two sets of parameters, the first is the name of the binary file, and the second is a list of addresses. Both of these pieces of information are displayed in the logs. The filename is the first part after the &amp;#039;Backtrace:&amp;#039; tag, in this case /usr/local/bin/zma, though it may well be different in your case. Some of the lines refer to libraries rather than the zma executable but those can be ignored for now, the important part is noting which ZM binary is involved. The binary file is passed in following the -e flag. The addresses to pass to addr2line are those contained in the &amp;#039;[]&amp;#039; pairs. Again you can ignore those that are on a line that refers to a library but it will not hurt if you include them.&lt;br /&gt;
So in the example above, the command would be &amp;lt;pre&amp;gt;addr2line -e /usr/local/bin/zma 0x40ee9a 0x419946 0x4213cf 0x404674 0x4043e9&amp;lt;/pre&amp;gt;&lt;br /&gt;
This should then dump out a more symbolic list containing source file names and line numbers, and it is this information which will be helpful if posted to the forums. Sometimes addr2line fails to produce useful output. This is usually because either the problem is so severe that it has corrupted the stack and prevented useful information from being displayed, or that you have either compiled ZM without the -g flag for debug, or you have stripped the binaries of symbol information after installation. This this case you would need to rebuild temporarily with debug enabled for the information to be useful.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This error some times happens when a linked camera looses its link or it is corrupted by the user or some other system event, try deleting the affected cameras and recreating them in the Zoneminder console.&lt;br /&gt;
&lt;br /&gt;
===How do I repair the MySQL Database?===&lt;br /&gt;
There is two ways to go about this. In most cases you can run from the command prompt -&amp;gt;&lt;br /&gt;
* mysqlcheck --all-databases --auto-repair -p&amp;#039;&amp;#039;&amp;#039;your_database_password&amp;#039;&amp;#039;&amp;#039; -u &amp;#039;&amp;#039;&amp;#039;your_databse_user&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If that does not work then you will have to make sure that ZoneMinder is stopped then run the following (nothing should be using the database while running this and you will have to adjust for your correct path if it is different). -&amp;gt;&lt;br /&gt;
* myisamchk --silent --force --fast --update-state -O key_buffer=64M -O sort_buffer=64M -O read_buffer=1M -O write_buffer=1M /var/lib/mysql/*/*.MYI &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How do I repair the MySQL Database when the cli fails?===&lt;br /&gt;
In Ubuntu, the commands listed above do not seem to work.  However, actually doing it by hand from within MySQL does.  (But that is beyond the scope of this document)  But that got me thinking...  And phpmyadmin does work.  Bring up a terminal.&lt;br /&gt;
 sudo apt-get install phpmyadmin&lt;br /&gt;
&lt;br /&gt;
Now go to http://zoneminder_IP/ and stop the ZM service.  Continue to http://zoneminder_IP/phpmyadmin and select the zoneminder database.  Select and tables marked &amp;#039;in use&amp;#039; and pick the action &amp;#039;repare&amp;#039; to fix.  Restart the zoneminder service from the web browser.  Remove or disable the phpmyadmin tool, as it is not always the most secure thing around, and opens your database wide to any skilled hacker.&lt;br /&gt;
 sudo apt-get remove phpmyadmin&lt;br /&gt;
&lt;br /&gt;
===I upgraded by distribution and ZM stopped working===&lt;br /&gt;
Some possibilties (Incomplete list and subject to correction)&lt;br /&gt;
#[[/usr/local/bin/zmfix: /usr/lib/libmysqlclient.so.15: version `MYSQL_5.0&amp;#039; not found (required by /usr/local/bin/zmfix)]]  :: Solution: Recompile and reinstall Zoneminder.&lt;br /&gt;
Any time you update a major version that ZoneMinder depends on, you need to recompile ZoneMinder.&lt;br /&gt;
&lt;br /&gt;
===Zoneminder doesn&amp;#039;t start automatically on boot===&lt;br /&gt;
Check the list for log entries like &amp;quot;zmfix[766]: ERR [Can&amp;#039;t connect to server: Can&amp;#039;t connect to local MySQL server through socket &amp;#039;/var/run/mysqld/mysqld.sock&amp;#039; (2)] &amp;quot;. &lt;br /&gt;
What can happen is that zoneminder is started too quickly after Mysql and tries to contact the database server before it&amp;#039;s ready. Zoneminder gets no answer and aborts. &lt;br /&gt;
August 2010 - Ubuntu upgrades seem to be leaving several systems in this state. One way around this is to add a delay to the zoneminder startup script allowing Mysql to finish starting. &lt;br /&gt;
&amp;quot;Simply adding &amp;#039;sleep 15&amp;#039; in the line above &amp;#039;zmfix -a&amp;#039; in the /etc/init.d/zoneminder file fixed my ZoneMinder startup problems!&amp;quot; - credit to Pada.&lt;br /&gt;
&lt;br /&gt;
=== Remote Path setup for Panasonic and other Camera ===&lt;br /&gt;
On adding or editing the source you can select the preset link for the parameters for the specified camera .  In version 1.23.3  presets for BTTV,Axis,Panasonic,GadSpot,VEO, and BlueNet are available . Selecting the presets  ZM fills up the required value for the remote path variable&lt;br /&gt;
&lt;br /&gt;
=== Why do I get repeated/ mixed/unstable/ blank monitors on bt878-like cards (a.k.a. PICO 2000) ===&lt;br /&gt;
&lt;br /&gt;
Please have a check at [[Pico2000]];&lt;br /&gt;
&lt;br /&gt;
===What causes &amp;quot;Invalid JPEG file structure: two SOI markers&amp;quot; from zmc (1.24.x)===&lt;br /&gt;
&lt;br /&gt;
Some settings that used to be global only are now per camera.  On the Monitor Source tab, if you are using Remote Protocol  &amp;quot;HTTP&amp;quot; and Remote Method &amp;quot;Simple&amp;quot;, try changing Remote Method to &amp;quot;Regexp&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
=== I see ZoneMinder is licensed under the GPL. What does that allow or restrict me in doing with ZoneMinder? ===&lt;br /&gt;
&lt;br /&gt;
The ZoneMinder license is described at the end of the documentation and consists of the following section&lt;br /&gt;
&lt;br /&gt;
 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as&lt;br /&gt;
 published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.&lt;br /&gt;
 &lt;br /&gt;
 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty&lt;br /&gt;
 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&lt;br /&gt;
&lt;br /&gt;
This means that ZoneMinder is licensed under the terms described [http://www.gnu.org/copyleft/gpl.html here]. There is a comprehensive FAQ covering the GPL at http://www.gnu.org/licenses/gpl-faq.html but in essence you are allowed to redistribute or modify GPL licensed software provided that you release your distribution or modifications freely under the same terms. You are allowed to sell systems based on GPL software. You are not allowed to restrict or reduce the rights of GPL software in your distribution however. Of course if you are just making modifications for your system locally you are not releasing changes so you have no obligations in this case. I recommend reading the GPL FAQ for more in-depth coverage of this issue.&lt;br /&gt;
&lt;br /&gt;
=== Can I use ZoneMinder as part of my commercial product? ===&lt;br /&gt;
&lt;br /&gt;
The GPL license allows you produce systems based on GPL software provided your systems also adhere to that license and any modifications you make are also released under the same terms.  The GPL does not permit you to include ZoneMinder in proprietary systems (see http://www.gnu.org/licenses/gpl-faq.html#GPLInProprietarySystem for details). If you wish to include ZoneMinder in this kind of system then you will need to license ZoneMinder under different terms. This is sometimes possible and you will need to contact me for further details in these circumstances.&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=How_to_export_download_and_view_events&amp;diff=5722</id>
		<title>How to export download and view events</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=How_to_export_download_and_view_events&amp;diff=5722"/>
		<updated>2013-05-16T12:18:36Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: too -&amp;gt; to, how to -&amp;gt; /i&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--[[User:Stagecoach|stagecoach]] 15:34, 23 October 2010 (BST)&lt;br /&gt;
&lt;br /&gt;
Go back to the [[How_To|How To]] pages...&lt;br /&gt;
&lt;br /&gt;
=Prerequisites=&lt;br /&gt;
To export, download and view the events from ZoneMinder there are 3 prerequisites.&lt;br /&gt;
# Access to your ZoneMinder website.&lt;br /&gt;
# An application to unpack the exported files.&lt;br /&gt;
#* For Linux most distributions include an application like unzip or untar.&lt;br /&gt;
#* For Windows an excellent open source alternative to the default archive manager is [http://www.7-zip.org/download.html 7-Zip]&lt;br /&gt;
=Export Methods=&lt;br /&gt;
There are three ways to export events from ZoneMinder. Depending on what events you wish to export one of these methods will usually be superior.&lt;br /&gt;
==Front end interface method==&lt;br /&gt;
This is the easiest way to view events if you want to check all events in the hour/day/week/month or all events for a certain particular camera. &lt;br /&gt;
===Steps===&lt;br /&gt;
[[image:zm_home.png|right|thumb|caption|ZoneMinder homepage]]&lt;br /&gt;
[[image:eventsview.png|right|thumb|caption|Events view allows you to select which events to export]]&lt;br /&gt;
# Login to ZoneMinder as a user who has rights to view the desired monitor.&lt;br /&gt;
# From the home page you should see a table with columns labeling camera name events per hour/day/week/month/all. The very bottom column of this table totals the events across all cameras for the given hour/day etc. Click on the total events under the hour row to continue.&lt;br /&gt;
# You should now be on the event view page. This pages purpose is to list the events selected by your query method. From this view we are provided with many statistics about individual events. We may choose to review the events from this page by clicking on the name of the event, however for the purpose of this &amp;#039;&amp;#039;how to&amp;#039;&amp;#039; we will simply choose to export all events by selecting the check-box in the top right cell. After selecting all the events from this view we open up the export dialog by clicking the EXPORT button located in the bottom right corner.&lt;br /&gt;
# This export options dialog that pops up allows us to select the file type that is exported. Before clicking the export button you must first make sure too check the following settings:&lt;br /&gt;
##Export Event Details&lt;br /&gt;
##Export Frame Details&lt;br /&gt;
##Export File Format: Zip&lt;br /&gt;
[[image:zmexport.png|right|thumb|caption|Typical Export form settings]]&lt;br /&gt;
# Once you click the export button ZoneMinder will go through the process of packaging and formatting the events for you, this process can be quite intensive for the server if a large number of events are selected. When the process is completed a download link for a file called zmExport.zip should pop up, select save file and click ok. It is important to make a note of where you save your file as you will need to access it later.&lt;br /&gt;
&lt;br /&gt;
==Event Filter==&lt;br /&gt;
[[image:eventfilter.png|right|thumb|caption|Events Filter form]]&lt;br /&gt;
The filter method of exporting events gives the user the most detail and control in the event query. As this method allows you to make very refined queries it does add some complexity to the process. To illustrate the power of this export method I will show you how Event Filter can create a custom query that is saved for future use, this custom query will select all events that have had more than 50 alarm frames on Mondays.&lt;br /&gt;
&lt;br /&gt;
===Steps===&lt;br /&gt;
# On the bottom left side of your ZoneMinder homepage there should be a button labeled &amp;quot;Filter&amp;quot;&lt;br /&gt;
# The form section under the use filter select box is the area where we will define steps the event filter evaluates. To add the second step for the event filter simply click the + button on the bottom left of the field-set&lt;br /&gt;
## The first filter should be &amp;#039;&amp;#039;Alarm Frames&amp;#039;&amp;#039; - &amp;#039;&amp;#039;greater than&amp;#039;&amp;#039; - 50&lt;br /&gt;
## Your second filter should be &amp;#039;&amp;#039;and&amp;#039;&amp;#039; - &amp;#039;&amp;#039;Weekday&amp;#039;&amp;#039; - &amp;#039;&amp;#039;equal to&amp;#039;&amp;#039; - &amp;#039;&amp;#039;Monday&amp;#039;&amp;#039;&lt;br /&gt;
# To save this event filter method click on the save button. Make sure to write in a descriptive name for the filter.&lt;br /&gt;
[[image:alarmfiltersave.png|right|thumb|caption|Events Filter save form box]]&lt;br /&gt;
# Executing the event filter after you have saved it is as simple as clicking execute at the bottom of the page.&lt;br /&gt;
# You should now be on the event view page. This pages purpose is too list the events selected by your query method. From this view we are provided with many statistics about individual events. We may choose to review the events from this page by clicking on the name of the event, however for the purpose of this how to we will simply choose to export all events by selecting the check-box in the top right cell. After selecting all the events from this view we open up the export dialog by clicking the EXPORT button located in the bottom right corner.&lt;br /&gt;
# This export options dialog that pops up allows us to select the file type that is exported. Before clicking the export button you must first make sure too check the following settings:&lt;br /&gt;
##Export Event Details&lt;br /&gt;
##Export Frame Details&lt;br /&gt;
##Export File Format: Zip&lt;br /&gt;
# Once you click the export button ZoneMinder will go through the process of packaging and formatting the events for you, this process can be quite intensive for the server if a large number of events are selected. When the process is completed a download link for a file called zmExport.zip should pop up, select save file and click ok. It is important to make a note of where you save your file as you will need to access it later.&lt;br /&gt;
&lt;br /&gt;
==Individual camera export==&lt;br /&gt;
[[image:individualview.png|right|thumb|caption|Individual camera view allows you to select specific events]]&lt;br /&gt;
[[image:individualeventview.png|right|thumb|caption|From the individual event view exporting is as simple as clicking export (top left)]]&lt;br /&gt;
This export Method is the simplest way to check and export an individual event that has happened recently on a specific monitor&lt;br /&gt;
===Steps===&lt;br /&gt;
# From your ZoneMinder homepage open the [[individual view]] of a specific camera&lt;br /&gt;
# On the &amp;quot;watch&amp;quot; view of a monitor the recent events should be listed by date under the live stream. Click on an event from this list to view the individual event.&lt;br /&gt;
# On the individual event view page you should get a stream of the event. To export this event simply click the Export link located at the top of the page.&lt;br /&gt;
# This export options dialog that pops up allows us to select the file type that is exported. Before clicking the export button you must first make sure too check the following settings:&lt;br /&gt;
##Export Event Details&lt;br /&gt;
##Export Frame Details&lt;br /&gt;
##Export File Format: Zip&lt;br /&gt;
# Once you click the export button ZoneMinder will go through the process of packaging and formatting the events for you, this process can be quite intensive for the server if a large number of events are selected. When the process is completed a download link for a file called zmExport.zip should pop up, select save file and click ok. It is important to make a note of where you save your file as you will need to access it later.&lt;br /&gt;
&lt;br /&gt;
=Extracting Events=&lt;br /&gt;
A note about this section of the how to, For the examples i am using a custom export_functions.php plug-in that comes native in stagecoach wireless ZoneMinder installs.&lt;br /&gt;
Once you have selected your desired set of events you need a logical way to organize them and store them on your computer. My suggestion is too unzip all ZoneMinder exports to a specific folder so you have them all in one place to easily browse and backup.[http://www.gadgetsdotcom.com/ ]&lt;br /&gt;
==How to unpack the export files==&lt;br /&gt;
Most operating systems have many different applications that allow you to extract zoneminder.zip packages. For this example i will show you one way to do this.&lt;br /&gt;
===Linux===&lt;br /&gt;
[[image:archiveopen.png|right|thumb|caption|Ready to extract the events folder for viewing]]&lt;br /&gt;
#Navigate to the folder where zmexport.zip was downloaded to. In this example i have 4 zmexport.zip files extracted to the folder&lt;br /&gt;
#Double click opening up the archive manager&lt;br /&gt;
#Drag the events folder from the archive manager window into another folder. For ease of use i suggest you make a separate folder to store all your ZM export events in.&lt;br /&gt;
===Windows===&lt;br /&gt;
# Navigate to the folder where zmexport.zip was downloaded to. In this example i have 4 zmexport.zip files extracted to the folder&lt;br /&gt;
# Right-click the filename and select open with your archive manager (e.g 7-zip, winzip or winrar if you are using windows)&lt;br /&gt;
# When your archiving software is loaded up you should be able to select the events folder from zmexport.zip and drag it to your desired location in the file structure.&lt;br /&gt;
&lt;br /&gt;
=Viewing Extracted Events=&lt;br /&gt;
[[image:zmeventsmasterfile.png|right|thumb|caption|zmEventImagesMaster.html has a time-stamp identifier so you can extract multiple events to one folder and still organize them by date]]&lt;br /&gt;
To view the events you have just extracted simply browse to the &amp;#039;&amp;#039;events&amp;#039;&amp;#039; folder. To view the interface of all events open up the newest zmEventImagesMaster file in Fire Fox.&lt;br /&gt;
From this page you get a tabbed view showing you events organized by monitor and chronological order. Within each events view you can display individual frames from the event or meta data about the event date/time/length&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:zmeventmaster.png|Event viewer&lt;br /&gt;
Image:zmeventframes.png|Frames viewer&lt;br /&gt;
Image:zmeventdetails.png|Event data view&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
==Events folder structure==&lt;br /&gt;
*events&lt;br /&gt;
**monitor-ids&lt;br /&gt;
***event-ID&lt;br /&gt;
****zmEventDetail.html (this is the file that contains meta data about an individual event)&lt;br /&gt;
****zmEventFrames.html (this is the file containing a listed view of all event frames)&lt;br /&gt;
****xxx-capture.jpg (individual snapshot from the event)&lt;br /&gt;
**zmEventImagesMaster.html (this is the file that acts as the &amp;quot;home&amp;quot; page for each event extraction. you can extract multiple event sets to the events folder and acquire a list of these files&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Troubleshooting&amp;diff=4320</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Troubleshooting&amp;diff=4320"/>
		<updated>2011-04-08T11:45:39Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: /* General Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General Troubleshooting==&lt;br /&gt;
If you are having problems with ZoneMinder here are some things to try. If these don&amp;#039;t work then check the ZoneMinder FAQ at http://www.zoneminder.com/wiki/index.php/FAQ and then the forums at http://www.zoneminder.com/forums.html first and see if anyone has had the same problem in the past. If not then feel free to get in touch and I&amp;#039;ll see if I can suggest something else. Please ensure that you read the posting guidelines and go through the steps listed below before posting or mailing though.&lt;br /&gt;
&lt;br /&gt;
The first thing you need to do is check the ZoneMinder logs to see if you can find out what is and what isn’t working. See the Logging section above for details about where the logs are and how to enable and control debug output, if required.&lt;br /&gt;
&lt;br /&gt;
In general though, the best places to look for errors are in the system error log (normally /var/log/messages on RedHat), the ZoneMinder logs, and the web server log (/var/log/httpd/error_log unless otherwise defined). There should be something in one of those that gives you some kind of tip off.&lt;br /&gt;
&lt;br /&gt;
Some other things you can check.&lt;br /&gt;
&lt;br /&gt;
* Device configuration. If you can&amp;#039;t get your cameras to work in ZoneMinder, firstly make sure that you have the correct settings. Use xawtv or something like that to check for settings that work and then run zmu -d &amp;lt;device&amp;gt; -q -v to get the settings. If you can&amp;#039;t get them to work with that then the likelihood is they won&amp;#039;t work with ZoneMinder. Also check the system logs (usually /var/log/messages) for any video configuration errors. If you get some and you&amp;#039;re sure they&amp;#039;re not a problem then switch off ZM_STRICT_VIDEO_CONFIG in zmconfig.pl or the ‘options’ tab.&lt;br /&gt;
* Start simple. Begin with a single monitor and single zone. You can run the zmc capture daemon from the command line as &amp;#039;zmc --device &amp;lt;device&amp;gt;&amp;#039; (or whatever your video device is). If it returns immediately there&amp;#039;s a problem so check the logs, if it stays up then your video configuration is probably ok. To get more information out of it use debug as specified below. Also check that the shared memory segment has been created by doing &amp;#039;ipcs -m&amp;#039;. Finally, beware of doing tests as root and then trying to run as another user as some files may not be accessible. If you&amp;#039;re checking things as root make sure that you clean up afterwards!&lt;br /&gt;
* Web server. Ensure that your web server can serve PHP files. It&amp;#039;s also possible that your php.ini file may have some settings which break ZoneMinder, I&amp;#039;m not a PHP guru but setting safe mode may prevent your PHP files from running certain programs. You may have to set configuration to allow this. Also since the daemons are started by your web server, if it dies or is shut down then the daemons may disappear. In this version the daemons are run under the control of a script which should trap expected signals but it is possible this doesn&amp;#039;t cover all circumstances. If everything else works but you can’t get images in your browser a likely cause is a mismatch between where your web server expects to execute CGI scripts and where you have installed the zms streaming server. Check your server configuration for the correct CGI location and ensure you have supplied the same directory to the ZoneMinder configure script via the --with-cgidir option.&lt;br /&gt;
* One of the more common errors you can see in the log files is of the form &amp;#039;Can&amp;#039;t shmget: Invalid argument&amp;#039;. Generally speaking this is caused by an attempt to allocate an amount of shared memory greater than your system can handle. The size it requests is base on the following formula, ring buffer size x image width x image height x 3 (for 24 bits images) + a bit of overhead. So if for instance you were using 24bit 640x480 then this would come to about 92Mb if you are using the default buffer size of 100. If this is too large then you can either reduce the image or buffer sizes or increase the maximum amount of shared memory available. If you are using RedHat then you can get details on how to change these settings at http://www.redhat.com/docs/manuals/database/RHDB-2.1-Manual/admin_user/kernel-resources.html.&lt;br /&gt;
* You should be able to use a similar procedure with other distributions to modify the shared memory pool without kernel recompilations though in some cases this may be necessary. You can also sometimes get shared memory errors if you have changed the monitor image size for instance. In this case it is sometimes that an old process is hanging onto the shared memory and will not let it be resized. Ensure that you do a full ZoneMinder restart and/or manually delete the shared memory segment to check. Use the ipcs and ipcrm system commands to check and remove segments if necessary.&lt;br /&gt;
* If you get odd javascript errors and your web console or other screens come up with bits missing then it&amp;#039;s possible that there is a problem with the PHP configuration. Since version 0.9.8 ZoneMinder has used short PHP open tags to output information, so instead of something like this &amp;#039;&amp;lt;?php echo $value ?&amp;gt;&amp;#039;, it will be something like this &amp;#039;&amp;lt;?= $value ?&amp;gt;&amp;#039; which is easier and quicker to write as well as being neater. More information about this directive can be seen at the following location, http://www.php.net/manual/en/configuration.directives.php#ini.short-open-tag. However although by default most PHP installations support this form, some will need to have it switched on explicitly. To do this you will first need to find your php.ini file (do a &amp;#039;locate php.ini&amp;#039; or &amp;#039;find / -name php.ini&amp;#039;. Be aware however that sometimes you might find more than one, so ensure you identify the one that is actually being used. You will then need to find the line that starts &amp;#039;short_open_tag = &amp;#039; and change the Off value to On. This will correct the problem. However in some cases you may have explicitly switched it off, so that XML compliant documents can be more easily served, or you may even not have permission to edit the file. In this case you can go into the web directory of ZoneMinder and run &amp;#039;sh retag.sh&amp;#039; which will replace all the short open tags in the files themselves with the longer variant. You will obviously have to remember to do this for each subsequent version of ZoneMinder that you install as well.&lt;br /&gt;
* Paths. I admit it, the various paths in ZoneMinder can be a little hard to work out mainly because some relate to real directories and others to web paths. Make sure that they are all sensible and correct and that permissions are such that the various parts of ZoneMinder can actually run.&lt;br /&gt;
* Missing perl modules. There are various perl modules used by the various scripts. The configure script should inform you if a required or optional module is absent but it is possible some may get missed. If you get errors about missing modules, the easiest way to install them is via &amp;#039;yum&amp;#039; or your distributions package manager. In Fedora for example to install module XXX:YYY is to type &amp;#039;&amp;#039;&amp;#039;yum install perl-XXX-YYY&amp;#039;&amp;#039;&amp;#039;. The alternative, if the module is not available via that route or your prefer to build from source, is to type the following (you will probably need to be root), &amp;#039;&amp;#039;&amp;#039;perl -MCPAN -eshell&amp;#039;&amp;#039;&amp;#039; this will then (eventually, after some configuration if it’s your first time) present you with a prompt. From there you can type install module, e.g. Archive::Zip and the rest should be more or less automatic as it will chase any dependencies for you. There may be some initial configuration questions it might ask you on startup if you&amp;#039;ve never run it before and to speed things up I would not install a new Bundle at this point (it can end up building you a whole new perl if you’re not careful) if it asks you but everything else should be quite straightforward. You can often also install perl modules via your ordinary package manager, e.g. yum or apt.&lt;br /&gt;
* Unsupported palettes. ZoneMinder currently is designed to use the simple palettes of greyscale and 24 bit as well as now the YUV420P and some other palettes. This should cover most cameras but it&amp;#039;s possible that there are ones out there that might want to use more esoteric formats that ZoneMinder doesn’t support. This will often show up as the capture daemon being unable to set picture attributes. If this occurs try using different palettes starting with greyscale and if you can&amp;#039;t get anything to work let me know and I&amp;#039;ll try and add it.&lt;br /&gt;
* USB bus problems. If you have multiple USB cameras on one bus then it can appear as if ZoneMinder is causing your cameras to fail. This is because the bandwidth available to cameras is limited by the fairly low USB speed. In order to use more than one USB camera with ZoneMinder (or any application) you will need to inform the driver that there are other cameras requiring bandwidth. This is usually done with a simple module option. Examples are usb_alt=&amp;lt;n&amp;gt; for the OV511 driver and cams=&amp;lt;n&amp;gt; for CPIA etc. Check your driver documentation for more details. Be aware however that sharing cameras in this way on one bus will also limit the capture rate due to the reduced bandwidth.&lt;br /&gt;
* Incorrect libjpeg.a detection. It seems to be the case that in some cases the library file libjpeg.a is reported as missing even when apparently present. This appears to actually be down to the g++ compiler not being installed on the host system. Since ZoneMinder contains both C++ and C files you need to be able to compile both of these file types and so usually need to ensure you have gcc and g++ installed (though they are often the same binary).&lt;br /&gt;
* Httpd and zms memory leaks. It has been reported by some users with RedHat 9 that the zms process fails to terminate correctly when the controlled window is killed and also that it, and it’s associated httpd process, continue to grow in memory size until they kill the system. This appears to be a bug in early versions of  apache 2. On other systems it may appear that zms is leaking and growing. However what grows is the total and shared memory size while the non-shared memory size stays constant. It&amp;#039;s a little odd but I think what it happening is that as zms picks images out of the shared memory ring buffer to display, as each slot is read the size of that bit of memory is added to the shared memory total for the process. As streamed images are not read consecutively it&amp;#039;s a semi-random process so initially most of the buffer slots are new and the shared memory size grows then as time goes on the remaining unaccessed slots reduce until once all have been read the shared memory use caps out at the same size as the actual segment. This is what I would have expected it to be in the first place, but it seems to do it incrementally. Then once this total is hit it grows no further. As it&amp;#039;s shared memory anyway and already in use this apparent leak is not consuming any more memory than when it started.&lt;br /&gt;
&lt;br /&gt;
Also, if you are using IE under Windows and get lots of annoying clicks when various windows refresh then you&amp;#039;ll need to edit your registry and remove the value for HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\Navigating\.current or download the registry script to do it for you from http://www.zoneminder.com/downloads/noIEClick.reg&lt;br /&gt;
&lt;br /&gt;
==Missing/No video or monitor shows RED in ZM Console==&lt;br /&gt;
*First and most importantly TRY accessing the camera stream using FFMPEG/mplayer/xawtv and make sure you can access the video stream that way, as frequently if it won&amp;#039;t work there its easier to troubleshoot it with those applications than with ZM.  If you do get it working with FFMPEG there is almost no reason it shouldn&amp;#039;t work in ZM.  Note if your camera is putting out a mjpeg stream then FFMPEG/mplayer require the file to end in .mjpg or .mjpeg for remote urls this can be accomplished by appending ?a=.mjpg to the stream so if your camera url is: http://123.123.123.123/stream.cgi you would turn this into: http://123.123.123.123/stream.cgi?a=.mjpg  if your stream already has a query string on it (a ? ) then just do &amp;amp;a=.mjpg at the end of it.&lt;br /&gt;
**If you did get it working using mplayer/ffmpeg and are using a &amp;quot;Source Type&amp;quot; other than FFMPEG in zoneminder try using FFMPEG.  FFMPEG is frequently more tolerant of issues than some of the native ZM camera support (just make sure you have ZM compiled with FFMPEG support, and if possible use the newest version of FFMPEG that you can).&lt;br /&gt;
*If your specific camera is talked about either on the wiki or in the supported hardware on the forums look at exactly what people did to make it work.&lt;br /&gt;
*Make sure the Monitor Function is obviously not set to &amp;quot;None&amp;quot; for the monitor or ZM will not touch it.&lt;br /&gt;
*Ensure zoneminder is setup for extra debugging so go to the Options in the web console then the debug tab:&lt;br /&gt;
**Switch additional debugging on(EXTRA_DEBUG)&lt;br /&gt;
**Set debug level to 5 (EXTRA_DEBUG_LEVEL)&lt;br /&gt;
**Make sure The debug output location is valid the default of /tmp/zm_debug.log+ is generally fine (EXTRA_DEBUG_LOG)&lt;br /&gt;
**Make sure the general log path (Under Path&amp;#039;s tab) is valid(PATH_LOGS)&lt;br /&gt;
**Save changes and Restart zoneminder so changes take effect.&lt;br /&gt;
*Now make note of the monitor ID you want to debug (if you are not sure click it under the Source column and in the popup window it will say: Monitor - WhateverMonitorName (1234)  where 1234 will be the monitor ID&lt;br /&gt;
*Now you will want to check two sets of logs, first are the generally logs which for zone minder will be in the folder PATH_LOGS and also in your syslog.  You may find it easier to filter the zoneminder messages out of your default syslog file (but that is beyond this scope) if you have not filtered them out they will most likely be in /var/log/messages (or whatever your default log file is).   It can be helpful to stop zone minder, erase them, and then start zone minder so you can look at each one and see exactly what happened as ZM started up.&lt;br /&gt;
*Finally/Most usefully you will want to check the individual log file for the exact zone minder capture daemon for that monitor (zoneminder should be running).  To find this log file from a shell run &amp;quot;ps axf | grep zmc&amp;quot; it should show you one or more zmc processes.  After each one will be a  &amp;quot;-m 1234&amp;quot;  where 1234 is the monitor it is capturing for. You will also notice on the far left side of the output of that line will be a number, this is the PID of the process.  If you do not see any zmc processes running most likely they are crashing after they start.  To figure out the crashed zmc&amp;#039;s PID so you can look as its log you want to check the zmdc.log file, it will say something like &amp;quot;zmdc[6001].INF [&amp;#039;zmc -m 1234&amp;#039; starting at 1/1/1 02:56:25, pid = 459]&amp;quot; so you can get its PID from there. Now the ZM log file for the process will be at EXTRA_DEBUG_LOG + .PID however the PID is padded out to 5 chars (with 0&amp;#039;s at the front)  So if your EXTRA_DEBUG_LOG is:  &amp;quot;/tmp/zm_debug.log+&amp;quot; and the PID is 459  of the ZMC process then the log file would be /tmp/zm_debug.log.00459  This file will most likely have the gold that you are looking for as to what is going on/wrong.&lt;br /&gt;
*Of course if ZMC shows no errors and seems to be going fine, it may make sense to look at the ZMA daemon it is the next its the next step.&lt;br /&gt;
&lt;br /&gt;
==Getting FREE help from others==&lt;br /&gt;
There are two main places you can ask for help,  the forums and IRC (irc.freenode.net #zoneminder) BEFORE you ask for help please make sure you read ALL of the Documentation and all of this troubleshooting page. Also see: http://www.zoneminder.com/forums/viewtopic.php?t=12385 .  Search for problems like yours on the forums.  Please try and upgrade to the latest version of zoneminder if you can, as many bugs get fixed and we generally prefer to debug issues on the current version. If you still need assistance its time to do so correctly.   Make sure you are very specific on whats going on, what you have done to try and troubleshoot it, and use http://pastebin.com/ to post output from logs related to your issue (try to only post the related parts).  Make sure you are very specific and give as much details as possible.   If you ask very generic questions or it doesn&amp;#039;t seem you have tried what is recommended you may not get responses.&lt;br /&gt;
&lt;br /&gt;
==Getting PAID suppport==&lt;br /&gt;
If you are willing to pay for support still try the forums or IRC if you have the time/ability may help you find someone who can help you anyway, but otherwise email support at zoneminder dot com  and mention you are looking for paid support.  We should be able to have someone get in contact with you shortly and help you.  It is still recommended you do the above things as it will help us speed up helping you which means it will also cost you less and get you running faster.&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Talk:Main_Documentation&amp;diff=4319</id>
		<title>Talk:Main Documentation</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Talk:Main_Documentation&amp;diff=4319"/>
		<updated>2011-04-06T02:15:03Z</updated>

		<summary type="html">&lt;p&gt;Bs27975: /* Tutorial */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Im not familiar with zm, so I wont edit the main wiki, but the rpm install of zm 1.24.2 for suse 11.3 was a bit different:&lt;br /&gt;
&lt;br /&gt;
I used the one click install. It offered the preselected zm repo and other unselected repos.&lt;br /&gt;
I selected one of the packman repos, too, so that dependencies could be resolved (iirc without it, a perl zip module was missing).&lt;br /&gt;
&lt;br /&gt;
#I configured /etc/zm.conf with a different user name but discovered, that is not possible. Leave it as zm_admin or the next step will fail.&lt;br /&gt;
#The zminit command was not found. I used zm_database_init instead. And this seems to need user zm_admin:&lt;br /&gt;
&lt;br /&gt;
 # zm_database_init&lt;br /&gt;
 INFO: when db is correctly installed and you just reinstalled rpm, then answer all questions with &amp;#039;n&amp;#039; &lt;br /&gt;
 new install create db&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &lt;br /&gt;
 enter mysql root password: &lt;br /&gt;
 &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 create user zm_admin for zoneminder? [Y/n]: &lt;br /&gt;
 Enter new passwd for user zm_admin: &lt;br /&gt;
 &lt;br /&gt;
 retype password: &lt;br /&gt;
 &lt;br /&gt;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 removing lock file &lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
I did the remaining tasks (activate apache2 and zm in runlevel 3 and 5, etc.) with yast gui.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe the changes are not distro specific but due to newer zm release. If someone with mandrake and fedora knowledge confirms this, it could be copied to the main wiki...&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
&lt;br /&gt;
Having gone &amp;#039;aptitude -y install zoneminder&amp;#039;, not having yet gone to the wiki, in coming to zoneminder.com, hit support, then documentation, I get to a very substantive page. Thank you. Since I&amp;#039;m already &amp;#039;installed&amp;#039;, I hit the link for Tutorial.&lt;br /&gt;
&lt;br /&gt;
Which starts with &amp;#039;What you see now.&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Well, I don&amp;#039;t see anything now.&lt;br /&gt;
&lt;br /&gt;
Could this section be changed to something like ... (if you haven&amp;#039;t already) start up your web browser and go to {somewhere}. Then continue with &amp;#039;What you see now&amp;#039; ...&lt;/div&gt;</summary>
		<author><name>Bs27975</name></author>
	</entry>
</feed>