faqts : Computers : Programming : Languages : Html

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

20 of 23 people (87%) answered Yes
Recently 10 of 10 people (100%) answered Yes

Entry

HTML: Webcam: LAN: Image: How to share webcam images between computers in LAN? [TimerShot]

Apr 28th, 2005 03:34
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 28 April 2005 ---------------------------------

HTML: Webcam: LAN: Image: How to share webcam images between computers 
in LAN? [TimerShot]

---

This is one of the simplest methods.

-Download and install the (free) Microsoft TimerShot program,
 (this will give a refresh rate of maximal 1 picture per second)

-Choose the directory and time interval of saving
 your webcam files in TimerShot

-Create a very short HTML page containing the REFRESH command.

-Save this HTML file in a shared directory on your LAN,
 so that all computers have access to it

-Run this HTML file in the browser on each of the
 computers in your LAN.

---
---

Steps: Overview:

 1. -Run a program that periodically saves an image to a folder

 2. -Run a program that periodically loads an image from that folder

      REPEAT

       ShowImage( "your folder\your filename.your extension" )

      UNTIL FALSE

 3. Put this program in a shared directory
    in your LAN network, and run this from each
    of your computers in your network

---
---

Steps: Overview:

 1. -Run a program that periodically saves an image to a folder

     1. Download and install the Microsoft TimerShot program

http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

        1. Select your webcam from the list 'Device'

        2. TimerShot will automatically save that web cam pictures
           to the default path:

e.g. in general:

c:\documents and settings\<your 
username>\MyDocuments\MyPictures\MyPic.jpg

---

e.g.

c:\documents and 
settings\administrator\MyDocuments\MyPictures\MyPic.jpg

 2. -Run a program that periodically loads an image from that folder

     1. Create a web page, with a command that periodically refreshes
        your webpage

         in general:

--- cut here: begin --------------------------------------------------

<META
 HTTP-EQUIV="refresh"
 CONTENT="<amount of seconds for refresh>"
>

<IMG
  SRC="<your filename>"
>

--- cut here: end ----------------------------------------------------

         for example:

--- cut here: begin --------------------------------------------------

<META
 HTTP-EQUIV="refresh"
 CONTENT="1"
>

<IMG
  SRC="MyPic.jpg"
>

--- cut here: end ----------------------------------------------------

     2. Save this as a web page in the same directory
        as where TimerShot saves the webcam pictures

         e.g. in general: save it as

          <your filename>.htm

         in the directory

c:\documents and settings\<your username>\MyDocuments\MyPictures\

---

e.g.

         e.g. save it as

          myfilename.htm

         in the directory

c:\documents and settings\administrator\MyDocuments\MyPictures\

     3. Possibly change the time interval of refresh

        1. Change the "1" in 'CONTENT'
           to another value (e.g. "5")

     4. If you run this program, it will then show your webcam picture
        in the web browser


                +--------------------+
                |                    |
                |                    |
                |                    |
                |    your refreshing |
                |    image           |
                |                    |
                |                    |
                |                    |
                |                    |
                |                    |
                |                    |
                |                    |
                |                    |
                +--------------------+

        9. Put this html page in a shared directory in
           your LAN network, and run this from each of your computers
           in your network

           1. Open a browser

           2. Type the filename of your .htm file in the shared 
directory
              in the URL field

                e.g.

c:\documents and settings\<your 
username>\MyDocuments\MyPictures\myfilename.htm

                e.g.

c:\documents and 
settings\administrator\MyDocuments\MyPictures\myfilename.htm

       10. If you put this web page on your (Internet) server in the
           web server directory (e.g. 'htdocs'), then you can access
           this html page also from the Internet (if you can also
           refresh that corresponding webcam picture via TimerShot in
           a directory accessible by that html page)

                 e.g.

                  http://www.yourwebsite.com/myfilename.htm

---
---

Internet: see also:

---

Reloading The Page
http://www.htmlgoodies.com/tutorials/getting_started/article.php/347955
1

---

Microsoft TimerShot program
http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

---

Webcam: LAN: Image: Share: Link: Can you give an overview of links?
http://www.faqts.com/knowledge_base/view.phtml/aid/35845/fid/519

----------------------------------------------------------------------