Since 1998

menu

Get Firefox!

 

 

 

Setting up
 
aball.gif (7394 octets) To set up your own cam you must have some basic knowledge on how internet works, you must know about HTML language, then it is not so difficult to set it up. The following guide will help you to set your Livecam.

You may also view the "Step by Step basic installation with Webcam32".

How it works

There is basically 2 methods: The "FTP Upload" (the most common method) and the "streaming cam" method (requires more bandwidth).

1."FTP Upload"    (click here to go to the "streaming cam" section)

The graph below will show you the easiest way:  FTP upload:

ftphow.gif (28585 octets)

1. Your cam is filming something. 2. the software captures a picture (usually a JPG file) from the cam every x seconds (10, 30, etc...) and send it, using FTP, to the place your site is hosted (usually your provider). Then the picture will be downloaded into your web page and refreshed every x seconds (4.).

To refresh the picture on your page there is differents ways to do it:

The "Meta Refresh" tag

this is the simplest way and it should look like this:

<HTML>

<HEAD>

<META HTTP-EQUIV="REFRESH" CONTENT="360">

360 = the time in seconds.

The problem using this solution is that it will refresh the whole page ! Another way (the best one) is to use a Java applet that comes with Webcam32 or other softs. This applet will only refresh the picture: see Livecam Page.

The JAVA refresh method

You can get the JavaCam Applet here.

1. Put the file JavaCam.class in the same directory where you send the pictures from your cam.

2. Then insert the following HTML tags in your Webcam page:
(webcam32.jpg is the name of the picture from the cam, it could be another name)

<APPLET code="JavaCam.class" width="320" height="240">
<PARAM name="url" value="http://www.yourhost.com/webcam32.jpg">
<PARAM name="interval" value="10">
</APPLET>

If you don't want to place the picture and the Applet in the ROOT directory you must indicate it by adding the CODEBASE command as below:

<APPLET code="JavaCam.class" codebase="http://www.yourhost.com/dir. name" width="384 height="288">
<PARAM name="url" value="http://www.yourhost.com/dir. name/webcam32.jpg">
<PARAM name="interval" value="5">
</APPLET>

The first line give the name of the applet, from which dir. it has to be loaded and give also the size of the window (where will come the cam picture) The second line give the URL of the picture. The third line give the refreshing rate of the picture (if you have a dial-up connection, 5 sec. is the minimum)

3. It should work :-))

2. the "streaming cam"

The graph below shows the "streaming cam" method:


pushpull.gif (32883 bytes)

When someone load your Webcam page, the image will directly come from the PC where the cam is connected using the IP address and a port number, it means that the webcam software will act as a server.

This method requires a lot of bandwidth, a 56K connection is not really enough. But it also depends on the client connection type (your visitor) and the size of the video.

The Webcam32 software is able to do it and there is some different ways to install it. True tech Webcam also use the streaming method.

What do you need

1. You need a place to host your site (if you don't already have it).

2. A Webcam or a capture card (if you have already a camcorder). see hardware page for links to Webcams manufacturers and considerations to choose a Webcam.

3. A software to make it works. See the software page.