From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 3 06:43:03 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 2B23C106566B; Wed, 3 Feb 2010 06:42:59 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: curtis@occnc.com Date: Wed, 3 Feb 2010 01:42:48 -0500 User-Agent: KMail/1.6.2 References: <201002030546.o135kPFw061845@harbor.orleans.occnc.com> In-Reply-To: <201002030546.o135kPFw061845@harbor.orleans.occnc.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002030142.51719.jkim@FreeBSD.org> Cc: freebsd-multimedia@freebsd.org Subject: Re: Ekiga3 and webcamd working (was: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing) 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: Wed, 03 Feb 2010 06:43:03 -0000 On Wednesday 03 February 2010 12:46 am, Curtis Villamizar wrote: > In message <201002022135.04962.jkim@niksun.com> > > Jung-uk Kim writes: > > On Tuesday 02 February 2010 03:28 am, Hans Petter Selasky wrote: > > > On Tuesday 02 February 2010 08:21:53 Curtis Villamizar wrote: > > > > Still playing with my netbook. I now have Ekiga3 running > > > > with webcamd, video4bsd, libv4l. > > > > > > > > The patches are *not* quite ready for prime time but if you > > > > also do a "setenv LDFLAGS '-L /usr/local/lib'" or equiv for > > > > your shell it will all work. The configure and Makefiles may > > > > need to be patched in plugins/vidinput_v4l2 may need to be > > > > changed to have /usr/local/lib added to the library search > > > > path correctly. > > > > > > > > The patches are applied to devel/ptlib26 and are all tiny > > > > changes. A few less PTRACE lines in vidinput_names.cxx might > > > > have been plenty. > > > > > > > > The sound_oss.cxx patch creates four entries with dsp0, dsp1, > > > > dsp2, dsp3, rather than four entries each with dsp0 in it. > > > > > > > > The patches aren't quite right but it gets ekiga3 running > > > > with V4L2 for now. That said, I haven't tried a call yet, > > > > just the "View -> Show Call Panel" and "View -> Local Video". > > > > > > > > Curtis > > > > > > One comment: > > > > > > See the recent patches for the mplayer port, how to use libv4l1 > > > and libv4l2 for /dev/video access. If you don't use this > > > library, which is now in /usr/ports/multimedia/libv4l, you > > > might get trouble getting the picture from your webcam. > > > > Interestingly I wrote almost(?) complete patch last weeek: > > > > http://people.freebsd.org/~jkim/ptlib26.diff > > > > I sent it to the maintainer but I got no response so far. > > That looks similar to the code in there already. Did you take this > from netbsd or from the latest code on the ekiga web site since > this looks a lot like the code that comes with the dist? No, I did it from scratch. I'll take a look at upstream patches later. > > > Else your patches look good. I would suggest you call it > > > "video4linux 2" support, instead of video4bsd support > > > > I think we can just (re-/ab-)use V4L option, BTW. > > I followed the mplayer lead and added a second entry. That's fine. I was just being lazy. :-) Jung-uk Kim