Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Feb 2010 00:37:46 -0500
From:      Curtis Villamizar <curtis@occnc.com>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-multimedia@freebsd.org, curtis@occnc.com
Subject:   Re: Ekiga3 and webcamd working (was: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing) 
Message-ID:  <201002030537.o135bkpj060488@harbor.orleans.occnc.com>
In-Reply-To: Your message of "Tue, 02 Feb 2010 09:28:48 %2B0100." <201002020928.49017.hselasky@c2i.net> 

next in thread | previous in thread | raw e-mail | index | archive | help

In message <201002020928.49017.hselasky@c2i.net>
Hans Petter Selasky writes:
>  
> 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.

I did use libv4l2 aka /usr/ports/multimedia/libv4l.  It wouldn't work
any other way.  If I shut down webcamd the video stops working.

Ekiga3 already supported V4L2 but with minor breakage, omiting freebsd
from an ifdef with other BSD flavors.  That is why the patch was
trivial.

Am I missing something?

The only thing I couldn't figure out is why /usr/local/lib was not in
the lib search path, so I fudged and did the setenv thing.

> Else your patches look good. I would suggest you call it "video4linux 2" 
> support, instead of video4bsd support.

I'll leave that up to the port maintainer.

> --HPS
>  
> http://www.rrr.de/~riggs/mplayer/m20100131.tar.bz2

I noticed this port and took a look at it.

The configure script has a -rpath=/usr/bin:/usr/local/bin in the cc
command line in one of the tests.  This is not recognized and I didn't
see an obvious way to fix that cleanly.  It also fails on the link if
I fix the configure to get past the test.

Curtis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002030537.o135bkpj060488>