From owner-freebsd-multimedia@FreeBSD.ORG Wed Mar 31 00:35:34 2004 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 67D6116A4CE for ; Wed, 31 Mar 2004 00:35:34 -0800 (PST) Received: from hutcs.cs.hut.fi (hutcs.cs.hut.fi [130.233.192.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C15843D1D for ; Wed, 31 Mar 2004 00:35:34 -0800 (PST) (envelope-from kirma@cs.hut.fi) Received: from kirma (helo=localhost) by hutcs.cs.hut.fi with local-esmtp (Exim 4.30) id 1B8bC9-0000TH-Ew for freebsd-multimedia@freebsd.org; Wed, 31 Mar 2004 11:35:33 +0300 Date: Wed, 31 Mar 2004 11:35:33 +0300 (EEST) From: Jari Kirma To: freebsd-multimedia@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Driver APIs for DVB? 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: Wed, 31 Mar 2004 08:35:34 -0000 After couple days of hacking, I managed to adapt critical parts of Linux drivers for TechnoTrend TT-DVB-C USB box into FreeBSD. My hack runs in userland and uses generic USB device (ugen) to talk with the device. I managed to extract MPEG-2 stream that plays nicely on mplayer, and I've began to wonder about suitable API for this kind of device. Is there kernel API for digital video devices (and DVB spefically) that might be adopted to get good program support for this kind of device? Or, maybe even better, userland API based on (domain) sockets? DVB has many features that are a bit hard to translate to traditional tuner API, like bktr, as multiple "channels" (PIDs) can be on single tuner frequency, several of them might be necessary to be used at the same time, there's possibility of DVB data transports (certainly service information!), and decryption may require some API support, too... -kirma