I have a raspberry pi and I want to stream webcam video from it. I want to make it compatible with my Windows Mobile phone (or any other device with a browser), so mjpeg streaming is out of the question. In fact, I wasn't able to find a format that would work when streaming from linux. On my Windows machine I used WebcamXP to stream webcam video and it worked fine - the software dumps jpegs into a folder and in the browser there's a simple js script which fetches these jpegs every 40ms. It's not a "pretty" solution, but I want to achieve the same thing on my raspberrypi.
The problem is, that I can't find any software that would dump jpegs into a folder at >1fps. I know that mplayer and vlc can do this, but they output images that are green-ish and I couldn't find a way to make them look right (I tried for days). Interestingly, motion and fswebcam output good video without any configuration, but they don't support dumping jpegs quickly enough - they can only make a snapshot once every second.
Assuming I can't find a way to fix video in mplayer/vlc, there are two ways to solve this: 1. Find a program/utility that dumps the images correctly 2. Convert stream from motion to jpegs
Setting up a server and writing the js script is not a problem, I only need to get a steady stream of jpegs from my webcam into a folder.