A good time-lapse video can be useful visual documentation, and since [Tommy]’s phone is the best camera he owns he created two simple shell scripts to grab time-lapse images and assemble them into a video. [Tommy]’s work is just the glue between two other things: an app that turns the phone into an IP camera with a web server on the local network, and the ability to grab a still image from that server on demand.
The app he uses for his iPhone normally serves video but has an undocumented feature that allows single frames to be downloaded by adding ‘/photo’ to the end of the URL, but the ability to get a still image is a common feature on IP camera apps for smartphones. His capture script (GitHub repository here) should therefore need only minor changes to work with just about any IP camera app.
Perching a phone over a workspace and using it to create a time-lapse with a couple of shell scripts is a great example of combining simple tools to get better functionality. It could be a good way to get additional use out of an older smartphone, too. Heck, even older dumbphones can still get some use out of them; Shmoocon 2017 brought us details on rolling your own 1G network.
IP cam, why didn’t I think of that. Some camera apps have odd limitations like time/size limits. That would solve that and take care of phone storage limits at the same time
I am not sure if this is what he’s doing but this is how I do it:
ffmpeg -f image2 -framerate 25 -pattern_type glob -r 3 -i ‘*.JPG’ -s 720×480 vidout.mp4
Android does time lapse out of the box.
It does? How is that? I’d like to use it
loved the idea but found that the app is not free and paying for it hard from other app stores.. great work though
Wow! People sure do go through a lot of work to get their iPhones to do simple things that come easy on pretty much any other smartphone!