On Mon, 24 Apr 2006 09:23:36 +0200
Rob van Dam <[EMAIL PROTECTED]> wrote:

> I have the Miro installed on my home server because I want to run a (low 
> traffic) weather cam. Now I trying to find out howto to grab a jpg from 
> /dev/video every 5 sec. The output jpg must be overwritten everytime, so 
> I can show the actual weather online.

You could build something based on lavrec, set up for timelapse recording, 
limited to one frame per file, and a chain that process each of the grabbed 
files through lavtrans and either pnmtools or ImageMagick. Or you could try 
Motion, which has such a mode.

http://motion.sourceforge.net/

> When I try to take a shapshot from /dev/video I get the error message: 
> DC30[0]: setup_window() - frame buffer has to be set first.
> 
> I suppose this has nothing to do with the framebuffer (/dev/fb)?

Correct, it has to do with the way a grabber has to talk to the driver, as the 
driver really, really prefers to deliver an mjpeg picture, while most grappers 
expect it to be a raw dump.

/Sam


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to