README FIRST
============

DOWNLOAD
This software is under development so you could found new good releases
in my little home-page:
http://www.lookee.it/index.php?p=5

I wish publically thank Christophe Lucas for his help and his patch!

In this release of pre-alfa version of snc102-webcam I've introduced 
(with he great help of Christophe) a config file called:
webcam.conf were you can set all parameters required for FTP upload.

This program is based on:

sn9c102-tools  from http://go.lamarinapunto.com
sn9c102-webcam form http://odie.mcom.fr/~clucas/articles/sn9c102.html
ftplib         from http://nbpfaus.net/~pfau/ftplib

and it requires:
- Image-Magick library (http://www.imagemagick.org)
- SDL library (http://www.libsdl.org)
- linux kernel > version 2.6.8-rc2
- snc9c10x driver installed (or other?)

more information about sn9c10x driver available on:
http://www.linux-projects.org/modules/news
available only for linux kernel >= 2.6.10

CONFIGURATION
file webcam.conf contains parameters to ftp-upload:

insert y key in the enable_ftp if you wish enable the ftp_upload
funcion.

for eg. to enable ftp uploading
enable_ftp=y

the following: user, password, host: that I hope are self explanatory :-) 

remote_file: is the name (with full path) for the remote file after upload!

TIPS:
for slow connection: the program uploads a file called as remote_file but
with .tmp in tail of the name. after the full upload, by an ftp command,
the program rename the .tmp tailed filename in the real remote file name.

for eg.
remote_file name is: /webcam/luke.jpg

programs uploads and overwrite by ftp: /webcam/luke.jpg.tmp
and after the upload it quickly renames:
/webcam/luke.jpg.tmp in /webcam/luke.jpg

you can ignore this procedure :-) but don't put important information
on file called as remote_file followed by .tmp :-)

COMPILE
$ make

RUN

$ ./webcam

Remember that it's an a pre-alfa version so: happy segmentation fault!
I can say to you that this software works good in some my workstations.

have fun!

HELP
Please send me your comment, greets, patches and bugfixes!

--
lookee
luca at lookee.it
www.lookee.it
