Code Monkey home page Code Monkey logo

timelapse's Introduction

timelapse

A very simple timelapse setup, based off an old smartphone and the IP Webcam (by Pavel Khlebovich) app on the Play store.

Build and Installation

Smartphone

First off get one of those old smartphones and install IP Webvam (https://play.google.com/store/apps/details?id=com.pas.webcam&hl=en) on it.

Configure the app as you like. I have configured mine to save images in size 1280x960. This seems like a nice compromise between image size and creating timelapse videos later in 720p quality.

Script requirements

There are only three requirements:

Just put the sunwait executable in the same directory as the scripts.

Scripts

There are just two scripts: One for running the timelapse - done is a screen session and one for building a video.

Configuration of the timelapse script

In the timelapse script you must provide 3 things:

  • The timelapse interval. Default is 6 minutes.
  • The coordinate of the camera. Use Google maps for this, just copy out the coordinates from the Maps URL. Example: https://www.google.dk/maps/@55.5386934,11.3729296,19.75z. Here you want the numbers 55... and 11... and add N,E,S,W depending on where in the world it is. Northern Europe is 55N, 11E
  • URL to the smartphone running the IP Camera app.

Running

You should be ready now to do a timelapse. Make sure ample space is available, or setup some automatics to move files to large storage over time. run screen and then simply $ ./timelapse.sh

If the Sun is still up, you should now get images. The script will run until terminated.

timelapse's People

Contributors

kpoppel avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.