[Gambas-user] webcam weirdness

Steven James Drinnan steven at ...2097...
Tue Aug 25 03:00:14 CEST 2009


Try 

for 32bit systems

LD_PRELOAD='/usr/lib/libv4l/v4l1compat.so' gambas2

for 64bit systems

LD_PRELOAD='/usr/lib64/libv4l/v4l1compat.so' gambas2


You can do the same for any application that you make with gambas.

Steven Drinnan


On Tue, 2009-08-25 at 02:05 +0200, Jean-Yves F. Barbier wrote:
> Dr. Diesel a écrit :
> > 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]
> 
> 2.15.2 under Debian sid with a Philips PCVC740K, MyWebCam don't even "talk",
> it stays black and mute (this WC works right with camstream.)
> 
> JY





More information about the User mailing list