From owner-freebsd-multimedia@FreeBSD.ORG Sun Apr 10 21:04:23 2005 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7314D16A4CE for ; Sun, 10 Apr 2005 21:04:23 +0000 (GMT) Received: from mail231.csoft.net (resin.csoft.net [63.111.22.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 8F59743D39 for ; Sun, 10 Apr 2005 21:04:22 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 5728 invoked from network); 10 Apr 2005 21:09:45 -0000 Received: from unknown (HELO puff.jakemsr.gom) (63.111.27.87) by mail231.csoft.net with SMTP; 10 Apr 2005 21:09:45 -0000 Received: (from jakemsr@jakemsr.com) by puff.jakemsr.gom (mini_sendmail/1.3.5 16nov2003); Sun, 10 Apr 2005 14:04:20 PDT (sender jakemsr@puff.jakemsr.gom) Date: Sun, 10 Apr 2005 14:04:20 -0700 From: Jacob Meuser To: multimedia@freebsd.org Message-ID: <20050410210420.GC19049@puff.jakemsr.gom> References: <200504101439.06815.mark@markdnet.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200504101439.06815.mark@markdnet.demon.co.uk> User-Agent: Mutt/1.4.2i Subject: Re: bktr and Interlacing X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2005 21:04:23 -0000 On Sun, Apr 10, 2005 at 02:39:00PM +0100, Mark Dixon wrote: > Hi, > > As I'm without a TV at the moment, I decided to plug my XBox into my TV card > (via bktr driver) and attempt to play the brilliant Burnout 3 via my monitor > and mplayer. Unfortunately, as soon as things get busy (as they inevitably do > in this game), the screen started to show signs of interlacing all over the > place, and as you can imagine, when driving into oncoming traffic at 200mph, > interlacing is not very helpful. > > I had a quick look at the source and can't see any obvious interlace controls > - although there is one slightly worrying comment: > > /* > * XXX NOTE (Luigi): > * currently we only support 3 capture modes: odd only, even only, > * odd+evgen interlaced (odd field first). A fourth mode (non interlaced, > * either even OR odd) could provide 60 (50 for PAL) pictures per > * second, but it would require this routine to toggle the desired frame > * each time, and one more different DMA program for the Bt848. > * As a consequence, this fourth mode is currently unsupported. > */ > > Does anyone know if there is a simple switch that needs setting somewhere to > make the card not do this, or if its simply a performance problem with > something (my computer, mplayer, bktr driver) not being able to keep up with > the amount of activity the XBox is throwing at the screen. yes, you can get only only odd or only even fields, but I don't know if this is supported from within mplayer. you have to specify the right flags for the METEOSETGEO ioctl: geomet.oformat = METEOR_GEO_YUV_422 | METEOR_GEO_ODD_ONLY; BTW, if you want a simpler way to view video from bktr, you could try something I wrote -> http://www.jakemsr.com/bsdav/bktrplay.c. there's a manpage too -> http://www.jakemsr.com/bsdav/bktrplay.1. --