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.
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.
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.
Other setups
The same controller has run on other cameras and views. Each loop below uses the frame closest to noon from every day.