All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lamarque Vieira Souza <lamarque@gmail.com>
To: "Theodoros V. Kalamatianos" <thkala@softlab.ece.ntua.gr>
Cc: video4linux-list@redhat.com
Subject: Re: Skype and libv4l
Date: Tue, 24 Mar 2009 18:10:44 -0300	[thread overview]
Message-ID: <200903241810.44995.lamarque@gmail.com> (raw)
In-Reply-To: <alpine.LMD.1.10.0903242247470.17631@infinity.deepcore.ngn>

Em Tuesday 24 March 2009, Theodoros V. Kalamatianos escreveu:
> On Tue, 24 Mar 2009, Lamarque Vieira Souza wrote:
> >>> 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
>
> Keep in mind that LD_PRELOAD will be silently ignored for static binaries
> and it will simply NOT WORK. Are you certain that you are not using the
> static version of Skype?

	I am using the static version of Skype, but Skype is statically linked 
against Qt4 only, it is dynamically linked against all other libraries. Now I 
can get log using LIBV4L2_LOG_FILENAME if I preload this way:

LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so /opt/skype/skype

	I have found the problem. The vidioc_try_fmt_vid_cap function in the driver 
return -EINVAL if the fmt.pix.field is different from V4L2_FIELD_ANY or 
V4L2_FIELD_NONE. Skype seems to set this field as V4L2_FIELD_INTERLACED. 
Because of that libv4l assumes that all destination formats (YUV420 included) 
are invalid. Commenting this part of the driver makes Skype work and it is 
showing pictures. YES!!! :-)

-- 
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 21:11 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
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 [this message]
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=200903241810.44995.lamarque@gmail.com \
    --to=lamarque@gmail.com \
    --cc=thkala@softlab.ece.ntua.gr \
    --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.