Re: [Linux-uvc-devel] webcam viewer application
On 7/31/06, Martin Rubli <[EMAIL PROTECTED]> wrote: > On Sat, 29 Jul 2006 05:20:14 -0700, Parag N(पराग़) <[EMAIL PROTECTED]> > wrote: > > >> Sure: > >> http://linuxtv.org/downloads/video4linux/API/V4L2_API/spec-single/v4l2.html > >> There's even frame format enumeration (for resolution and frame rate), > >> which is supported by the UVC driver. The patch should be merged into > >> V4L2 anytime soon. > >> http://linuxtv.org/v4lwiki/index.php/Discussion_of_API_enhancements > > > > I got errors as > >gcc frmfmtenum.c -o frmfmtenum > > frmfmtenum.c: In function `enum_frame_intervals': > > frmfmtenum.c:79: error: structure has no member named `continuous' > > frmfmtenum.c:79: error: structure has no member named `continuous' > > frmfmtenum.c:80: error: structure has no member named `continuous' > > frmfmtenum.c:80: error: structure has no member named `continuous' > > frmfmtenum.c: In function `enum_frame_sizes': > > frmfmtenum.c:119: error: structure has no member named `continuous' > > frmfmtenum.c:119: error: structure has no member named `continuous' > > frmfmtenum.c:120: error: structure has no member named `continuous' > > frmfmtenum.c:120: error: structure has no member named `continuous' > > My mistake. I forgot to upload the latest version of the program after > updating the API. You can get the fixed version from: > http://www.newvibes.ch/mrubli/v4l/frmfmtenum.c I used this new version and on Quickcam Pro 5000 it gave 2 frame formats { pixelformat = 'MJPG', description = 'MJPEG' } { pixelformat = 'YUYV', description = 'Uncompressed' } So this mean webcam supports only 2 frame formats mjpg,yuyv. right? > > As you can see, the "continuous" case is now a special case of "step-wise" > (i.e. step = 1), that's the only change. > > > But what about v4l devices which are still in large numbers? how can i do > > frmfmtenum on v4l devices? > > Guess why we came up with the frame format enumeration API! ;-) > > > Thanks i learnt how to clone video stream using GStreamer. > > Since you have it already, could you share it with us in the interest of > archiving the info? Thanks! > Sure. I used following command with help of #gstreamer peoples gst-launch v4l2src ! decodebin ! tee name=t t. ! queue ! ffmpegcolorspace ! ximagesink t. ! queue ! ffmpegcolorspace ! ximagesink this command showed 2 output live video windows from same webcam device > Cheers, > Martin > ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de http://bat.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Quickcam Fusion with debian not working...
Hi, > > the Debian package includes a patch that adds support for Apple iSight > devices. Unfortunately, the patch breaks all UVC compliant devices, as the > iSight is not UVC compliant. Please try to download the latest sources from > SVN and see if it fixes your problem. > > Laurent Pinchart I've prepared for now a version with Apple iSight patch removed. (just commenting out the relevant line in debian/patches/00list). add the following to your /etc/apt/sources.list: deb-src http://www.netfort.gr.jp/~dancer/tmp/20060731/ ./ then please do something like: # apt-get update $ apt-get source linux-uvc $ cd linux-uvc-0.1.0 $ debuild # debi # m-a a-i linux-uvc regards, junichi -- [EMAIL PROTECTED],netfort.gr.jp} Debian Project ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de http://bat.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] webcam viewer application
On Sat, 29 Jul 2006 05:20:14 -0700, Parag N(पराग़) <[EMAIL PROTECTED]> wrote: >> Sure: >> http://linuxtv.org/downloads/video4linux/API/V4L2_API/spec-single/v4l2.html >> There's even frame format enumeration (for resolution and frame rate), >> which is supported by the UVC driver. The patch should be merged into >> V4L2 anytime soon. >> http://linuxtv.org/v4lwiki/index.php/Discussion_of_API_enhancements > > I got errors as >gcc frmfmtenum.c -o frmfmtenum > frmfmtenum.c: In function `enum_frame_intervals': > frmfmtenum.c:79: error: structure has no member named `continuous' > frmfmtenum.c:79: error: structure has no member named `continuous' > frmfmtenum.c:80: error: structure has no member named `continuous' > frmfmtenum.c:80: error: structure has no member named `continuous' > frmfmtenum.c: In function `enum_frame_sizes': > frmfmtenum.c:119: error: structure has no member named `continuous' > frmfmtenum.c:119: error: structure has no member named `continuous' > frmfmtenum.c:120: error: structure has no member named `continuous' > frmfmtenum.c:120: error: structure has no member named `continuous' My mistake. I forgot to upload the latest version of the program after updating the API. You can get the fixed version from: http://www.newvibes.ch/mrubli/v4l/frmfmtenum.c As you can see, the "continuous" case is now a special case of "step-wise" (i.e. step = 1), that's the only change. > But what about v4l devices which are still in large numbers? how can i do > frmfmtenum on v4l devices? Guess why we came up with the frame format enumeration API! ;-) > Thanks i learnt how to clone video stream using GStreamer. Since you have it already, could you share it with us in the interest of archiving the info? Thanks! Cheers, Martin ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de http://bat.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Logitech QuickcamPro USB Notebook an debian
Hi, > > > > Ok, tested luvcview from 06072006. > > > > But I still get a black picture and I can´t stop it, just a kill -9 PID > > > > kills the luvcview... > > > > > > I have the same error with debian sid and kernel 2.6.17-6 from kernel.org > > > > Hmm... For the Debian packages, I'm applying patch for Mactel iSight, > > is this breaking Logitec devices? > > Yes it does. the iSight devices are not UVC compliant, and the patch is a > quick hack. I plan to integrate it in a clean way when I'll be done with > restructuring the driver. In the meantime, please don't apply the iSight > patch. On a closer look, I see that the patch changes the way data is processed unconditionally, which breaks compatibility with other existing UVC devices. Oh well. Since reverting the patch means it won't work at all for me (I only have the iSight to test on), I'll need to think of a better way to get out of this situation. regards, junichi -- [EMAIL PROTECTED],netfort.gr.jp} Debian Project ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de http://bat.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Quickcam Fusion with debian not working...
Hi Marcel, the Debian package includes a patch that adds support for Apple iSight devices. Unfortunately, the patch breaks all UVC compliant devices, as the iSight is not UVC compliant. Please try to download the latest sources from SVN and see if it fixes your problem. Laurent Pinchart ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de http://bat.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] submitting uvc to the kernel dev's
> > A couple of the folks in Fedora land have asked questions regarding when > > this driver would be submitted for inclusion into the kernel if ever. I > > was working on a Fedora-extras kmod rpm and was asked if it was close to > > being sent into the kernel. > > I don't know if Laurent has a precise schedule yet but it's definitely > planned for the near future. He's about to restructure parts of the driver > and include a few extensions. Also, we're waiting for the frame format > enumeration ioctls > (http://linuxtv.org/v4lwiki/index.php/Discussion_of_API_enhancements) to > be included into V4L2. That's right. There's no precise schecule, as I'm quite busy with lots of non computer related stuff, but I will submit the driver for inclusion into the kernel in the "near future". Laurent Pinchart ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de http://bat.berlios.de/mailman/listinfo/linux-uvc-devel
Re: [Linux-uvc-devel] Logitech QuickcamPro USB Notebook an debian
> > > Ok, tested luvcview from 06072006. > > > But I still get a black picture and I can´t stop it, just a kill -9 PID > > > kills the luvcview... > > > > I have the same error with debian sid and kernel 2.6.17-6 from kernel.org > > Hmm... For the Debian packages, I'm applying patch for Mactel iSight, > is this breaking Logitec devices? Yes it does. the iSight devices are not UVC compliant, and the patch is a quick hack. I plan to integrate it in a clean way when I'll be done with restructuring the driver. In the meantime, please don't apply the iSight patch. Laurent Pinchart ___ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de http://bat.berlios.de/mailman/listinfo/linux-uvc-devel