From owner-freebsd-multimedia Fri Aug 16 06:18:16 1996 Return-Path: owner-multimedia Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA00562 for multimedia-outgoing; Fri, 16 Aug 1996 06:18:16 -0700 (PDT) Received: from kanto.cc.jyu.fi (root@kanto.cc.jyu.fi [130.234.1.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA00557 for ; Fri, 16 Aug 1996 06:18:14 -0700 (PDT) Received: from localhost (kallio@localhost [127.0.0.1]) by kanto.cc.jyu.fi (8.7.2/8.7.2) with SMTP id QAA00812 for ; Fri, 16 Aug 1996 16:18:05 +0300 (EET DST) Date: Fri, 16 Aug 1996 16:18:04 +0300 (EET DST) From: Seppo Kallio To: multimedia@freebsd.org Subject: qcam + "automatic white control" on my homepage In-Reply-To: <199608010856.BAA02997@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Made this trick, and got some automatic grabbs using qcam. Look at http://www.jyu.fi/~kallio there is 3 pisture of 3 nodes having qcam and 2 nodes having meteor (+vcr, sometimes on some TV channel). Whithout any white tuning I got white or black squares. Seppo ----------------------------- set valo = 170 # start -w from 170 set count = 100 # do not loop forever 1: /usr/local/bin/qcamcontrol -w $valo -x 320 -y 240 >! /tmp/qcam.ppm set a = `/usr/bin/hexdump -cv /tmp/qcam.ppm | grep "\?" | wc -c` if ( $a > 200000 ) then @ valo = $valo - 10 @ count = $count - 1 if ( $count == 0 ) then exit 1 endif goto 1 endif convert /tmp/qcam.ppm ....gif