Motion - Support Question 2005x 06x 08x 131818

Using ov519 - USB Camera that outputs an MJPEG stream?


I have a GE EasyCamPro, Model H098064 which uses the ov51x module (availabe from: 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: ).

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: netcam_url file:///dev/video0 ...but the response I got was this: Processing thread 0 - config file motion.conf Thread 0 started [0] netcam: invalid url [file:///dev/video0] [0] Capture error Success Thread 0 finishing...

I got the same sort of result when I tried the line as: netcam_url /dev/video0

So, did I miss something about how to directly support ov519-like cameras that apparently do a jpeg stream?


Motion version: 3.2.1
ffmpeg version:  
Libraries: curl, xmlrpc, ffmpeg, mysql, postgresql
Server OS: FC2 kernel 2.6.10-1.771_FC2

-- TWikiGuest - 08 Jun 2005


The file:// 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

-- KennethLavrsen - 27 Jun 2005
Topic revision: r2 - 27 Jun 2005, KennethLavrsen
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.