Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 1996 10:15:40 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        multimedia@rah.star-gate.com
Cc:        freebsd-hackers@freefall.freebsd.org
Subject:   Amancio's tv program with capture!
Message-ID:  <199601220915.KAA04548@labinfo.iet.unipi.it>
In-Reply-To: <199601220807.AAA02086@rah.star-gate.com> from "Amancio Hasty Jr." at Jan 22, 96 00:06:52 am

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

I have added capture mode to Amancio's great "tv: program. Requires
you have installed libjpeg to compile. Just press enter on the
xterm to save frames to files named "imgXXX.jpg" in the same
directory (XXX is a counter).

You can find it (sources only) at

	http://www.iet.unipi.it/~luigi/lrtv.tgz

Note that I have slightly changed the code to grab single fields
as opposed to full frames. On a TV, even and odd fields are averaged,
but on a video capture board they are not. For moving scenes, you
see two intermixed images with a very bad visual effect.

Now if someone who is X-literate can make it work easily at least
on 16bpp screens... This requires remapping the color table because
the meteor uses 5-5-5 bits per color, while video boards (at least
my S3) has a 5-6-5 bits per color (RGB).

	Luigi
====================================================================
Luigi Rizzo                     Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it       Universita' di Pisa
tel: +39-50-568533              via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522              http://www.iet.unipi.it/~luigi/
====================================================================



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