Hi Juho, On Thursday 05 June 2008, Juho Vähä-Herttua wrote: > On 1.6.2008, at 10.20, Juho Vähä-Herttua wrote: > > Now my question is, if uvcvideo driver would do some MJPEG->YUV > > conversion, would it be possible to make my camera work in other or at > > least applications? I could try to experiment with this stuff > > myself too if someone would point me to the correct direction. > > It appears there is http://www.linuxtv.org/v4lwiki/index.php/ > V4L2UserspaceLibrary project that would do MJPEG->YUV conversion in > userspace if any, I do admit that doing it in the driver would be > stupid. However it looks like there is also the gstfakevideo that can > do the conversion using gstreamer since V4L2 solution is not quite > ready yet. However in the case of SiGma Micro it fails as well.
Format conversion doesn't belong in the kernel. Linus Torvald has been quite clear on that. There is currently no universal userspace solution. The gstreamer framework is interesting but not as stable as it should be with v4l2 devices. Other projects such as the one you mentioned have been started but are usually nowhere near completion. > > I also assume that SiGma Micro is even actively developed since r211 > > patch is SiGma specific and r212 frameintervals fix also fixed the > > thing on SiGma, thanks for that. :) If there's anything I can do, let me > > know. > > I just realized after reading mailing lists that before that patch it > wasn't on the supported list at all. And I am not sure if it should > be there quite yet. As mentioned the camera works with luvcview, but > that is the only application it works with. I can't use gstfakevideo, > because gstreamer gives the error message Lorenzo Battistini already > mentioned: > > Failed querying control 9963788 on device '/dev/video0'. (5 - Input/ > output error) I had a closer look at the USB descriptors. The camera reports a selector unit and two input terminals, one for the camera sensor and one for a composite input. Does your webcam really have multiple inputs ? > Ekiga, mplayer, etc. all fail as well. On both Windows and Mac OS X > the camera works like a charm. If anyone has any ideas where the > problem is, I would be happy to hear them. Meanwhile I will try to > research myself and will keep posting possible updates here. Getting > the gstfakevideo would already be enough, because I believe it will > fix all the applications with its YUV conversion... Best regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
