From owner-freebsd-multimedia Wed Jan 5 17:50:46 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from BSDpc.geek4food.org (adsl-216-103-105-71.dsl.snfc21.pacbell.net [216.103.105.71]) by hub.freebsd.org (Postfix) with ESMTP id 55DBE15092 for ; Wed, 5 Jan 2000 17:50:22 -0800 (PST) (envelope-from andy@geek4food.org) Received: from mega.geek4food.org (mega.geek4food.org [192.168.1.57]) by BSDpc.geek4food.org (Postfix) with ESMTP id 9E53D11B85; Wed, 5 Jan 2000 17:46:38 -0800 (PST) Received: (from andy@localhost) by mega.geek4food.org (8.9.3/8.9.3) id RAA82329; Wed, 5 Jan 2000 17:46:34 -0800 (PST) (envelope-from andy@geek4food.org) Date: Wed, 5 Jan 2000 17:46:34 -0800 From: Andy Sparrow To: Tim Pozar Cc: multimedia@FreeBSD.ORG Subject: Re: an FXTV suggestion Message-ID: <20000105174634.A82253@mega.geek4food.org> References: <38718545.451AE46F@mos.net> <20000105171550.A14765@ipass.net> <3873CED1.22BD498F@mos.net> <20000105164531.A88681@lns.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <20000105164531.A88681@lns.com> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jan 05, 2000 at 04:45:31PM -0800, Tim Pozar wrote: > On Thu, Jan 06, 2000 at 02:08:02AM +0300, Alexei Khalimov wrote: > > Randall Hopper wrote: > > > > > What you want is a batch capture tool. What Fxtv is is an interactive GUI > > > application. These should be a separate apps. > > > > > > [[ I've seen this discussion before, with other tools. First is the > > > request for batch capabilities, then the complaint from someone else that > > > doesn't even run X that they have to have X installed (allocate disk space > > > for it, download the packages, etc.), not just to compile their batch app, > > > but to run it. The complaint is certainly justified. ]] > > > > Well, I would be happy with something like > > fxtv -batchsave /tmp/webcam.ppm -period 60 > > which will save single frame to that file every 60sec > > or save one and exit when called without -period > > (all this without starting GUI) > > > > it should not be hard to code it... > > I did this way back when (~'93) with Sun's VideoPix video frame > grabber device (/dev/vfc0). Cron would launch the program every > minute and the code would then opened the device, set the format > (size, video format, color, etc), grab a frame and spit out a YUV > image. At that point I would run PBM to clean it up and spit out > a (then) GIF image. > > Is there something like a frame grabber device for the 848 cards > that could be managed in much the same manner? Hi all. I've been following this thread and wondering what's wrong with 'grab.c', which seems to support both the meteor and BT cards? Usage: grab [flags] flags -f ntsc|pal video format -s [0,1,2,3] video source, 0,1,2 or 3 Video In is usually source 0 Tuner is usually source 1 -d grabber device eg /dev/metor or /dev/bktr0 or /dev/bktr1 I'm pretty sure I just got it from Roger's FTP site: ftp://telepresence.dmem.strath.ac.uk/pub/bt848/examples/ There's even a 'videocapture.c' written by one Amancio Hasty in there under the 'webcam' directory that appears to take periodic snapshots in JPEG format... :=) Actually, it seems that me that running 'grab' at regular intervals out of cron and cleaning it up or doing whatever conversion via ImageMagick should do it just fine. Cheers, AS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message