The past few days i looked at ways could use my Logitech Quickcam Pro 5000 USB Webcamera. Skype 2 did a nice job using all its features, including to my surprise, the integrated microphone.
Installing the driver/module was a piece of cake, goto http://linux-uvc.berlios.de/ pickup the latest stable and do the usual compile&install, then load the module.
You may need to reboot at this point.
Now some testing was in order, pickup the luvcview viewer (you need libsdl-dev packages to compile). Make it, then you can run it just by ./luvcview ( if you have more video devices installed, you may need to set the according device it needs to read, see readme ) or install it with a quick ‘sudo cp luvcview /usr/local/bin/’ for later reuse.
Ok, i got the cam running, i can see myself, and i can chat to people with Skype, what next ? (If it didnt work for you at this stage, the next steps wont help you.)
A bit of googling later, i found UVC_Streamer (homepage), nifty little thing, that streams the output of the cam directly on port 8080 (or any other port you set didnt work on 80 for me tho.) The format of the output is M-Jepg, so browsers like Firefox (konqueror works fine too) and players like VLC can play it. (Firefox needs a config change to display the stream nicely under about:config change browser.cache.check_doc_frequency to 1).
Those things didnt look to good for me, since i wanted it to work OOTB, so another googling session got me this: http://freshmeat.net/projects/mjpg-streamer/,
Mjpg streamer. Said to be the successor of UVC Streamer, it fixes the problems with viewing streams.
In addition to a stream, it makes a simple HTTP server, that gives you a page and a static image of the stream to start with. Then goes on with options to either view the stream with the help of a JavaScript that refreshes the image every 20ms, a Java viewer (that gave by far the best results) and a command interface, to change the cameras settings (saturation, color, panning etc..). The java app has also some software zooming and panning. With that, any type of browser is supported.
But i wanted more.
I wanted filters and fancy gadgets. What i found what another app with built in pushing of files to remote FTP servers or to a file. Namely a ASCII art from stream generating HasciiCam
Needing no plugins to view, become it makes HTML/TEXT pages of its input. It uses the standard aalib to generate those. Sadly it didn’t work for my webcam. ( Worked on my tvtuner perfectly. neone for ascii tv
So the next big thing i would expect to see in UVC streaming software would be filters.