From owner-freebsd-multimedia Sun Jun 28 12:24:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA28592 for freebsd-multimedia-outgoing; Sun, 28 Jun 1998 12:24:36 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA28587 for ; Sun, 28 Jun 1998 12:24:35 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id MAA01831; Sun, 28 Jun 1998 12:24:15 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199806281924.MAA01831@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Edwin Culp cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Web interface for fxtv. In-reply-to: Your message of "Sun, 28 Jun 1998 12:41:36 CDT." <35968050.2D16C0B9@webwizard.org.mx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 28 Jun 1998 12:24:15 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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