Press here to show the print version.

 

Hi,

Webcamd is a small daemon that enables use of hundreds of different USB based webcam and DVB devices under the FreeBSD-8.0 and later operating system. The webcam daemon is basically an application which is a port of Video4Linux USB drivers into userspace on FreeBSD. The daemon currently depends on libc, pthreads, libusb and libcuse4bsd.

Licensing wise the webcamd is GPL'ed due to the external Video4Linux part which is GPL'ed, though some files inside the webcamd remains BSD licensed which allows for building similar BSD licensed daemons.

How to get the latest source code:

#
# 1) Update to FreeBSD 8-STABLE or 9-CURRENT.
#

#
# 2) Install the following ports:
#

/usr/ports/multimedia/v4l_compat
/usr/ports/multimedia/libv4l
/usr/ports/multimedia/pwcview

#
# 3) Make sure Cuse4BSD is installed
#

svn --username anonsvn --password anonsvn \
      checkout svn://svn.turbocat.net/i4b/trunk/usbcam/cuse4bsd

make all install

#
# 4) Build webcamd
#

svn --username anonsvn --password anonsvn \
      checkout svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux

make fetch

cd patches

./do_patch.sh

cd ..

make -j3 all

# the following command will attach to the first detected webcam:

./webcamd

#
# The following command will try to attach to the given USB unit,
# interface and V4B unit.
#

./webcamd -d ugen4.1 -i 0 -v 0

#
# The following command will display webcam contents from /dev/video0
# by default.
#

pwcview



Feedback and bug reports are welcome.

The software is now in ports. See /usr/ports/multimedia/webcamd .

--HPS

This document was last updated on Fri Feb 12 18:13:40 CET 2010.