Skip to content
OpenIPCPublic

About

Open DVR/NVR application for cheap recorder hardware on OpenIPC: one hardware-agnostic code base for HiSilicon, Rockchip and more

Resources

Code of conduct

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

vigil

Open-source DVR/NVR software for cheap recorder hardware running OpenIPC. It shows cameras on HDMI with a mouse-driven UI and records their streams to disk. One code base runs on HiSilicon, Rockchip and SigmaStar boards; plain Linux / cloud hosts are part of the design.

  • Network cameras over RTSP or Xiongmai NETIP (DVRIP), H.264 and H.265. They are recorded without re-encoding on every platform, and decoded in hardware for display where the board has a decoder and a display (see the table below).
  • Local analog inputs on DVR boards: shown, then encoded in hardware for recording.
  • Recording into segments that play on their own, with a free-space reserve: the oldest recordings are deleted when the disk fills up. Only onto a disk: with none mounted where the path leads, nothing is written to the root filesystem (a board's flash) or to RAM.
  • Configuration in one JSON file (/etc/vigil.json) and an HTTP/WebSocket API to read and change it while video keeps running, with live status and events; login with the system account (docs/api.md).
  • On-screen UI with a USB mouse: live view in 1x1 or 2x2 with paging and double-click full screen, a context menu and an auto-hiding navigation bar, and settings pages built from the same schema as the API (docs/ui.md).

Platforms

Platform Hardware Role Status
hi3536dv100 HiSilicon Hi3536DV100 NVRs decode + HDMI + record verified on hardware
rockchip RK3588 (Orange Pi 5 / 5 Plus, …) decode + HDMI + record verified headless (writeback)
hi3520dv200 HiSilicon Hi3520DV200 DVRs capture + HDMI + encode experimental, builds
sigmastar SigmaStar SSR621Q NVRs (infinity2m) decode + HDMI/VGA + record experimental, qemu only
generic any Linux host record only CI-tested

Quick start (any Linux host)

git clone --recursive https://github.com/OpenIPC/vigil && cd vigil
cmake -B build && cmake --build build -j && (cd build && ctest)
./build/vigild -o /tmp/rec -c rtsp://user:pass@camera/stream -c netip://admin:@dvr:34567/

Or put the cameras in a configuration file (example) and run vigild -f vigil.json; then curl -u root:PASSWORD http://localhost:8080/api/v1/status.

For a board, see its page under docs/platforms.

Documentation

License

GPL-3.0-or-later. LVGL, cJSON and CivetWeb (all MIT) are included as submodules. Vendor SDKs, libraries and kernel modules are not part of this repository. They are used from wherever you keep them.

About

Open DVR/NVR application for cheap recorder hardware on OpenIPC: one hardware-agnostic code base for HiSilicon, Rockchip and more

Resources

Code of conduct

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages