cang¶
cang is a lightweight NVR (network video recorder) that watches camera recording folders, transcodes footage to H.264/MP4, and serves it through a FastAPI web UI.
Features¶
- Dahua camera adapter — reads
.davfootage directly from the camera's folder structure - Watchdog-based file monitoring — picks up new recordings without polling
- ffmpeg transcoding pipeline — re-encodes
.davto H.264/MP4 withfaststart - FastAPI web UI — browse recordings by day with thumbnail previews
- Periodic re-scan — catches any files missed during downtime