Changes

Active WebCam Video Surveillance Software

3,060 bytes added, 04:16, 26 November 2019
The following lines were added (+) and removed (-):
== Review ==[[Image:15star.png]] Pros:* works with the [[Pico UCC4 Conexant 878A 4-port PCI DVR Card]]* motion detection* records in video or still picture formats* can launch exe upon motion detect* can call phone on motion detectCons:* Stability issues* Memory leak, PC requires reboot every couple days* Program crash may wipe out all camera settings* No automatic settings backup or recovery Cam{CAMERA}_{yy-mm-dd@hh`nn`ss}=== Broadcasting and Web Server ===The HTTP Server feature is somewhat problematic.  It is important to understand that each camera requires its own Port on the HTTP server.  Even though the web page creation wizard allows selection of multiple cameras, the Broadcasting settings are unique to each camera and each must have a unique port set.  If the user sets all ports to the same, the default camera will broadcast for all cameras on the web page.HTML "Stills" page:HTML page on local web server that refreshes still images.  Utilizes JavaScript.  The following code is embedded in the HTML page by the creation wizard.  This is the minimal code necessary to create the refreshing.1. Goes inbetween <HEAD> tags right after <TITLE> tags:  <nowiki><SCRIPT LANGUAGE="JavaScript"></nowiki>  <nowiki><!--</nowiki>  <nowiki></nowiki>  <nowiki>function ShowButton(objName, ImageName) {</nowiki>  <nowiki>  objName.src=ImageName;</nowiki>  <nowiki>}</nowiki>  <nowiki></nowiki>  <nowiki>function PreloadImages() {</nowiki>  <nowiki>  if(document.images) {</nowiki>  <nowiki>      if (!document.tmpImages)</nowiki>  <nowiki>        document.tmpImages=new Array();</nowiki>  <nowiki>      with(document) {</nowiki>  <nowiki>      var</nowiki>  <nowiki>          i, j=tmpImages.length,</nowiki>  <nowiki>          a=PreloadImages.arguments;</nowiki>  <nowiki>      for(i=0; i<a.length; i++)</nowiki>  <nowiki>          if (a[i].indexOf("#")!=0) {</nowiki>  <nowiki>            tmpImages[j]=new Image;</nowiki>  <nowiki>            tmpImages[j++].src=a[i];</nowiki>  <nowiki>          }</nowiki>  <nowiki>      }</nowiki>  <nowiki>  }</nowiki>  <nowiki>  startClock();</nowiki>  <nowiki>}</nowiki>  <nowiki></nowiki>  <nowiki>//--></nowiki>  <nowiki></SCRIPT></nowiki>  <nowiki></nowiki>  <nowiki></nowiki>  <nowiki><!--  Function is refreshing web page</nowiki>  <nowiki>//  --></nowiki>  <nowiki><script language="JavaScript"></nowiki>  <nowiki><!--</nowiki>  <nowiki>var x = 500;</nowiki>  <nowiki> function startClock(){</nowiki>  <nowiki>  x = x - 200;</nowiki>  <nowiki>  timerID = setTimeout("startClock()", 200);</nowiki>  <nowiki>  if (x <= 0) {</nowiki>  <nowiki>    window.location.reload(true);</nowiki>  <nowiki>    x = 500;</nowiki>  <nowiki>  }</nowiki>  <nowiki> }</nowiki>  <nowiki>//  --></nowiki>  </script>2. JavaScript that goes in <BODY> tag to activate refresh script  <nowiki>onLoad="startClock();"</nowiki>3. Display Still Image to be refreshed  <IMG WIDTH=640 HEIGHT=480 SRC="capture1.jpg">[[Category:Security]]keywords: CCTV
Administrator
4,579
edits