Using ov519 - USB Camera that outputs an MJPEG stream?
I have a GE EasyCamPro
, Model H098064 which uses the ov51x module (availabe from: http://alpha.ovcam.org/ov511/
..to get support for the ov519), and apparently outputs an MJPEG stream. It seems that MJPEG streams are somewhat uncommon among USB Cams, and few software packages support it (xawtv does not appear to, for instance). The program gqcam does support it, and I am able to confirm that the camera works with that package (downloaded from: http://giansalvo.free.fr/?p=projects
I've installed motion from motion-3.2.1-1.i386.rpm downloaded from this site.
When I run motion without options, it triggers motion on every frame and the jpegs that are output by motion show a green field with the upper ~1/10th portion of the screen filled with static (consistent to what xawtv shows when connecting to this USBcam).
I looked through the man page for motion for references to mjpeg streams, and found some in relation to the netcam_url. While it did not seem a direct fit, I couldn't find anything more apropos-- so I thought I'd try to somehow employ that with a motion.conf file that looked like this:
...but the response I got was this:
Processing thread 0 - config file motion.conf
Thread 0 started
 netcam: invalid url [file:///dev/video0]
 Capture error Success
Thread 0 finishing...
I got the same sort of result when I tried the line as:
So, did I miss something about how to directly support ov519-like cameras that apparently do a jpeg stream?
| Motion version:
| ffmpeg version:
|| curl, xmlrpc, ffmpeg, mysql, postgresql
| Server OS:
|| FC2 kernel 2.6.10-1.771_FC2
- 08 Jun 2005
will not work I am sure. But if you could create some small local application that will connect to the camera and send the mjpeg stream to any program that connects to an open tcp socket then you could reach it with http://localhost:someport
- 27 Jun 2005