From owner-freebsd-multimedia Sun Feb 11 9:40:27 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from bigglesworth.mail.be.easynet.net (bigglesworth.mail.be.easynet.net [212.100.160.67]) by hub.freebsd.org (Postfix) with ESMTP id 65BF137B401 for ; Sun, 11 Feb 2001 09:40:24 -0800 (PST) Received: from 213-193-182-23.adsl.easynet.be ([213.193.182.23] helo=livens.net) by bigglesworth.mail.be.easynet.net with esmtp (Exim 3.16 #1) id 14S0Xc-0004mN-00; Sun, 11 Feb 2001 18:44:05 +0100 Received: (from wim@localhost) by livens.net (8.9.3/8.9.3) id SAA05549; Sun, 11 Feb 2001 18:40:19 +0100 (CET) (envelope-from wim) Date: Sun, 11 Feb 2001 18:40:19 +0100 From: Wim Livens To: freebsd-multimedia@freebsd.org Cc: lcroker@unix.megared.net.mx, jtravis@cse.unl.edu Subject: Re: my camserv problem solved Message-ID: <20010211184019.A5362@krijt.livens.net> References: <20010118153419.C33608@krijt.livens.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20010118153419.C33608@krijt.livens.net>; from wim@livens.net on Thu, Jan 18, 2001 at 03:34:19PM +0000 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Jan 18, 2001, Wim Livens wrote this on freebsd-multimedia: > > I'm trying to get camserv working with a bt878 and a PAL camera. > The camera works fine under fxtv and vic by selecting: > > input=0 (Video) > format=PAL (BDGHI) > > There doesn't seem to be a way to select the format with camserv and > the default seems to be the wrong setting. I.e. I only get a noise or > a blue image. > > I tried to hardcode setting the format to PAL by the patch below. > (copy paste from fxtv) > > This doen't solve it however. I only get a different type of noise. > ***ZIP*** I don't know why but the following lazy hack does solve my problem. I just compared the ioctls done by grab (which does work) and camserv. And hardcoded the one that was missing. *** video_fbsd_bttv.c Sun Feb 11 18:19:01 2001 --- video_fbsd_bttv.c.orig Sun Feb 11 16:26:59 2001 *************** *** 342,351 **** return -1; } } - actport=512; - camserv_log( MODNAME, "METEORSFMT %d", actport); - if (ioctl( fbttv_dev->bttv_fd, METEORSFMT, &actport ) < 0 ){return -1;} - return 0; } --- 342,347 ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message