Linuxolator v4l2/dvb patches (like for webcamd + skype...)

Juergen Lock nox at jelal.kn-bremen.de
Wed Apr 13 17:08:54 UTC 2011


On Tue, Apr 12, 2011 at 11:04:26PM +0300, Ivan Klymenko wrote:
> ?? Tue, 12 Apr 2011 23:53:43 +0400
> "Andrey V. Elsukov" <bu7cher at yandex.ru> ??????????:
> 
> > On 12.04.2011 23:29, Ivan Klymenko wrote:
> > > ?? Tue, 12 Apr 2011 23:02:04 +0400
> > > "Andrey V. Elsukov" <bu7cher at yandex.ru> ??????????:
> > > 
> > >> On 12.04.2011 21:22, Juergen Lock wrote:
> > >>>
> > >>> 	http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch
> > >>> 	(for head, untested)
> > >>
> > >> I updated the patch for head/
> > >> http://people.freebsd.org/~ae/v4l2.diff
> > >>
> > >>>  Note:  At least the version of skype in ports still won't work
> > >>> with all cameras supported by webcamd because skype wants yuv
> > >>> 4:2:0 pixel format and some webcams only support jpeg (like a
> > >>> gspca zc3xx one I dug up here), maybe the newer skype version
> > >>> that Andriy got working,
> > >>>
> > >>> 	http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-February/011696.html
> > >>>
> > >>> will have support for such cameras, or if not maybe a solution
> > >>> like this Linux post linked,
> > >>
> > >> I did some tests and it does not make my skype working.
> > >> Also i tried install linux version of libv4l and with preloaded
> > >> v4l1compat.so now skype can turn camera on, but it shows only
> > >> green screen :(
> > >>
> > > 
> > > Thank you all for your good work!
> > > 
> > > export XLIB_SKIP_ARGB_VISUALS=1
> > > /usr/local/share/skype/skype --resources=/usr/local/share/skype $@
> > > helps eliminate the green screen
> > 
> > Yeah :)
> > Now it is pink with some green motions :)
> 
> Oops :( it's true...
> 
> > 
> > > I have the same problem - skype displays on the console:
> > > Skype V4L2: Could not find a suitable capture format
> > > Skype V4L2: Could not find a suitable capture format
> > > Starting the process...
> > 
> > Yes. Without libv4l it displays the same message.
> > Try to find libv4l-0.6.2-1.fc10.i386.rpm and install it like
> > described here:
> > http://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html
> > 
> > You can use:
> > export LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so
> > # export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
> > /usr/local/share/skype/skype --resources=/usr/local/share/skype $@
> > 
> 
> In this version of skype with the message:
> 
> libv4l2: error setting pixformat: Invalid argument
> Starting the process...
> Skype Xv: Xv ports available: 32
> Skype XShm: XShm support enabled
> Skype Xv: Using Xv port 310
> libv4l2: error dequeuing buf: Invalid argument
> 
Sorry about that, I guess Olli tested on i386, there still were 32
-> 64 bit struct conversions wrong/missing.  I just updated the
patches, now skype's video test also works for my camera using this
Linux libv4l like mentioned above:

	http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/11/Fedora/i386/os/Packages/libv4l-0.5.9-1.fc11.i586.rpm

 Links to the patches again:

	http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-8-test.patch
	(for 8, this is what I tested)

	http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch
	(for head, should at least apply now)

 Enjoy! :)
	Juergen


More information about the freebsd-multimedia mailing list