Re: Seeking simple single frame grabbing solution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 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.
Hope this helps - let me know if you want any more details.

Regards: Jim Ford        




_______________________________________________________________________
FSmail - Get your free web-based email from Freeserve: www.fsmail.net








[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux