Re: [Gambas-user] webcam weirdness
> Benoît Minisini wrote: > > Is it better if you use the latest revision? > > > > gb.v4l now uses the standard Video4Linux conversion library, so it should > > handle the specific format of your camera correctly. > > Is it save/possible to backport this to the stable version? > > Regards, > Ron_2nd. > I'm afraid not, as gb.v4l in Gambas 2 only uses Video4Linux version 1. The libv4lconvert library seems to be dependent on V4L version 2. If someone could show me that I am wrong, it will be different of course. Regards, -- Benoît -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] webcam weirdness
Benoît Minisini wrote: >> > > Is it better if you use the latest revision? > > gb.v4l now uses the standard Video4Linux conversion library, so it should > handle the specific format of your camera correctly. > > Is it save/possible to backport this to the stable version? Regards, Ron_2nd. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] webcam weirdness
For which version 2 or 3? Steven On Tue, 2009-08-25 at 20:30 -0400, Dr. Diesel wrote: > 2009/8/25 Benoît Minisini > > > > 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 > > > [a...@localhost 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 > > > > Is it better if you use the latest revision? > > > > gb.v4l now uses the standard Video4Linux conversion library, so it should > > handle the specific format of your camera correctly. > > > > -- > > Benoît > > > > Yes, thank you, it now works perfectly. > > > > -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] webcam weirdness
2009/8/25 Benoît Minisini > > 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 > > [a...@localhost 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 > > Is it better if you use the latest revision? > > gb.v4l now uses the standard Video4Linux conversion library, so it should > handle the specific format of your camera correctly. > > -- > Benoît > Yes, thank you, it now works perfectly. -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org "I'd rather have dead offenders than repeat offenders" - Ted Nugent -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] webcam weirdness
> 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 > [a...@localhost 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 Is it better if you use the latest revision? gb.v4l now uses the standard Video4Linux conversion library, so it should handle the specific format of your camera correctly. -- Benoît -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] webcam weirdness
> > 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 > > [a...@localhost 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, I know what should be done: with v4l is developed a library named libv4lconvert that does all the conversion stuff. The gb.v4l component must use that library, instead of its own conversion routines. Regards, -- Benoît -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] webcam weirdness
On Tuesday 25 August 2009, Jean-Yves F. Barbier wrote: > Ron_1st a écrit : > ... > > The pwc driver returns a v4l2 installation. > > The gb.v4l component can't handle v4l2 complet/correct but only v4l1 ATM > > normally no: ie: camstream uses the v4L1 compatibility mode that I compiled > into my kernel (but may be the program spcifically "ask" for that mode, which > could explain why it don't work with MyWebCam) I see with KMplayer (koos de vries) the philips web cam as v4l2 device interface. I hoop this explains more clear. (see note at the end) > > > I have the same problem with the philips cams, i.e. PCVC645, and flash > > (adobe) > > and i'm using flashcam package http://flashcam.sourceforge.net > > A project to make Adobe Flash for Linux support V4L2 webcams or video > > devices. > > I avoid using adobe products in general (not free, super-bloatted, unexistant > security (a very small worm is enough to activate it and spy you through > flash webcam/mike facility); and you don't know what is transmitted to > adobe), > and flash in particular, as it don't have *any* interest in it. > (the only thing it does very well is making my old CPU jump straight to 100% > each time I'm obliged to use it.) In my case the page use flash for connection and audio/video streaming and flash could not find the v4l2 device. Avoiding is no option in this case.You may say go not to that site. How when it is intra-web site of my employer? > > > It's using a modified vloopback from the motion project. > > This is in use for webcam on the intraweb site. > > I successfuly installed Ekiga in many places: it is fully m$n compatible, > can uses many sound codecs, and the H264 video mode has really an amazing > quality (on a LAN, and if you have a good WC, you're close to DVD quality:) > Try it, you'll love it. I avoid such applications as mush as possible. I need a computer for work not for ammusement, then I go to the cafe/bioscoop/theater etc :) > > > Ron_1st > > JY_666th Anyway some driver/modules of video devices give the v4l1 and/or v4l2 interface, the philips cam in my case only v4l2. I do have a microscoop (microdia) and that on is also v4l2 only. My TV-Card (terratec) using the bt8x8 driver returns both interfaces. Another cam just only v4l1 as interface, and bad quality picture too. Some applications have the same problem for using v4l1 and/or v4l2. What to do if applicaton support only v4l1 and the cam the other one? 1) The vloopback is for programs using the v4l1, and _not_ v4l2 for using the v4l1 API to talk to a v4l2 API. 2) Flash support only v4l1 and with _specific settings_. In my case flashcam does 1 and 2 together. Good solution for me. Note: The gb.v4l component was written by Daniel C. for his v4l1 cam. Gareth did however had a v4l2 cam and he rewrote a part of the component and released a test application that uses his modified driver. So ATM I would say the gb.component is more or less broken/incomplete. If your cam is v4l1 only then you should use the D.C. version. If your cam is v4l2 only then you should use the Gareth version. This is what happend in the background of the component and the v4l2 is only for the cam of Gareth implemented, i.e. the colorspace. Both are written for specific WC with very restricted capabilities. My active involvement ATM is only for the modified code of Gareth, specific the compile time error/abort, about undefinied variable names/values for some videodev.h versions. I solved my other wishes/problems with hardware solution instead of software. Best regards, Ron_1st -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] webcam weirdness
Steven James Drinnan a écrit : > Try > > for 32bit systems > > LD_PRELOAD='/usr/lib/libv4l/v4l1compat.so' gambas2 > YES Steven, that's working :) JY -- A woman was in love with fourteen soldiers. It was clearly platoonic. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] webcam weirdness
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 > > [a...@localhost 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 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] webcam weirdness
Ron_1st a écrit : ... > The pwc driver returns a v4l2 installation. > The gb.v4l component can't handle v4l2 complet/correct but only v4l1 ATM normally no: ie: camstream uses the v4L1 compatibility mode that I compiled into my kernel (but may be the program spcifically "ask" for that mode, which could explain why it don't work with MyWebCam) > I have the same problem with the philips cams, i.e. PCVC645, and flash > (adobe) > and i'm using flashcam package http://flashcam.sourceforge.net > A project to make Adobe Flash for Linux support V4L2 webcams or video devices. I avoid using adobe products in general (not free, super-bloatted, unexistant security (a very small worm is enough to activate it and spy you through flash webcam/mike facility); and you don't know what is transmitted to adobe), and flash in particular, as it don't have *any* interest in it. (the only thing it does very well is making my old CPU jump straight to 100% each time I'm obliged to use it.) > It's using a modified vloopback from the motion project. > This is in use for webcam on the intraweb site. I successfuly installed Ekiga in many places: it is fully m$n compatible, can uses many sound codecs, and the H264 video mode has really an amazing quality (on a LAN, and if you have a good WC, you're close to DVD quality:) Try it, you'll love it. > Ron_1st JY_666th -- If rash develops, discontinue use. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] webcam weirdness
On Tuesday 25 August 2009, 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 > > [a...@localhost 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 The pwc driver returns a v4l2 installation. The gb.v4l component can't handle v4l2 complet/correct but only v4l1 ATM I have the same problem with the philips cams, i.e. PCVC645, and flash (adobe) and i'm using flashcam package http://flashcam.sourceforge.net A project to make Adobe Flash for Linux support V4L2 webcams or video devices. It's using a modified vloopback from the motion project. This is in use for webcam on the intraweb site. Best regards, Ron_1st -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] webcam weirdness
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 > [a...@localhost 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 -- In breeding cattle you need one bull for every twenty-five cows, unless the cows are known sluts. -- Johnny Carson -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] webcam weirdness
> 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 > [a...@localhost 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 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user