[Gambas-user] webcam weirdness

Benoît Minisini gambas at ...1...
Tue Aug 25 01:42:54 CEST 2009


> Not sure what to include with this, please ask for additional info.
> Attached is a pict of some webcam weirdness with no error messages
> generated.  Doesn't appear to be a webcam issue as the image looks fine
> with Cheese Webcam Booth.
>
> This was taken with gambas v3 SVN as of yesterday running the WebCam
> example program.
>
> usb 4-1: new full speed USB device using uhci_hcd and address 4
> usb 4-1: New USB device found, idVendor=0733, idProduct=0401
> usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> usb 4-1: configuration #1 chosen from 1 choice
> gspca: probing 0733:0401
> gspca: probe ok
> [andy at ...40... trunk]$
>
> Only gambas debug info was this:
>
> (WebCam:25423): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display:
> assertion `atom != GDK_NONE' failed
> gambas v4l2: SPCA501 [11]
> gambas v4l2: SPCA501 [11]
> gambas v4l2: SPCA501 [11]
> /snip
> gambas v4l2: SPCA501 [11]
> gambas v4l2: SPCA501 [11]
>
> Thanks
> Andy

This is an image conversion problem: the SPCA501 is an image format, and the 
gb.v4l component prints it each time it cannot convert it to RGB. 

Apparently the component can convert only a few format to the one supported by 
Gambas: RGB & RGBA.

But I don't know what SPCA501 is exactly. A conversion library format is 
needed...

Regards,

-- 
Benoît




More information about the User mailing list