Jim Ford wrote: > > > I would like to grab a single frame at a time of composite video to my > > Linux PC, and would greatly welcome any advice on the best way to do > > For a couple of months recently I've taken snapshots at 5 min intervals of the interior of a bird nesting box. The hardware is a generic BT848 TV card and a cheap miniature B/W TV camera with infra red diodes for lighting. > The kernel is 2.2.13 with v4l and bttv modules. I used xawtv running in an X window and a cron entry as follows: > # Take a snapshot of the nest box every 5 mins. Move snapshot to > # ~/Video/snapshot dir, after sleeping for 4 secs to allow image to be written. > # Dump any messages. > */5 * * * * /usr/local/bin/xawtv-remote -v 2 -d 0:0 snap jpeg win 1> /dev/null 2> /dev/null; sleep 4; mv ~/snap-Camera* ~/Video/snapshots > # Make a movie out of snapshots in ~/Video/snapshots at midnight > 59 23 * * * cd ~/Video/; /usr/local/bin/mpeg_encode default.param 1> /dev/null; cd - > > As you can see, as well as generating 5 min snapshots, a time-lapse movie was created. I found the system worked very well. errrmm:-) I did a program called videodog, that grab a frame and encode it to jpeg - no need of XWindow or another lib than jpeglib. BTW, thanks for the help guys, I got the capture loop working with something near 30fps. Now, videodog has the two options, the single frame capture and the loop capture. http://planeta.terra.com.br/informatica/gleicon/videodog.html -- Gleicon S. Moraes http://planeta.terra.com.br/informatica/gleicon/ Writing about music is like dancing about architecture. -- Frank Zappa