# video_basic: The 'basic' color-changing video module. [video_basic] path /usr/local/lib/libvideo_basic.so # FreeBSD BTTV driver: # port 0 = Video # 1 = Tuner # 2 = S-Video # # Channel Sets: # nabscst 1 # cableirc 2 # cablehrc 3 # weurope 4 # jpnbcst 5 # jpncable 6 # xussr 7 # australia 8 [video_fbsd_bttv] path /usr/local/lib/libvideo_fbsd_bttv.so port 1 width 320 height 240 autobright 100 #brightness 0 #chroma 180 #contrast 1000 channelset 5 channel 1 [jpg_filter] path /usr/local/lib/libjpg_filter.so quality 30 # text_filters: Text filters are used to provide text on your webcam # bg,fg == #RRGGBB if RGB camera, #CC if B&W camera,else 'transparent' # x,y == Coordinates for the text # mangle == 0 turns off mangling of the 'text', 1 turns it on # text == Text to display. If mangling == 1, special metachars # such as '$X' will be expanded -- see date(1) for lots of # flags # fontname == 6x11 or 8x8 for the fontsize. [hello_world_banner] path /usr/local/lib/libtext_filter.so text Hello World bg #000000 fg #ffffff x 0 y 0 mangle 0 fontname 6x11 [time_stamp] path /usr/local/lib/libtext_filter.so text Time: $X bg #000000 fg #ffffff x 0 y 11 mangle 1 fontname 8x8 [static_filter] path /usr/local/lib/librand_filter.so num_perline 20 coloredpix 0 # # You can add the imlib2_filter to your filters list to display pictures # over your own, or small regions, or whatever your heart desires. [imlib2_filter] path /usr/local/lib/libimlib2_filter.so file /tmp/my_nasty_picture.png x 0 y 0 ########################################## # Begin Fixed Sections # ########################################## # socket parameters: # listen_port = port the camserv program listens on # max_frames = Maximum # of frames to send to the client before # closing the connection (0 disables) # max_bytes = Maximum # of bytes to send to a client before # closing the connection (0 disables) # max_seconds = Maximum # of seconds a client can be connected before # being closed (0 disables) [socket] listen_port 9192 max_frames 0 max_bytes 0 max_seconds 0 [filters] num_filters 2 filter0_section time_stamp filter1_section jpg_filter # [video] - This section is devoted to all things dealing with the pictures # taken by the input video module. These are general things which # should be used by all video modules. [video] video_section video_fbsd_bttv width 320 height 240 maxfps 0 memhack 1 [main] # To do a single time invocation of the output from the camserv, # use output_snapfile which designates the output location, and # output_presnaps to take a number of pictures before finally outputting # the final image. #output_snapfile foo.jpg #output_presnaps 100