There is currently no simple, affordable, and reliable system that allows continuous, long-term indoor video recording (6–12 months) with the following properties:
- Full 24/7 recording without gaps
- Local-only operation (no cloud, no external connectivity)
- User-controlled storage
- Simple deployment (plug-and-play)
- Low cost
- Basic integrity guarantees (for medico-legal use)
Existing solutions typically fail on one or more of these requirements:
- Cloud dependence (privacy issues)
- Limited storage (SD cards, short retention)
- Closed ecosystems (camera lock-in)
- Lack of data integrity guarantees
- Poor long-term reliability or configurability
The core challenge is not capturing video, but storing continuous streams reliably and affordably over long durations, while maintaining privacy and trustworthiness.
The system must satisfy:
- Continuous video recording (no motion-triggered gaps)
- Audio support
- Segmentation into fixed-duration files (e.g. 1h or 4h)
- Multi-camera support (2–3 cameras max)
- No cloud or external network dependency
- Long retention (months)
- Silent operation (indoor use)
- Low cost (<100€ for the device, excluding camera and storage)
- Minimal configuration
- Resilience to power loss
- Disk write robustness
- System restart recovery
- Logging of all events
- Timestamped recordings
- Hash per segment
- Hash chaining across segments
- Append-only logs
Examples: Reolink, Hikvision, Dahua
-
Pros:
- Continuous recording
- Local storage
- Relatively low cost
-
Limitations:
- Often tied to specific camera ecosystems
- Limited configurability (bitrate, FPS, pipeline control)
- No cryptographic integrity guarantees
- Poor export and verification workflows
Example: Ubiquiti UniFi Protect
-
Pros:
- High reliability
- Good UX
- Local-first
-
Limitations:
- Closed ecosystem (camera lock-in)
- Hardware lock-in (NVR required)
- No BYOD flexibility
- No integrity model
Examples: Frigate, Shinobi, ZoneMinder
-
Pros:
- Flexible
- Camera-agnostic
- Local storage
-
Limitations:
- Not plug-and-play
- Complex setup
- No integrated hardware solution
- Weak or absent integrity model
No existing solution combines:
- Simplicity (plug-and-play)
- Openness (camera/storage flexibility)
- Privacy (no cloud)
- Long retention
- Integrity guarantees
A local recording appliance (“black box”) that:
- Records continuously from one or more cameras
- Stores data locally for months
- Does not depend on external services
- Provides minimal integrity guarantees
To reduce cost and maximize flexibility:
- Camera (IP camera with RTSP)
- Storage (2.5" SATA HDD/SSD)
- Recording engine
- Storage management
- Integrity layer
- Local access interface
- Avoids bundling expensive components
- Allows user choice (camera quality, disk size)
- Simplifies product design
- Keeps cost <100€
IP Camera (RTSP)
↓
Stream ingestion (no re-encoding)
↓
Segmentation (1h / 4h files)
↓
Disk write (continuous)
↓
Hash + chain + log
- Use camera’s native H.264/H.265 stream
- Reduces CPU usage
- Improves reliability
- Configure camera:
- 5–10 FPS
- H.265
- ~0.5–1 Mbit/s
- Enables 6–12 months storage
- Raspberry Pi 4 (4GB) or CM4 equivalent
- Internal 2.5" SATA bay
- SATA via:
- USB bridge (prototype)
- PCIe (production)
- Gigabit Ethernet (mandatory)
- Wi-Fi optional or disabled
- RTC (battery-backed clock)
- Power management (12V input → 5V regulation)
- Optional supercapacitor (graceful shutdown)
- Watchdog
- 2–3 status LEDs
- Small, fanless enclosure (~12×12×4 cm)
- Silent operation
- Internal disk bay
- Minimal external interface:
- Ethernet
- Power
- Optional service USB
- RTSP client (e.g. FFmpeg / GStreamer)
- Handles video + audio
- Fixed duration files (e.g. 1 hour)
- Continuous rolling write
- Disk space tracking
- Circular buffer (overwrite oldest data)
For each segment:
- SHA-256 hash
- Chain with previous segment
Example:
{
"file": "video_2026-03-20_10.mp4",
"hash": "...",
"prev_hash": "...",
"start": "...",
"end": "..."
}Append-only log:
- system boot
- camera connection
- segment creation
- disk errors
- shutdown
- Short segments (≤1h)
- Regular disk flush
- Optional supercap for clean shutdown
- ext4 filesystem
- SMART monitoring
- write error detection
- auto-restart on boot
- resume recording automatically
- No cloud services
- No external API calls
- No telemetry
- No automatic updates
-
Isolated mode (recommended)
- No gateway
- Local-only network
-
Home network mode
- LAN access only
- outbound blocked via firewall
With proper configuration:
| Cameras | Duration | Disk size |
|---|---|---|
| 1 | 12 months | ~4–8 TB |
| 2 | 6–12 months | ~8–16 TB |
- Not certified for legal use (but structurally robust)
- Limited to few cameras (2–3 typical)
- No redundancy (single disk)
- Requires compatible RTSP cameras
- No advanced analytics (AI, detection)
This system fills a clear gap between:
- consumer surveillance products (closed, cloud-based)
- professional systems (expensive, complex)
By combining:
- local-only operation
- BYOD flexibility
- continuous recording
- basic integrity guarantees
it enables a simple, affordable, and privacy-preserving long-term recording solution suitable for sensitive environments.