Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 1999 17:21:23 +1200
From:      "Craig Harding" <crh@outpost.co.nz>
To:        freebsd-multimedia@FreeBSD.ORG
Subject:   Webcam (was Re: Bt848 based server)
Message-ID:  <19991028042135.9A6FC14D4D@hub.freebsd.org>
In-Reply-To: <3806D363.40080D7B@rostock.zgdv.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991028042135.9A6FC14D4D>