talira

Moonfire NVR

Lightweight open source network video recorder for IP cameras

open sourceGPL-3.0-or-later WITH GPL-3.0-linking-exceptionself-hostablefree

Moonfire NVR is an open source network video recorder for security cameras, written in Rust. It records H.264 streams over RTSP from IP cameras to disk in a hybrid format (video frames in a directory on a hard disk, everything else in a SQLite database on flash) and builds .mp4 files for any time range on the fly. Because it never decodes, analyses or re-encodes video, it needs little CPU: six 1080p/30fps streams use under 10% of a Raspberry Pi 2. The web interface is basic, a filterable list of recordings with trimming and an experimental live view; there's no motion detection or built-in HTTPS yet (it goes behind a proxy), and configuration is a console UI. It's pre-1.0.

Problems it solves

  • record my IP security cameras on a Raspberry Pi without high CPU use
  • save RTSP camera streams to disk and export clips as mp4
  • a lightweight self-hosted NVR that doesn't re-encode video

Features

  • records H.264 over RTSP from IP cameras
  • video on disk, index in SQLite
  • on-the-fly .mp4 export for any time range
  • no decoding or re-encoding: low CPU
  • web list view with trimming, experimental live view

Limitations

  • No motion detection yet1
  • No built-in HTTPS: it needs a proxy server1
  • Configuration is a console UI, not web-based1
  • Pre-1.0, with no compatibility guarantees1

Alternatives

The same job

These do what Moonfire NVR does.

  1. Frigate NVR with realtime local object detection for IP cameras
  2. Agent DVR AI video surveillance for Windows, macOS, Linux, Docker and Raspberry Pi
  3. Kerberos Agent Open source video surveillance agent, one per camera
  4. Viseron Self-hosted, local only NVR and AI computer vision software
  5. Shinobi The Next Generation in Open-Source Video Management Software with support for over 6000 IP and USB Cameras
  6. Secluso Private DIY home security for Raspberry Pi, with encrypted remote access

Compare Moonfire NVR with the top 3