Re: [Linux-uvc-devel] Logitech Quickcam for Notebooks Pro
Linux UVC driver and tools
Brought to you by:
pinchartl
|
From: Binary X. <bx...@gm...> - 2006-01-27 22:32:29
|
On 1/27/06, michel Xhaard <mx...@ma...> wrote: > > Le Vendredi 27 Janvier 2006 00:09, Binary Xerroz a écrit: > > Hi Laurent, > > > > Yes, upon further looking into the aMSN source code i have discovered > the > > lovely C code :-D > > > > lol, however, i still cannot seem to find what i need, or again, where > to > > start. > Seem amsn now use libng from the xawtv package you need to add a converter > for > the MJPEG palette and uncomment the YUYV converter (untested) set in the > libng package (I am looking at the CVS code). You can get the MJPEG > converter > from uvcview in the utils.c file. im currently looking through the libng source code (included in the CVS version of aMSN, utils/linux/capture/libng), and i really dont know where to start. I cant find (or just blind to) the YUYV converter in the code, and assuming i can find it, still not sure where to put the mjpeg decoder > Also, you say it supports YUYV, am i not correct in assuming the output of > > the driver is in either format, MJPEG or YUYV? i thought i saw something > of > > the sort in uvcview, although i am not certain what it was. assuming it > > does. then why cannot the program access it correctly, and if it > cant..well > > i guess i have to figure out how to add it. > uvcview in YUYV grab the stream and forward to the display > in MJPEG add the missing Huffman table, decompress the jpeg picture to > YUYV > and forward to the display. so are you saying, you would have to take the mjpeg stream, add the huffman table, decompress it into yuyv, then it would be acceptable format for the webcam? if this is the case, would it not be more, um, economical, to then just have a userland application, which decompresses the stream, and then sends it back as another v4l2 device? is this even possible? if so, how do you go about it all? > Also, heh, i have snooped around the amsn project pages, but they dont > have > > any mailing list to send requests to, and lol have not figured out how > to > > on SF.com so hmm. > #amsn on irc.freenode.net > > http://amsn.sourceforge.net/forums/viewforum.php?f=8&sid=0f2fc183f3ae3a339d4ad056868dbebd > > On 1/26/06, Laurent Pinchart <lau...@sk...> wrote: > > > Hi Tanner, > > > > > > > Hmm, ill look into gnomemeeting (its emering now). however my > primary > > > > interest is aMSN and its msn (obviously heh) webcam. > > > > The application supports v4l (v4l2?) and can even see my device, > listed > > > > > > as > > > > > > > 'V4L-2: ', and when clicked on, displays a 'Error getting > capabilities' > > > > message. once engaged in the conversation the light on my camera > will > > > > start, but it never seems to be working. > > > > > > After a quick look at the source code, aMSN seems to support V4L2 and > > > YUYV but > > > not MJPEG. As I have no MSN account there is no way I can test the > > > software. > > > Have you tried asking the aMSN developers for support ? > > > > > > > I have tried to look through the source code of both uvcview, and > amsn. > > > > aMSN is in tcl (apparent thanks to the extention) and heh, i have no > > > > > > idea > > > > > > > how to work with that, let alone convert the source from uvcview. > > > > > > Some parts are implemented in tcl, but image capture is implemented in > > > plain > > > old C. > > > > > > > To be honest, i have no idea how it will be possible to integrate > what > > > > i need into aMSN, or even where to start =\ > > > > > > Have a look at utils/linux/capture > > > > > > Regarding xawtv, I'll try to see if I can get it working with the > > > linux-uvc > > > driver this weekend. Has someone else had any success with xawtv so > far ? > > > > > > Laurent Pinchart > -- > Michel Xhaard > http://mxhaard.free.fr > Tanner |