From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 4 08:45:46 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org 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 AD1F516A426 for ; Fri, 4 Nov 2005 08:45:46 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: from mail231.csoft.net (resin.csoft.net [63.111.22.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 15C0A43D4C for ; Fri, 4 Nov 2005 08:45:45 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 13964 invoked from network); 4 Nov 2005 08:45:44 -0000 Received: from unknown (HELO puff.jakemsr.gom) (63.111.27.87) by mail231.csoft.net with SMTP; 4 Nov 2005 08:45:44 -0000 Received: (from jakemsr@jakemsr.com) by puff.jakemsr.gom (mini_sendmail/1.3.5 16nov2003); Fri, 04 Nov 2005 00:45:44 PST (sender jakemsr@puff.jakemsr.gom) Date: Fri, 4 Nov 2005 00:45:44 -0800 From: Jacob Meuser To: freebsd-multimedia@freebsd.org Message-ID: <20051104084544.GA20757@puff.jakemsr.gom> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <200511010103.21307.danny@ricin.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200511010103.21307.danny@ricin.com> User-Agent: Mutt/1.4.2i Subject: Re: Available for testing: Kbtv -- KDE TV viewer for bktr X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 08:45:46 -0000 On Tue, Nov 01, 2005 at 01:03:21AM +0000, Danny Pansters wrote: > Hi all, > > If you have a bktr based TV or capture card and are using KDE on FreeBSD 5, 6, > or 7 I'd like to invite you to try out Kbtv. It is a small and simple TV > viewing app written mostly in python. Uses PyKDE for GUI and mplayer for > rendering. "small and simple" with mplayer + KDE + python? is that a joke? http://www.jakemsr.com/bsdav/ is what I call small and simple ;) although, tunerctl probably doesn't work right on FreeBSD because bktr does some stupid stuff (unnecessarily mute/unmute and reset internal variables on open()/close()). that was changed in OpenBSD: http://www.openbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/pci/bktr/bktr_core.c.diff?r1=1.15&r2=1.16 notes on btcontrol: - channels can go above 99. often TVs in US go to 128 or so. - frequency range is more like 608-14240, not 0-999 - BT848_SATUMAX != BT848_SATVMAX, and these don't really scale to 0-100. look at how fxtv (or tunerctl) does these. - BT848_(S,G)AUDIO is both AUDIO_[UN]MUTE and AUDIO_(TUNER,EXTERN,INTERN) at the same time. - missing some headers, like sys/ioctl.h, stdio.h, unistd.h ... - perror() takes a const char *, not a format string. - you really shouldn't let it segfault with "btcontrol get". - OpenBSD uses the same bt8xx.h as NetBSD, but /dev/tuner0 instead of /dev/tuner, which is hardcoded. - "btcontrol get " prints nothing? even if it did print something, it would probably be incorrect, due to the above mentioned silly behaviour of bktr. - why in the world is it allowed to (attempt to) set the pixel format? this surely either does not work or will cause a crash! this should only be done by the program that is reading the data, and it _CANNOT_ be done in the middle of a capture!!! oh, and the mplayer port/package for OpenBSD does not include the bsdbt848 "driver" because, well, it sucks royal eggs. --