Muokataan sivua Web-kameran kuva verkkoon
Siirry navigaatioon
Siirry hakuun
Kumoaminen voidaan suorittaa. Varmista alla olevasta vertailusta, että haluat saada aikaan tämän lopputuloksen, ja sen jälkeen julkaise alla näkyvät muutokset.
Nykyinen versio | Oma tekstisi | ||
Rivi 39: | Rivi 39: | ||
tmp = uploading.jpg | tmp = uploading.jpg | ||
# | # Pidetänkö yhteys avoinna (1) vai avataanko uusi joka kerta (0) | ||
keepalive = 0 | keepalive = 0 | ||
Rivi 45: | Rivi 45: | ||
passive = 0 | passive = 0 | ||
# | #an interface to use for non-passive ftp. use "-" to let libcurl choose, or | ||
# | #use a real interface name. (libcurl often chooses incorrectly) | ||
interface = - | interface = - | ||
# ftp-viestien tulostaminen (paljon tavaraa!) (1/0) | # ftp-viestien tulostaminen (paljon tavaraa!) (1/0) | ||
debug = | debug = 1 | ||
# Lähetä kuvat? Jos do=0, ottaa ja arkistoi, muttei lähetä verkkoon. | # Lähetä kuvat? Jos do=0, ottaa ja arkistoi, muttei lähetä verkkoon. | ||
Rivi 65: | Rivi 65: | ||
[scp] | [scp] | ||
# Määrittämällä do=0 ja aktivoimalla allaolevan targetin, kuvat lähetetään | # Määrittämällä do=0 ja aktivoimalla allaolevan targetin, kuvat lähetetään scp:n yli. | ||
# scp käyttää yllä määriteltyjä asetuksia dir, file, tmp, upload_every setting, joiden tulee olla määritellyt | # scp käyttää yllä määriteltyjä asetuksia dir, file, tmp, upload_every setting, joiden tulee olla määritellyt | ||
#target = user@ssh.domain.fi | #target = user@ssh.domain.fi | ||
Rivi 117: | Rivi 117: | ||
# determines how many shots are taken before a pic is archived | # determines how many shots are taken before a pic is archived | ||
# (1 == every pic, 0 == don't archive) | # (1 == every pic, 0 == don't archive) | ||
archive_shot_every = 100 | archive_shot_every = 100 | ||
# | # create archive thumbnails enable/disable flag and give width/height | ||
archive_thumbnails_dir = /opt/images/webcam/thumbnails | archive_thumbnails_dir = /opt/images/webcam/thumbnails | ||
archive_thumbnails_create = 0 | archive_thumbnails_create = 0 | ||
Rivi 127: | Rivi 126: | ||
archive_thumbnails_height = 90 | archive_thumbnails_height = 90 | ||
# jpeg | # jpeg quality (you can save as png etc too, but then quality does squat) | ||
quality = 85 | quality = 85 | ||
input = 0 | input = 0 | ||
# 0 | # 0 for PAL, 1 for NTSC | ||
norm = 0 | norm = 0 | ||
# | # Goes in the top right. strftime() is run on this too, so put date stuff in | ||
# if you like | |||
title_text = Weppikamera | title_text = Weppikamera | ||
# | # color/transparency of title text | ||
title_r = 255 | title_r = 255 | ||
title_g = 255 | title_g = 255 | ||
Rivi 143: | Rivi 143: | ||
title_a = 255 | title_a = 255 | ||
# | # font for title text. fontname/size | ||
title_font = arial/8 | title_font = arial/8 | ||
# | # fancy font styles | ||
# title_style = /path/to/title.style | # title_style = /path/to/title.style | ||
# | # color/transparency of message text | ||
text_r = 255 | text_r = 255 | ||
text_g = 255 | text_g = 255 | ||
Rivi 154: | Rivi 154: | ||
text_a = 255 | text_a = 255 | ||
# | # font for message text. fontname/size | ||
text_font = arial/8 | text_font = arial/8 | ||
Rivi 166: | Rivi 166: | ||
bg_a = 100 | bg_a = 100 | ||
# | # directory to look for ttf fonts in | ||
ttf_dir = /usr/share/fonts/truetype/msttcorefonts | ttf_dir = /usr/share/fonts/truetype/msttcorefonts | ||
# | # file to check for before shooting. while this file exists, no shots will be taken. | ||
blockfile = /home/user/BLOCKCAM | blockfile = /home/user/BLOCKCAM | ||
# | # image to upload when blockfile is first put in place | ||
# offline_image = /home/gilbertt/.block.jpg | # offline_image = /home/gilbertt/.block.jpg | ||
# | # File to check before shotting, while this file exists, shots will be taken. | ||
# but not uploaded. blockimage will not be uploaded if you set this. | |||
uploadblockfile = /home/user/BLOCKUPLOAD | uploadblockfile = /home/user/BLOCKUPLOAD | ||
# | # Shots will only be taken/uploaded if the specified interface is active. | ||
#watch_interface = ppp0 | #watch_interface = ppp0 | ||
Rivi 216: | Rivi 217: | ||
######################################################## | ######################################################## | ||
# | # PWC specific features (only for philps cams right now) | ||
# | # framerate of cam capture, lower fps -> less grainy image, more chance or | ||
# blurred motion | |||
framerate = 5 | framerate = 5 | ||
# | # image settings (0-100) | ||
colour = 50 | colour = 50 | ||
brightness = 50 | brightness = 50 | ||
Rivi 228: | Rivi 230: | ||
whiteness = 50 | whiteness = 50 | ||
# | # White balance mode | ||
# "auto" | # can be "auto", "indoor", "outdoor", "fluorescent" or "manual" | ||
pwc_wb_mode = auto | pwc_wb_mode = auto | ||
# | # if _mode is set to manual, these two controls affect the balance | ||
# (0-100) | # (0-100) | ||
pwc_wb_red = 50 | pwc_wb_red = 50 |