.:
[ Help ] :.
.: [Language]
[Camera] [File] [Ftp]
[Http] [Stream] [Overlay]
[Startup] :.
Yawcam
- Settings
The
Settings panel can be accessed by clicking Settings ->
Edit Settings... in the text menu (in the main window).
When
the window opens it looks like this:

Change
which type of settings you want to edit by selecting a topic from
the list to the left in the settings window.
Here
follows a description of all the settings:
More
info about changing language can be found on this
page.

Yawcam
is compatible with all webcams that support VFW (Video For Windows).
Luckily almost all usb-webcams today support VFW.
If
Yawcam has found your camera it will be visible in the camera
list. If the list is empty go back to the main window and try
to detect the camera. This is done by clicking Settings
-> Detect Camera... in the text menu.
When
a camera has been selected, a list of video formats (supported
by that camera) will be displayed in the lower selection box.The
digits in the square brackets show the size of the image. Remember
that a larger image will require more bandwidth when transferred
between computers.
The
format selected here will determine the size for all the output
types.

The
file output takes a picture and saves it to the local computer
with a given interval.
Type:
Here you select in which format the picture will be saved. Yawcam
supports JPG, GIF and PNG. It is only possible to select the image
quality if JPG is chosen.
Path:
The path to where the image will be saved. It is possible to browse
for the path by clicking the "Browse..." button.
Image
quality: Use the slider to select the image quality or
type it in the text box to the right. (This option is only available
if JPG is selected as the image type.) Remember that higher quality
will give larger file size.
Interval:
This option determines how often a new image will be taken and
saved. Type a value in the text box. It is ok to give a value
with decimals if you feel that this is necessary ;-) .

The
ftp output takes an image and uploads it to a computer via FTP
with a given interval.
Type:
Here you select in which format the picture will be saved. Yawcam
supports JPG, GIF and PNG. It is only possible to select the image
quality if JPG is chosen.
Image
quality: Use the slider to select the image quality or
type it in the text box to the right. (This option is only available
if JPG is selected as the image type.) Remember that higher quality
will give larger file size.
Ftp
server: Type in the address to the computer where the
image will be uploaded to.
Port:
The port number on which the ftp server is running. (default is
21)
Username:
The username for your ftp account.
Password:
The password for your ftp account.
Directory:
It is possible to specify in which subdirectory of your ftp account
that the image will be uploaded to. If you don't use a subdirectory
just set the value to "/" (as in the image above).
Filename:
This option decides the name of the file.
Upload
interval: Determines how often a new image will be taken
and uploaded to the ftp server. Type a value in the text box.
If
you save the password in the ftp settings it will be saved in
clear text in a file when yawcam exits. This is not recommended
if the computer has many users. Instead leave the password field
empty, and you will be prompted for it when yawcam needs it.
On the other hand the ftp protocol is not a very secure protocol
by itself. (It sends the password in clear text to the host.)
So, it might not be so dangerous to save the password in yawcam
anyway ;-)
It's up to you!

The
http output starts a webserver and takes a new image for every
request for /out.jpg
The URL to the webserver will be on the format http://your_ip:port
Port:
This is the port number to which the web browser connects to.
Image
quality: Use the slider to select the image quality or
type it in the text box to the right. Remember that higher quality
will give larger file size.
Note
that some internet service providers block some ports. So if the
default port numbers in Yawcam doesn't work, you can try with
another.
Feel
free to change the look of the pages in www directory.
(This is located where you installed Yawcam
i.e. C:\Program Files\Yawcam\www )

The
stream output is the mode where you can stream video. At the moment
Yawcam uses MJPEG as compression.
The
stream output uses the built-in webserver and a java applet to
present the video, so it can be viewed from any web browser with
java plug-in.
Port:
This is the port number to which the web browser connects to (and
the image data is sent over).
Image
quality: Use the slider to select the image quality or
type it in the text box to the right. Remember that higher quality
will require more bandwidth.
Heading:
Will be displayed on the webpage that holds the stream applet.
Force
public ip: If "Advanced" is selected the stream
applet will use the address written here when it tries to connect
to Yawcam. This option would typically be used if Yawcam is running
on a computer located behind a router or another computer so that
it is not directly connected to the internet.
You will also have to redirect the port above on the router/"outer
most computer" to get this working.
If you are directly connected to the internet just leave the advanced
checkbox unchecked, and everything should work fine.
The
URL to the stream page is displayed at the bottom settings panel.
Note:
If advanced mode is used and port has been redirected there may
be problems viewing the stream applet from the local network.
Then use your internal ip and add /local.html to the address.
(This address is the last one at the bottom of the settings panel.)
Info about the template and built-in
webserver
There is a template file that decides the appearance of the stream
webpage if you are using the built-in webserver. The template
file is located in stream\template.html in your Yawcam directory
( i.e. C:\Program Files\Yawcam\stream\template.html ) You can
edit the template as you prefer, but remember that the following
keywords will be replaced with real values from Yawcam:
@HEADING
@HOST
@PORT
@WIDTH
@HEIGHT
It
is also possible to use a webserver of your own and skip the built-in
one. To do this, follow these steps:
1)
Copy YawApplet.class (found in the stream directory) to your webserver.
2) Include the following code to your webpage:
<APPLET CODE=YawApplet.class WIDTH="@WIDTH"
HEIGHT="@HEIGHT">
<param name="Host"
value="@HOST">
<param name="Port"
value="@PORT">
</APPLET>
|
3)
You have to replace all key words (the red ones with an @) by
hand.
@HOST
- Your public ip (where Yawcam is running)
@PORT - The stream port (set in Yawcam, default = 8081)
@WIDTH - The width of the image
@HEIGHT - The height of the image
A
simple example of a webpage with the keywords replaced:
<html>
<body>
<APPLET
CODE=YawApplet.class WIDTH="320" HEIGHT="240">
<param
name="Host" value="192.168.0.1">
<param
name="Port" value="8081">
</APPLET>
</body>
</html> |
Note:
An applet is only able to open a connection to the server it was
downloaded from.
So you can't run the webserver and Yawcam with different public
addresses without using a signed applet.
Using
the signed applet
If you run Yawcam and the webserver on computers with different
public addresses, you have to use the signed applet.
The signed applet and an example html file is located in the stream
directory. (i.e. c:\program files\yawcam\stream)
Copy YawApplet_s.jar to the webserver and create a new html file
(or modify the example file).
The html file must include the following code:
<APPLET
CODE=YawApplet.class WIDTH="320"
HEIGHT="240" archive="YawApplet_s.jar">
<param name="Host"
value="_Computer_where_you_run_yawcam_">
<param name="Port"
value="8081">
</APPLET>
|
where you have replaced the red values with data specific to
your computer and situation.
The signed applet requires that the viewers have java runtime
environment 1.4 or later installed. Get it at http://www.java.com

It
is possible to add up to 4 information texts in the image in Yawcam.
The text added here will be visible in all output types.
Each
text overlay has an own tab.
There
are some special letter combinations that will be replaced by
other values in the text. Here is a list:
%YYYY
= Year (4 digits)
%YY = Year (2 digits)
%MM = month
%DD = day
%hh
= hours
%mm = minutes
%ss = seconds
%vv = Number of stream viewers

The
startup panel is more or less self explaining...
The
checkboxes above the line decide which of the output types that
automatically will be started when Yawcam starts.
The other checkboxes are somewhat different so I'll try to explain
them short.
Show
preview: Shows the preview window when Yawcam starts.
Show
console: Shows the console window when Yawcam starts.
Show
viewers: Shows the stream viewers window when Yawcam
starts.
Hide
to traybar... : Starts Yawcam in minimized mode hidden
to the traybar.
Show
splashscreen: Shows an intro image during Yawcam loads
in the startup.