From owner-freebsd-hackers Mon Jan 22 01:18:57 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA22558 for hackers-outgoing; Mon, 22 Jan 1996 01:18:57 -0800 (PST) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA22510 for ; Mon, 22 Jan 1996 01:18:15 -0800 (PST) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id KAA04548; Mon, 22 Jan 1996 10:15:40 +0100 From: Luigi Rizzo Message-Id: <199601220915.KAA04548@labinfo.iet.unipi.it> Subject: Amancio's tv program with capture! To: multimedia@rah.star-gate.com Date: Mon, 22 Jan 1996 10:15:40 +0100 (MET) Cc: freebsd-hackers@freefall.freebsd.org In-Reply-To: <199601220807.AAA02086@rah.star-gate.com> from "Amancio Hasty Jr." at Jan 22, 96 00:06:52 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@FreeBSD.ORG Precedence: bulk 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/ ====================================================================