★ wanayoo — archive 1999 http://gspy.sourceforge.net/Nouvelle recherche | Portail wanayoo

gspylogo

A Gnome Security Camera

eyeball
Published under the GNU GENERAL PUBLIC LICENSE Version 2


screenshot
Check out a full screen view

Sample MPEG file (9,363,987bytes!!!)

Introduction:

Gspy retrieves images from a video4linux device and processes these into a daily mpeg movie on the disk drive. Each image is recorded with a time stamp to insure accurate real world correlation. Special motion detection algorithms are used to reduce the size of the daily movies by eliminating pictures with similar content as well as the normal compression obtained via the mpeg process. The result is a time lapse video per day with nonlinear time compression using only the images of interest. This program will only run on Linux machines which support a video4linux-device in 640x480 capture size. This software has been tested with the 2.4.0-test1 kernel, 2.4.0-test4 and the 2.2.16 kernel with the usb backport patch. You should have the Berkeley MPEG Tools installed if you wish to generate the MPEG files. Gspy can be used without the MPEG tools, as it will fill a directory with jpg images that can be processed or viewed at a later time.


Known Supported Devices:


To Build This Project:

Download gspy-0.1.1-src.tar.gz(336078 bytes) or gspy-0.1.2-src.tar.gz(145920 bytes) or
Get the latest cvs code:

cvs -d:pserver:anonymous@cvs.gspy.sourceforge.net:/cvsroot/gspy login
cvs -d:pserver:anonymous@cvs.gspy.sourceforge.net:/cvsroot/gspy co -P gspy
If you already have checked out a version of gspy, change to your gspy directory and get an update by issuing
cvs update

To build the application from the glade project in the gspy directory, enter:
./autogen.sh
make
su
rootpassword
make install

To run the application, enter gspy at the shell prompt. Gspy should open the video device and then popup the runtime display window similar to that shown above. If the open fails on the video device, gspy will exit with an error message. You may need to check and see that the usb stack is loaded if you are using a usb web camera device. To get your usb camera running, you may find the Linux USB guide useful (see reference section below). Gspy is quite cpu intensive due the the image processing load. I run it on a 500mhz PIII and it puts a 25% load blip on every 2 seconds. It should run on most pentium class computers. Gspy creates subdirectories under a user specified location for each date it runs. All jpegs captured for the day are placed in the subdirectory. Use the menu option file/Makempeg to select one of the daily directories and start the mpeg generation process (done in the background at a nice priority). You must have the Berkeley mpeg tools installed (mpeg_encode binary) for this command to work.



ToDo:




Not Working?:

  1. Example tests and logs for checking usb setup
  2. USB device questions: linux-usb-users@lists.sourceforge.net
  3. Frequently Asked Questions relating to gspy

References

  1. Homepage -- gspy.sourceforge.net
  2. CVS server -- cvs.gspy.sourceforge.net
  3. Linux USB Guide
  4. Berkeley MPEG Tools
  5. Linux OV511 Driver
  6. Omnivision OV511 Advanced camera USB bridge, data sheet

Who We Are and Where to Find Us

The Face

The Vital Statistics

Lawrence P. Glaister P.Eng. VE7IT
1462 Madrona Drive
Nanoose Bay B.C.
Canada V9P 9C9


SourceForge Logo