public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Adam Baker <linux@baker-net.org.uk>
Cc: Frans Pop <elendil@planet.nl>, linux-media@vger.kernel.org
Subject: Re: pac207: problem with Trust USB webcam
Date: Wed, 17 Feb 2010 09:57:48 +0100	[thread overview]
Message-ID: <4B7BAF8C.9070700@redhat.com> (raw)
In-Reply-To: <201002170004.51883.linux@baker-net.org.uk>

Hi,

On 02/17/2010 01:04 AM, Adam Baker wrote:
> On Tuesday 16 Feb 2010, Hans de Goede wrote:
>> Hi,
>>
>> You need to use libv4l and have your apps patched
>> to use libv4l or use the LD_PRELOAD wrapper.
>>
>> Here is the latest libv4l:
>> http://people.fedoraproject.org/~jwrdegoede/libv4l-0.6.5-test.tar.gz
>>
>> And here are install instructions:
>> http://hansdegoede.livejournal.com/7622.html
>>
> Hi,
>
> libv4l is already packaged by lenny but doing
>
> LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so xawtv
>
> results in either a plain green screen or a mostly green screen with some
> picture visible behind it. IIRC this is due to a bug in older versions of
> xawtv. I didn't try vlc as it wanted to install too many dependencies but I
> did try cheese which also wouldn't work.
>
> I did find I could capture single frames with
>
> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so vgrabbj -d /dev/video0>grab.jpg
>
> or
>
> LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so fswebcam --save grab2.jpg
>
> which suggests that the packaged libv4l is fine and it is just the apps that
> are an issue.
>

Yes that is very likely I'm the author and maintainer of both libv4l and the
pac207 kernel driver and I have 5 different pac207 based cams to test with and
all work well on a variety of computers.

xawtv indeed is known to be buggy, and cheese too has had some bad releases.

Anyways I don't know how old the libv4l is in Lenny, but you will want at least
version 0.6.0, as that has some fixes for the pac207 compression, and prefarably
0.6.1 as that some desirable bug fixes. The releases past 0.6.2 mainly add
support for other webcam compressions.

Regards,

Hans

  reply	other threads:[~2010-02-17  8:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-14 23:38 pac207: problem with Trust USB webcam Frans Pop
2010-02-16 21:05 ` Hans de Goede
2010-02-17  0:04   ` Adam Baker
2010-02-17  8:57     ` Hans de Goede [this message]
2010-02-17 12:33       ` Frans Pop
2010-02-21 11:29         ` Frans Pop

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=4B7BAF8C.9070700@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=elendil@planet.nl \
    --cc=linux-media@vger.kernel.org \
    --cc=linux@baker-net.org.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox