Per @TimelessP’s request, here’s so more Python code that can be used for time-lapse photography.
It’s code I wrote to take surveillance pictures from IP-cameras:
You have to update 2 config files with the data of your IP-cameras: vs.config and credentials.config. Fields in the config files are tab-separated.
vs.config contains the IP cameras, example:
Hall.jpg http://192.168.1.1/IMAGE.JPG -
First field is the prefix for the name when saving the picture (suffix is a timestamp). Second field is the URL to access the picture on the IP camera (depends on the model your using). Third field is a fixed name for the picture, use a hyphen (-) if not used.
credentials.config contains the passwords to access the IP-cameras, example:
192.168.1.1 admin password
Download:
MD5: DB806B49705D544F4B928A8F76622125
SHA256: 042FA2CE1F5AEBD433D59B9D4755783E6CE58014FE59086C6A2A8E8781C63B45
I did something similar using curl and a Windows batch script. I used to use it for my web cam (when I had something interesting to point the web cam at) to push the latest photo to the website.
Comment by AlexP — Wednesday 22 July 2009 @ 19:20
[…] updated my Python program to take surveillance pictures from IP-cameras. This updated version is multi-threaded. For each picture to retrieve, you can specify a […]
Pingback by Update: vs.py « Didier Stevens — Monday 6 June 2011 @ 18:46
[…] updated my Python program to take surveillance pictures from IP-cameras. This updated version can take action after a picture is taken. For each picture to retrieve, you […]
Pingback by Update: vs.py Version 0.5 « Didier Stevens — Monday 11 June 2012 @ 20:17