Launchpad has imported 6 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=456868.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2008-07-28T09:28:08+00:00 Hans wrote:

Short intro: I'm a long time Linux developer currently working on improving
webcam support in Linux, see:
http://fedoraproject.org/wiki/Features/BetterWebcamSupport

I'm one of the authors of the v4l2 rewrite of the gspca usb webcam driver
framework (which supports more then 100 different cams), this v4l2 rewrite has
been merged into the 2.6.27 kernel and thus will become available in the
official Linux kernel soon.

One of the parts of the v4l2 rewrite has been removing conversion from various
manufacturer cam specific video formats to more normal videoformats from the
drivers, as this really does not belong in kernel space.

As a result of this the gspca subdrivers can generate raw video frames in the
following formats:

#define V4L2_PIX_FMT_SN9C10X  v4l2_fourcc('S', '9', '1', '0') /* SN9C10x
compressed bayer
#define V4L2_PIX_FMT_SPCA501  v4l2_fourcc('S', '5', '0', '1') /* YUYV per line 
#define V4L2_PIX_FMT_SPCA505  v4l2_fourcc('S', '5', '0', '5') /* YYUV per line 
#define V4L2_PIX_FMT_SPCA508  v4l2_fourcc('S', '5', '0', '8') /* YUVY per line 
#define V4L2_PIX_FMT_SPCA561  v4l2_fourcc('S', '5', '6', '1') /* compressed
GBRG bayer
#define V4L2_PIX_FMT_PAC207   v4l2_fourcc('P', '2', '0', '7') /* compressed
BGGR bayer

As we do not want to see each application implement (nor having to implement)
support for these various formats, as we like to have one code base and only
one code base for these formats. A library has been written (with me as the
main author) to convert from these formats to BGR24 or YUV420. For more on this
library see:
http://hansdegoede.livejournal.com/3636.html

The attached patch adds support to the pwlib v4l2 plugin to use this
library if available on the system.

It has also been submitted upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=545108

libv4l has just been build for rawhide, and should show up in the next rawhide
push, in the mean time you can get it from koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=57774

###

A note about the patch, the patch is actually quite simple, as libv4l has been
designed for quick porting of existing apps to libv4l, for this reason libv4l
fully mimicks the raw /dev/video interface (and if no conversion is needed and
for non relevant calls like setting ctrl's, passes through all calls
unmodified).

All that the patch does and all that needs to be changed to use libv4l is
replace the relevant xxx calls on /dev/video with v4l2_xxx calls.

I've successfully tested this patch with ekiga and 2 spca561 cams (quite
popular IC, used by both logitech and creative), 2 pac207 cams (another quite
popular IC), 3 SN9C10X cams (also very popular) and 1 spca501 cam. All of which
do not work (unless using gspca version 1) without this patch, as pwlib does
not support their proprietary video formats (and rightfully so).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libv4l/+bug/260918/comments/0

------------------------------------------------------------------------
On 2008-07-28T09:28:08+00:00 Hans wrote:

Created attachment 312759
PATCH: use libv4l in v4l2 plugin, adding support for many cam specific formats

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libv4l/+bug/260918/comments/1

------------------------------------------------------------------------
On 2008-07-29T19:08:36+00:00 Hans wrote:

Note that this patch has just been accepted upstream, see:
http://bugzilla.gnome.org/show_bug.cgi?id=545108

If you want and the CVS ACL's allow it I can push this to rawhide
myself.


Reply at: 
https://bugs.launchpad.net/ubuntu/+source/libv4l/+bug/260918/comments/2

------------------------------------------------------------------------
On 2008-08-23T07:40:11+00:00 Hans wrote:

Ping!

I really want to see this hit rawhide before we go into a beta freeze,
and as the patch has been accepted upstream I so no reasons for not
putting this in rawhide. If I get no response soon I'll commit it to
rawhide myself (assuming the ACL's will let me).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libv4l/+bug/260918/comments/3

------------------------------------------------------------------------
On 2008-09-19T21:08:37+00:00 Jesse wrote:

Seems it's a bit late for that.  Punting to F10Target.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libv4l/+bug/260918/comments/7

------------------------------------------------------------------------
On 2008-09-20T17:19:12+00:00 Hans wrote:

(In reply to comment #4)
> Seems it's a bit late for that.  Punting to F10Target.

Actually this is long fixed, byt I forgot to close the bug (woopsie)
closing and removing from trackers.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libv4l/+bug/260918/comments/8


** Changed in: pwlib (Fedora)
   Importance: Unknown => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/260918

Title:
  needed: libv4l and associated application patches (or "gspca stopped
  working in 2.6.27")

To manage notifications about this bug go to:
https://bugs.launchpad.net/adobe-flash-plugin-tools/+bug/260918/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to