录制
Securex NVR 可根据连续录像、事件和保留策略管理视频。
设计建议
- 主码流用于录像。
- 录像盘与系统盘尽量分离。
- 根据码率、摄像头数量和保留天数计算容量。
- NAS 作为录像目标时,必须持续监控挂载状态。
容量估算
粗略公式:容量 ≈ 总码率 × 86400 × 天数 ÷ 8。例如总码率 40 Mbps,连续 7 天约需要 3 TB 左右的原始空间,实际还应预留文件系统与波动余量。
状态检查
在 Supervision 或系统状态页面确认录像进程、磁盘空间、文件写入和摄像头错误日志。
Recording
Recording stores camera media independently from object detection. Use the high-quality main stream for recording and size storage from real bitrate, camera count, and retention.
Basic example
record:
enabled: true
retain:
days: 7
mode: allDesign
- Use a high-quality main stream for record and a lighter substream for detect.
- Keep the recording disk separate from the system disk when possible.
- For NAS targets, monitor mount health and write latency.
Capacity
Approximate raw capacity from total bitrate × 86,400 × days ÷ 8. Add filesystem and bitrate headroom.
Verification
- Check the camera has an input with the record role.
- Confirm new segments are written while the camera is active.
- Open a Review event and verify playback across the expected time range.
- Monitor free space and retention cleanup.
Troubleshooting
- Detection works but no recording: record role or record.enabled is missing.
- Gaps: source reconnects, timestamps, storage stalls, or host clock issues.
- Playback fails while files exist: check database/index and media-serving permissions.
Grabación
La grabación guarda vídeo de forma independiente de la detección. Use el stream principal de alta calidad y dimensione el disco según bitrate, cámaras y retención.
Ejemplo
record:
enabled: true
retain:
days: 7
mode: allDiseño
- Stream principal para record y substream ligero para detect.
- Separe disco de grabación y sistema cuando sea posible.
- En NAS supervise montaje y latencia de escritura.
Capacidad
Aproxime con bitrate total × 86.400 × días ÷ 8 y añada margen.
Verificación
- Compruebe role record.
- Compruebe nuevos segmentos.
- Abra un evento Review y reproduzca.
- Revise espacio libre y limpieza.
Problemas
- Detección sí, grabación no: falta role record o enabled.
- Huecos: reconexiones, timestamps, almacenamiento o reloj.
- Archivos existen pero playback falla: BD/índice/permisos.
