From owner-freebsd-current@FreeBSD.ORG Thu Apr 14 06:30:07 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B635016A4CF; Thu, 14 Apr 2005 06:30:07 +0000 (GMT) Received: from smtp-1.dlr.de (smtp-1.dlr.de [195.37.61.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6252843D4C; Thu, 14 Apr 2005 06:30:06 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from beagle.kn.op.dlr.de ([129.247.173.6]) by smtp-1.dlr.de over TLS secured channel with Microsoft SMTPSVC(5.0.2195.6713); Thu, 14 Apr 2005 08:30:04 +0200 Date: Thu, 14 Apr 2005 08:30:41 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt_h@beagle.kn.op.dlr.de To: Julian Elischer In-Reply-To: <425D5F08.9020702@elischer.org> Message-ID: <20050414082551.N38610@beagle.kn.op.dlr.de> References: <425C18A2.8010807@elischer.org> <20050413143126.7e0jufn80c0cwow4@netchild.homeip.net> <20050413171500.GN56487@funkthat.com> <425D5F08.9020702@elischer.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 14 Apr 2005 06:30:04.0528 (UTC) FILETIME=[64DE4F00:01C540BB] cc: Alexander Leidinger cc: John-Mark Gurney cc: FreeBSD Current cc: multimedia@freebsd.org Subject: Re: Anyone working on V4L2 for BSD? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Harti Brandt List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 06:30:07 -0000 On Wed, 13 Apr 2005, Julian Elischer wrote: JE>John-Mark Gurney wrote: JE> JE>> Alexander Leidinger wrote this message on Wed, Apr 13, 2005 at 14:31 +0200: JE>> JE>> > Julian Elischer wrote: JE>> > JE>> > JE>> > > I'm considerring it.. It looks quite doable. (assuming we can get JE>> > > compatible include files JE>> > > without copyright problems.) JE>> > > JE>> > > For compatibility we'd probably want to keep all the V4L prefixes etc. JE>> > > JE>> > > Is anyone else playing with this? JE>> > > JE>> > There was a discussion about something like this a while ago... a, I see JE>> > you JE>> > participated in it too: JE>> > http://lists.freebsd.org/pipermail/freebsd-multimedia/2003-July/000328.html JE>> > http://people.freebsd.org/~jmg/videobsd.html JE>> > JE>> JE>> Yes, I did... and unless V4L2 managed to change a lot.. It's API is JE>> still years behind what we should have... The reason I haven't said JE>> anything is that I didn't want to attempt to derail any work that someone JE>> might be doing.. Yes, V4L2 is not a very good api, but as others have JE>> pointed out, it makes portability easier... Plus, I haven't spent any JE>> time on VideoBSD recently, since I've gotten sidetracked by other JE>> projects... (Though if I can get ATI to give me specs for their HDTV JE>> PCI card, I might spend some more time on it...) JE>> JE> JE>My sugestion is that we make V4L2 an alternative interface to a videoBSD JE>framework. JE>Think "netgraph for video" with a V4L2 frontend for apps and a v4l2 backend JE>for drivers. If you take this without the quotes this is something I wanted to do for years (started even once to try it on streams under Solaris). There is often no need to funnel all the video and audio traffic through user space just to pull it out of one device and put it into another one. This requires some thought though for memory mapped devices. harti JE>The difference is that the framework would interpret all the ioctls etc JE>instead of the drivers themselves. The drivers MAY attach using a V4L2 JE>interface, but the requersts they get MAY or MAY NOT have come from the JE>clients. In the middle we have support for modules that do simple JE>format conversion, resynching, snipping, and the ability to pass the JE>stream out to a userlandeditor and get it back again, for really JE>compilcated editing. Some requests fromt the clients may be passed JE>through to the drivers. Some may not. JE> JE> JE>> So, if you just want Linux compatiblity, go for it... If you want a JE>> real usable video API, then send me comments and look at the VideoBSD JE>> stuff I have done... JE>> JE>> JE>_______________________________________________ JE>freebsd-current@freebsd.org mailing list JE>http://lists.freebsd.org/mailman/listinfo/freebsd-current JE>To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" JE> JE> JE>