Notes: History: Date: 2004-01-25 Summary: Bug fix, Feature addition, version 0.54 1. A misplaced option on the ffmpeg command caused the created movies to only contain one frame per minute of the original captures. 2. Support for a user exit on an error retrieving images has been added. The program '/usr/local/bin/dcs1000w-error' will be executed when an error is detected and logged if it exists. A sample routine that uses X10 units to power cycle the camera is included. Date: 2004-01-15 Summary: Overall improvements, version 0.53 1. Remove movie creation on interrupt This was unnecessary with the restart code. 2. Display version on startup Useful to make sure you're running the correct release 3. Write messages to system log too That way, log monitors (like swatch) can perform automated recovery operations, page you, whatever. 4. Intercept additional signals No matter how the script is killed, it should clean up the temporary files it creates. 5. Check for midnight processing during error delay If we were in the original error handler when midnight arrived, the code skipped the movie creation. Duh. 6. Improve wget error recovery I managed to lock-up the camera firmware a couple of times, by pounding it with too fast retries. This code has been working very reliably. The firmware in the camera still reboots occassionally (reported as a bug to D-Link), but it recovers automatically in a few seconds. Date: 2004-01-05 Summary: Initial public release, version 0.52 I had purchased the D-Link DCS-1000W as a present for myself. Since I only use Linux, the included software was of no value. I wanted to use the camera for security, and occasionaly for other projects. For example, I had recently watched a caterpillar metamorphize into a Luna moth. It would have been neat to capture the whole process in time-lapse. Since I couldn't find any existing software to do this I created this Bash script.
Changes: # Changelog: # # 0.54 - Correct misleading comment # Correct misplaced ffmpeg option # Call '/usr/local/bin/dcs1000w-error' on an image retrieval # error, if it exists # 0.53 - Remove movie creation on interrupt # Display version on startup # Write messages to system log too # Intercept additional signals # Check for midnight processing during error delay # Improve wget error recovery # 0.52 - Initial public release
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use