From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 19:17:24 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CE10106566B; Wed, 13 Apr 2011 19:17:24 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.120]) by mx1.freebsd.org (Postfix) with ESMTP id C1F988FC14; Wed, 13 Apr 2011 19:17:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=XFYfH7tDAV8Nf61PfVruxvUuf6kvqlwBFzM5LyWmMJY=; b=atqg6wM7BxCr1kiT/qcKhOLzEJaXzf1gipM6oI7wGPSUouWRzHa3l+lWay+WcBT/62RV7QvnKTbwJWRNPf8kWCRiKvOjfvl8QvRXTMwNWpbG9laiFRG0fCmv0mxuwaa7Gubu2d6aBQRGM/YBRohzTqxNpk+MWg6kGWJ/rS8DyrQ=; Received: from [46.185.0.93] (helo=localhost) by fsm1.ukr.net with esmtps ID 1QA5Yq-000Evz-Rt ; Wed, 13 Apr 2011 22:17:09 +0300 Date: Wed, 13 Apr 2011 22:17:21 +0300 From: Ivan Klymenko To: Juergen Lock Message-ID: <20110413221721.05e7cb50@ukr.net> In-Reply-To: <20110413170446.GA84392@triton8.kn-bremen.de> References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: emulation@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 19:17:24 -0000 =D0=92 Wed, 13 Apr 2011 19:04:46 +0200 Juergen Lock =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Tue, Apr 12, 2011 at 11:04:26PM +0300, Ivan Klymenko wrote: > > ?? Tue, 12 Apr 2011 23:53:43 +0400 > > "Andrey V. Elsukov" ??????????: > >=20 > > > On 12.04.2011 23:29, Ivan Klymenko wrote: > > > > ?? Tue, 12 Apr 2011 23:02:04 +0400 > > > > "Andrey V. Elsukov" ??????????: > > > >=20 > > > >> 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-Febru= ary/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 :( > > > >> > > > >=20 > > > > Thank you all for your good work! > > > >=20 > > > > export XLIB_SKIP_ARGB_VISUALS=3D1 > > > > /usr/local/share/skype/skype --resources=3D/usr/local/share/skype > > > > $@ helps eliminate the green screen > > >=20 > > > Yeah :) > > > Now it is pink with some green motions :) > >=20 > > Oops :( it's true... > >=20 > > >=20 > > > > 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... > > >=20 > > > 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 > > >=20 > > > You can use: > > > export LD_PRELOAD=3D/usr/lib/libv4l/v4l2convert.so > > > # export LD_PRELOAD=3D/usr/lib/libv4l/v4l1compat.so > > > /usr/local/share/skype/skype --resources=3D/usr/local/share/skype $@ > > >=20 > >=20 > > In this version of skype with the message: > >=20 > > 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 > >=20 > 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: >=20 > http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/11/F= edora/i386/os/Packages/libv4l-0.5.9-1.fc11.i586.rpm >=20 > Links to the patches again: >=20 > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-8-test.patch > (for 8, this is what I tested) >=20 > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch > (for head, should at least apply now) >=20 > Enjoy! :) > Juergen >=20 >=20 Hi! Thank you very, very, very much for your work! Now it works! :D 9.0-CURRENT amd64