Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 1996 16:18:04 +0300 (EET DST)
From:      Seppo Kallio <kallio@cc.jyu.fi>
To:        multimedia@freebsd.org
Subject:   qcam + "automatic white control" on my homepage
Message-ID:  <Pine.SOL.3.92.960816161204.415B-100000@kanto.cc.jyu.fi>
In-Reply-To: <199608010856.BAA02997@rah.star-gate.com>

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

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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.92.960816161204.415B-100000>