Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 1998 12:24:15 -0700
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        Edwin Culp <eculp@webwizard.org.mx>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: Web interface for fxtv. 
Message-ID:  <199806281924.MAA01831@rah.star-gate.com>
In-Reply-To: Your message of "Sun, 28 Jun 1998 12:41:36 CDT." <35968050.2D16C0B9@webwizard.org.mx> 

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

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



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