Skip to content

Getting started

This is the shortest supported path from a Debian-based LXC to four recording services. It assumes go2rtc is already installed and can read the cameras.

apt-get update
apt-get install -y ffmpeg curl git
git clone <your-repository-url> /opt/camera-recording
cd /opt/camera-recording
cp config/go2rtc.yaml.example /etc/go2rtc/go2rtc.yaml
cp config/camera-recorder.conf.example /etc/camera-recorder.conf
nano /etc/go2rtc/go2rtc.yaml
nano /etc/camera-recorder.conf
./install.sh

The configuration must contain reachable camera URLs in go2rtc and a writable recording mount. Success looks like camera-recorder@1 through @4 being active and new files appearing under /media/recordings.

systemctl --no-pager --type=service 'camera-recorder@*'
find /media/recordings -type f -name '*.mkv' -mmin -2

For a complete prerequisite list, see Installation. For settings and secret handling, see Configuration.