From owner-freebsd-multimedia@FreeBSD.ORG Fri Feb 12 07:25:24 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65788106566B for ; Fri, 12 Feb 2010 07:25:24 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id EF7DC8FC08 for ; Fri, 12 Feb 2010 07:25:23 +0000 (UTC) Received: from vampire.homelinux.org (dslb-088-064-176-235.pools.arcor-ip.net [88.64.176.235]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0M7lyK-1NtG7e37qq-00vvuL; Fri, 12 Feb 2010 08:25:22 +0100 Received: (qmail 84861 invoked from network); 12 Feb 2010 07:25:22 -0000 Received: from f8x64.laiers.local (192.168.4.188) by ns1.laiers.local with SMTP; 12 Feb 2010 07:25:22 -0000 From: Max Laier Organization: FreeBSD To: freebsd-multimedia@freebsd.org Date: Fri, 12 Feb 2010 08:25:21 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-RELEASE-p2; KDE/4.3.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002120825.21588.max@love2party.net> X-Provags-ID: V01U2FsdGVkX19f46mdyDkjoMMLN5GL3uS7+T+4RbJZD2CkLGF uPmWHE3J5piySryRx26dbyVJtJ4PfQ4ft3QHi6QAO/cJ3WT4HH 7g/yT62OV4BOsMVqtQk9w== Cc: Subject: Re: DVB/ATSC library? 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, 12 Feb 2010 07:25:24 -0000 On Friday 12 February 2010 06:45:05 Markus Rechberger wrote: > Hi, > > since we are trying to find a sane way for integrating DVB/ATSC > devices with FreeBSD how about using a library which gives us more > possibilities? > PCI devices are still not possible to be used with userspace only > drivers, while with USB devices this is no problem, so in case > the developer can decide if he wants to write a userspace driver which > does not create any real nodes in /dev or to handle most things in > kernelspace. > > Basically the first version of the library only has to replace > open/close/read/write/ioctl/mmap/munmap/dup/poll/access(maybe)/stat. > Since most linux players have to be modified for FreeBSD anyway this > should not be such a problem, maybe the hack that we have a > kernelmodule emulating > the videointerfaces is not really the best way to go for. > I volunteer to port some v4l-dvb Apps and tvtime to FreeBSD. > > Since VDPAU also seems to work on FreeBSD I'm very much interest to > support our DVB-C (especially for HDTV)/DVB-T/analogTV/FM radio USB > Stick on FreeBSD, > now the driver is working but there are just no applications available > which work out of the box. +1 ... I have a driver for PCI attached mantis cards. It simply exports a buffer with the raw mpeg ts stream to userland where it also handles the frontend programming. The missing link is something to make sense of the mpeg ts stream. IMHO, the v4l2 api is terribly broken by design - as it mandates at least one copy per ts-frame (possibly more than one), but as it is unlikely that we will convince enough people to get behind a sensible API now, I'd also like to have a lib that bridges the gap. Regards, Max