📄 example.camerc.ssh
字号:
# still need these filenames for scp usage[ftp]dir = public_html/imagesfile = webcam.jpgtmp = uploading.jpgdo = 0upload_every = 1[scp]target = user@hosttimeout = 30[grab]device = /dev/video0# store temp image on local machinetemp_file = /tmp/webcam.jpg# lag reduction, takes 5 shots, discards the first 4, thus clearing mmap# bufferslag_reduce = 5# This goes at the bottom left, with the message from "infofile" appended.# It is run through strftime, so date vars are expanded.text = %d/%m/%Y %H:%M %Z - width = 352height = 288# delay between uploading one shot and starting the nextdelay = 10# do we want to correct the delay for a slow connect?# (keeps the perpetually updating clients in sync)correct = 1# scale image resolution dynamically based on bandwidth?# percentage of the delay to spend uploading the image,# 100 disables, useful values are < 40percent = 100######################################################### PWC specific features (only for philps cams right now)# framerate of cam capture, lower fps -> less grainy image, more chance or# blurred motionframerate = 5# image settings (0-100)colour = 50brightness = 50contrast = 50hue = 50whiteness = 50# White balance mode# can be "auto", "indoor", "outdoor", "fluorescent" or "manual"pwc_wb_mode = auto# if _mode is set to manual, these two controls affect the balance# (0-100)pwc_wb_red = 50pwc_wb_blue = 50######################################################### where to log activity. comment out this line to disable logginglogfile = /home/gilbertt/.camlog# gets the message text from here. one line allowed only. means you can do# stuff like echo "sleeping and stuff" > ~/.caminfoinfofile = /home/gilbertt/.caminfo# directory to archive pics in. They are datestamped and saved in here.archive = /opt/images/webcam# archive pics in datestamped subdirs# (1 == with subdirs, 0 == without subdirs)archive_subdirs = 0# extension (determines type) of archived images.archive_ext = jpg# jpeg quality (you can save as png etc too, but then quality does squat)quality = 80input = 0# 0 for PAL, 1 for NTSCnorm = 0# Goes in the top right. strftime() is run on this too, so put date stuff in# if you liketitle_text = Giblet TV# color/transparency of title texttitle_r = 255title_g = 255title_b = 0title_a = 255# font for title text. fontname/sizetitle_font = arial/8# fancy font styles# title_style = /path/to/title.style# color/transparency of message texttext_r = 255text_g = 255text_b = 0text_a = 255# font for message text. fontname/sizetext_font = arial/8# fancy font styles# text_style = /path/to/text.style# color/transparency of rectangle behind text# make it 0,0,0,0 to disable.bg_a = 0bg_b = 0bg_g = 0bg_a = 100# directory to look for ttf fonts inttf_dir = /usr/X11R6/lib/X11/fonts/TrueType# file to check for before shooting. while this file exists, no shots will# be taken.blockfile = /home/gilbertt/BLOCKCAM# image to upload when blockfile is first put in placeoffline_image = /home/gilbertt/.block.jpg# File to check before shotting, while this file exists, shots will be taken.# but not uploaded.uploadblockfile = /home/gilbertt/BLOCKUPLOAD# Shots will only be taken/uploaded if the specified interface is active.#watch_interface = ppp0# image to overlayoverlay_image = /home/gilbertt/.lb.pngoverlay_x = 5overlay_y = 5# do things. like play sounds or whatever. Each is a shell command.#action_pre_shot#action_post_shot#action_post_upload
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -