From owner-freebsd-multimedia Wed Oct 27 21:21:43 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from queasy.outpost.co.nz (outpost2.inspire.net.nz [203.96.157.26]) by hub.freebsd.org (Postfix) with SMTP id 9A6FC14D4D for ; Wed, 27 Oct 1999 21:21:32 -0700 (PDT) (envelope-from crh@outpost.co.nz) Received: (qmail 31231 invoked from network); 28 Oct 1999 04:21:30 -0000 Received: from officedonkey.outpost.co.nz (HELO officedonkey) (192.168.1.3) by queasy.outpost.co.nz with SMTP; 28 Oct 1999 04:21:30 -0000 Comments: Authenticated sender is From: "Craig Harding" Organization: Outpost Digital Media Ltd To: freebsd-multimedia@FreeBSD.ORG Date: Thu, 28 Oct 1999 17:21:23 +1200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Webcam (was Re: Bt848 based server) Reply-To: crh@outpost.co.nz In-reply-to: <3806D363.40080D7B@rostock.zgdv.de> X-mailer: Pegasus Mail for Windows (v2.52) Message-Id: <19991028042135.9A6FC14D4D@hub.freebsd.org> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thomas Runge wrote: > Richard Puga wrote: > > > Is there any way to use a bt848 as a web cam or streaming video > > server > > All that is technically possible. > > For video you can use the mbone tools (vic). > > For a webcam there is no (known to me) tool available, yet. But it > should be pretty simple to write a program, that just grabs an image > and writes it as jpeg to a file accessible by a webserver. IIRC, > there is a programm in "examples" on Rogers website, which does it > already... > > ftp://telepresence.dmem.strath.ac.uk/pub/bt848/examples/grab.c > > Ah, I see. It just writes ppm. But adding jpeg using libjpeg > isn't that big deal. I've got a quick and dirty script using Roger's grab, plus cjpeg to turn the file into jpeg, to run a webcam. When I get some time (hah!) I'm planning to tidy it up and make a port of it or something. You can see the end result at http://www.outpost.co.nz/webcam/ and watch a video editor at work (maybe). The view will get better when we move a temporarily placed office partition. I'd like to make a single C program that uses libjpeg to output a suitable file for a web page, plus look at using a continuous video stream from the bktr driver rather than the single frame grabs, which as you'll notice from our webcam results in some image stability problems. Running fxtv with the same video source does not display any instability so it seems to be something particular to the freeze frame ioctl call. BTW the same machine is providing a live realaudio feed of our local student radio station, using the linux RealProducer Plus and the OSS sound drivers. The machine's got an ESS1868 sound card and I couldn't get RealProducer Plus to work with the standard snd0 or pcm0 driver. Listen to student radio at http://www.outpost.co.nz/partycam/radiomassey.html, but be aware that this is currently only a temporary arrangement so please don't add any permanent links to webpages (I just needed an audio source for testing last week). We're in discussion with the station about something permanent. You can even listen to me doing my regular breakfast show in the morning (1800 - 2000 GMT) -- C. -- Craig Harding crh@outpost.co.nz "I don't know about God, I Outpost Digital Media Ltd crh@inspire.net.nz just think we're handmade" http://www.outpost.co.nz ICQ# 26701833 - Polly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message