An open API service indexing awesome lists of open source software.

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

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