All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lamarque Vieira Souza <lamarque@gmail.com>
To: Hans de Goede <j.w.r.degoede@hhs.nl>
Cc: video4linux-list@redhat.com
Subject: Re: Skype and libv4l
Date: Tue, 24 Mar 2009 15:42:31 -0300	[thread overview]
Message-ID: <200903241542.32631.lamarque@gmail.com> (raw)
In-Reply-To: <200903241311.10902.lamarque@gmail.com>

	It must be some problem in LD_PRELOAD, even setting LIBV4L2_LOG_FILENAME the 
file is not created. I am running skype like this:

LD_PRELOAD=/usr/lib32/libv4l2.so /opt/skype/skype

	/opt/skype/skype is the binary executable. There is not error message about 
LD_PRELOAD or libv4l. Skype returns:

Skype V4L2: Could not find a suitable capture format
Skype V4L2: Could not find a suitable capture format
Starting the process...
Skype Xv: Xv ports available: 4
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 131
Skype Xv: No suitable overlay format found

	OBS: compat-ioctl32.ko is being used by the driver so it should support 32-
bit ioctl.

Em Tuesday 24 March 2009, Lamarque Vieira Souza escreveu:
> 	Hi,
>
> Em Tuesday 24 March 2009, Hans de Goede escreveu:
> > On 03/23/2009 09:08 PM, Lamarque Vieira Souza wrote:
> > > 	Hi all,
> > >
> > > 	I am trying to make Skype work with my webcam (Creative PC-CAM 880,
> > > driver zr364xx). By what I have found Skype only supports YU12, YUYV
> > > and UYVY pixel formats, which libv4l supports as source formats only
> > > and not as destination formats.
> >
> > YU12 is the same as YUV420 (planar) which skype does support. I assure
> > you that skype works with libv4l for cams which have a native format
> > which skype does not understand.
>
> 	My fault here (+/-), I created a function to decode fourcc hex numbers to
> names and it returns V4L2_PIX_FMT_YU12 instead of V4L2_PIX_FMT_YUV420. I
> did not know they are synonyms. Anyway, it seems lib4l 0.5.9 (32-bit) is
> not working with Skype (32-bit) while lib4l 0.5.3 (64-bit) is working with
> Kopete (64-bit) patched to work with libv4l (no LD_PRELOAD). I will keep on
> trying to figure out why.
>
> > What is an other issue with skype is that it insists on asking 320x240,
> > so if the driver for your cam cannot deliver 320x240 and libv4l fails to
> > make 320x240 out of it in someway (see below) then skype will fail.
> >
> > libv4l will crop 352x288 to 320x240 especially for skype, and it will
> > downscale 640x480 to 320x240 for the same reason.
>
> 	The driver delivers 320x240 as default.


-- 
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org/

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  reply	other threads:[~2009-03-24 18:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-23 20:08 Skype and libv4l Lamarque Vieira Souza
2009-03-24  9:59 ` Hans de Goede
2009-03-24 16:11   ` Lamarque Vieira Souza
2009-03-24 18:42     ` Lamarque Vieira Souza [this message]
2009-03-24 18:58       ` Markus Rechberger
2009-03-24 18:59         ` Markus Rechberger
2009-03-24 19:05         ` Lamarque Vieira Souza
2009-03-24 20:51           ` Theodoros V. Kalamatianos
2009-03-24 21:10             ` Lamarque Vieira Souza
2009-03-24 22:09   ` Skype and libv4 Lamarque Vieira Souza
2009-03-24 22:29     ` Lamarque Vieira Souza
2009-03-25  9:03     ` Hans de Goede
2009-03-25 14:17       ` Lamarque Vieira Souza
     [not found]         ` <49CB4D4E.6030901@redhat.com>
2009-03-26 13:36           ` Lamarque Vieira Souza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200903241542.32631.lamarque@gmail.com \
    --to=lamarque@gmail.com \
    --cc=j.w.r.degoede@hhs.nl \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.