From owner-freebsd-multimedia Sun Jun 28 15:56:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21710 for freebsd-multimedia-outgoing; Sun, 28 Jun 1998 15:56:58 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from ns.webwizard.net.mx (mexcom.net.mx [207.249.162.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA21686 for ; Sun, 28 Jun 1998 15:56:38 -0700 (PDT) (envelope-from eculp@webwizard.org.mx) Received: from mc.mexcom.net (root@ppp-7.mexcom.net [206.103.65.199]) by ns.webwizard.net.mx (8.8.8/8.8.7) with SMTP id RAA05062; Sun, 28 Jun 1998 17:55:33 -0500 (CDT) Message-ID: <3596CABD.54FF5FF0@webwizard.org.mx> Date: Sun, 28 Jun 1998 17:59:09 -0500 From: Edwin Culp Organization: Mexico Communicates X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.18 i586) MIME-Version: 1.0 To: Amancio Hasty CC: freebsd-multimedia@FreeBSD.ORG Subject: Re: Web interface for fxtv. References: <199806281924.MAA01831@rah.star-gate.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I changed the c to METEOR_INPUT_DEV_SVIDEO and at least I get a black screen with some colored trace lines, maybe out of sync, rather than a blank, blue screen. This is progres:-) Thanks ed Amancio Hasty wrote: > > For setting the input use: > c = METEOR_INPUT_DEV1; > > if (ioctl(bt848, METEORSINPUT, &c) < 0) { > printf("ioctl failed: %d\n", errno); > exit(1); > } > > Where "c", can be : > > #define METEOR_INPUT_DEV0 0x01000 /* camera input 0 -- default */ > #define METEOR_INPUT_DEV_RCA METEOR_INPUT_DEV0 > #define METEOR_INPUT_DEV1 0x02000 /* camera input 1 */ > #define METEOR_INPUT_DEV2 0x04000 /* camera input 2 */ > #define METEOR_INPUT_DEV3 0x08000 /* camera input 3 */ > #define METEOR_INPUT_DEV_RGB 0x0a000 /* for rgb version of meteor */ > #define METEOR_INPUT_DEV_SVIDEO 0x06000 /* S-video input port */ > > Amancio > > > I am very happy with fxtv on a super cheap bt489 > > card and a svideo camera/no tuner. > > > > I decided to use videocaptura.c as the base for > > a cgi to take a photo and display it on a webpage. > > > > Before I continue, does anyone know of web interface > > tools for the bt84[89] already done? > > > > My problem is that I can't make the card use the > > svideo input because the default is composite video. > > > > I tried fxtv with the fxtv -defaultInput svideo with > > no effect. I put defaultInput in the Fxtv app-defaults > > file with no effect, but changing the input form the > > fxtv window works perfectly. > > > > I tried a quick hack in the fxtv code and recompiled > > with no luck. > > > > Any suggestions will be appreciated. > > > > ed > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-multimedia" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message