https://github.com/mcguirepr89/timelapse
A few containers to make and view timelapse videos from RTSP streams
https://github.com/mcguirepr89/timelapse
docker docker-compose ffmpeg rtsp timelapse
Last synced: about 1 year ago
JSON representation
A few containers to make and view timelapse videos from RTSP streams
- Host: GitHub
- URL: https://github.com/mcguirepr89/timelapse
- Owner: mcguirepr89
- License: lgpl-2.1
- Created: 2022-12-05T19:42:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-25T00:15:46.000Z (over 3 years ago)
- Last Synced: 2025-03-28T04:13:13.294Z (about 1 year ago)
- Topics: docker, docker-compose, ffmpeg, rtsp, timelapse
- Language: CSS
- Homepage:
- Size: 69.3 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# timelapse
A little tool to make timelapse videos from RTSP streams
---
## How to build the Docker container (recommended)
1. Ensure docker is installed
1. Clone this repo: `git clone https://github.com/mcguirepr89/timelapse.git`
1. Edit `app/timelapse.conf` (**_required_**)
1. Edit `crontab.example` if you want to customize the schedule (_optional_)
1. Make `root` the owner of the crontab: `sudo chown root:root crontab.example` (**_required_**)
1. Edit `docker-compose.yml` if you want to change the ports `caddy` uses (default 80 & 443) (_optional_)
1. Create volume for `caddy`: `docker volume create caddy_data` (**_required_**)
1. Build the containers and bring up the services:
1. Export your shell's environment for the build: (**_required_**)
(Copy and paste the following into your shell):
```
export uid=$(id -u)
export gid=$(id -g)
```
1. Bring up and build your new docker service:
`docker compose up -d`
**OR**
- Just run `bash setup` to do both steps above in one go