Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Nov 1999 22:25:37 +0100
From:      Thomas Runge <runge@rostock.zgdv.de>
To:        freebsd-multimedia@freebsd.org
Subject:   Webcam
Message-ID:  <3821F9D1.42CE7D80@rostock.zgdv.de>

next in thread | raw e-mail | index | archive | help

As there were some questions for a webcam application some
days before I scanned, what's available for that at all.
I found the things on Rogers page only.
Here is the status I found:

- grab.c
  Works quite nice, but saves only as ppm and is slow in
  doing it.
- videocapture.c
  Writes jpeg, but doesn't work for me. It does write jpeg
  but I couldn't find a useful information in it ;)
- qcam-webcam.c
  Whats this?!? Is quickcam supported by /dev/bktr?!? No.

So I just took grab.c, videocapture.c, libjpeg.doc,
/sys/dev/bktr/* and gcc and made one, that *does* write
jpeg and that *does* work.

Here it is:

  http://www.rostock.zgdv.de/~runge/bktr2jpeg.c

How to use it? Start fxtv, switch to your favourit channel
or to your video source or whatever. Quit.
Start bktr2jpeg, the commandline options are available via
bktr2jpeg -h

Whats still todo?
Initialize the driver and set it to the wanted channel to
get rid of using fxtv the first time.
Add some commandline options to set brightness, hue etc.
But I don't think, these things are that important. If
someone wants it, it's easy to implement by himself...
At least, we have a starting point to build a bigger app ;)
Have fun with it.

-- 
Tom


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3821F9D1.42CE7D80>