Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2011 19:04:46 +0200
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        Ivan Klymenko <fidaj@ukr.net>
Cc:        emulation@FreeBSD.org, Juergen Lock <nox@jelal.kn-bremen.de>, multimedia@FreeBSD.org
Subject:   Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...)
Message-ID:  <20110413170446.GA84392@triton8.kn-bremen.de>
In-Reply-To: <20110412230426.550e8155@ukr.net>
References:  <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@yandex.ru> ??????????:
> 
> > On 12.04.2011 23:29, Ivan Klymenko wrote:
> > > ?? Tue, 12 Apr 2011 23:02:04 +0400
> > > "Andrey V. Elsukov" <bu7cher@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



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