← Back to Projects

Raspberry Pi Timelapse Controller

A point-and-click app that turns a Raspberry Pi camera into an unattended timelapse rig: it shoots on a schedule, builds the video and tidies up after itself.

Category IoT
Hardware Raspberry Pi, camera module
Stack Python, Tkinter, ffmpeg
Output from the controller: 186 days from my window, September 2025 to March 2026, one frame per day.

Overview

Running a timelapse usually means editing scripts and cron jobs. This app puts the whole workflow behind one window on the Pi, with tabs for settings, control and logs, so a capture can be set up, started and left running for days.

What it does

  • Captures photos at a set interval and resolution, with a manual single-shot button and a camera test.
  • Runs on a weekly schedule: pick the active days and a start and stop time, including overnight windows that cross midnight.
  • Builds an MP4 with ffmpeg at a chosen frame rate and quality, automatically at a set time each day or on demand.
  • Deletes photos older than a chosen number of days so the SD card does not fill up.
  • Saves its settings to a JSON file, can start capturing on launch, and keeps a log you can view, clear and save from the app.

The app

Settings hold the capture, video, clean-up and schedule options. The Control tab shows status, runs the capture and lists recent photos and videos.

Settings tab of the Timelapse Controller with photo, directory, video, clean-up and schedule options
Settings tab
Control tab of the Timelapse Controller showing status, start and stop buttons and a list of captured photos and videos
Control tab

Engineering notes

  • Works with whichever camera library the Pi has: picamera2, the older picamera, or the rpicam-still command as a fallback.
  • Capture, video creation and cleanup run on worker threads and report back through a message queue, so the window never freezes during a long ffmpeg job.
  • Checks for the camera software and ffmpeg at startup and shows install instructions if either is missing.
  • Defaults to one photo a minute at 1920×1080, a 24 fps video at 23:59 and a seven-day photo clean-up at 00:01, all editable.

Seven months, one view

The camera stayed fixed on the same window, so changes in the frames are the city and the weather, not the setup.

City skyline under a blue sky with scattered clouds, September 2025
September 2025
The same skyline in grey, rainy weather with drops on the window, March 2026
March 2026

Other setups

The same controller has run on other cameras and views. Each loop below uses the frame closest to noon from every day.

Spring 2024: bare branches to full leaf in 34 days
September 2024 to July 2025: autumn, snow and summer, 246 days
All Projects Back to Projects →