File: README_EN

package info (click to toggle)
webcamd 0.7.6%2Brepack0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 128 kB
  • sloc: perl: 357; sh: 21; makefile: 19
file content (70 lines) | stat: -rw-r--r-- 2,140 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Webcamd v 0.7.6

Devel team:
- Pierre Dinh-van <pierre@tuxfamily.org>
- Julien Danjou <jdanjou@sans-linux.org>

diff : 	+commented config file with some new variables
	+little bugfix with new perlmagick version
	--
	+enable date add on picture in config file (to ignore a actual bug)
	--
	+device choice in config file
	+font choice in config file 

Webcamd needs following softwares:
	*video4linux (v4lctl)
	*perl (>=5)
	*apache (optional)
	*libnet-perl (for uploading into a ftp server)
	*perlmagick (library imagemagick for perl)

1) Installation of webcamd:
- Run 'make install' as root
- Run 'make userinstall' as the user who will use webcamd (example: as pierre)
- Edit /usr/local/bin/webcamd if/as you need :-)
- You can edit HTML pages, but don't edit meta tags et don't modify __INTER_REFRESH__

To run webcamd:
webcamd start
To stop webcamd:
webcamd stop
To get a instant shot:
webcamd refresh


2) Setup of webcamd - webcamd.conf
 
Edit the configuration file $HOME/.webcamd/webcamd.conf

(you should look directly $HOME/.webcamd/webcamd.conf which is now commented in french and english

Here is an example:

----begin---8<--cut-here-------

<common>
device = video0 <== the video device to use (without /dev/)
www_path = /var/www/ <== where index and shot will be (if you are using a local web server)
inter = 30 <== how many seconds wait before refresh
enable_ftp = no <== if set to "no", send files to www_path; if "yes", use <ftp> section to upload to a ftp server
webcam_resolution = 352x288 <== pictures resolution
<picture>
disp_box = yes <== display box around date ?
put_date = yes <== set to 'no' to enable the date writing on the picture
font = clean <== font to use for date
border = 0 <== border around the picture
bordercolor = white <== border color
fontsize = 15 <== time size
boxcolor = white <== box color (box around the time)
fontcolor = black <== time's color
<ftp>
host = ftp.host.org <== ftp server
user = ftp-login <== ftp login
password = pass <== ftp password
port = 21 <== ftp port (default is 21)
directory = public_html <== directory where to put files

----end---8<--cut-here-------

That's all !