From owner-freebsd-multimedia@FreeBSD.ORG Wed Apr 13 17:08:54 2011 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71A10106566C; Wed, 13 Apr 2011 17:08:54 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 00E1C8FC1E; Wed, 13 Apr 2011 17:08:53 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id ABED81E00228; Wed, 13 Apr 2011 19:08:52 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p3DH4kgl084591; Wed, 13 Apr 2011 19:04:46 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p3DH4k3m084590; Wed, 13 Apr 2011 19:04:46 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 13 Apr 2011 19:04:46 +0200 To: Ivan Klymenko Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110412230426.550e8155@ukr.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: emulation@FreeBSD.org, Juergen Lock , multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) 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, 13 Apr 2011 17:08:54 -0000 On Tue, Apr 12, 2011 at 11:04:26PM +0300, Ivan Klymenko wrote: > ?? Tue, 12 Apr 2011 23:53:43 +0400 > "Andrey V. Elsukov" ??????????: > > > On 12.04.2011 23:29, Ivan Klymenko wrote: > > > ?? Tue, 12 Apr 2011 23:02:04 +0400 > > > "Andrey V. Elsukov" ??????????: > > > > > >> 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