camsnap
bởi steipete
CLI UtilitiesTóm tắt
Capture frames or clips from RTSP/ONVIF cameras.
Mô tả
Kỹ năng này làm gì
camsnap is a CLI tool for capturing snapshots, short clips, and motion events from RTSP/ONVIF cameras. Cameras are configured in a YAML file and accessed by name in commands.
Captures from RTSP/ONVIF cameras directly from the CLI without requiring a full NVR setup or web-based camera management interface.
Khi nào nên dùng
- Grabbing a timestamped snapshot from a security camera
- Recording a short clip from a doorbell or entry camera
- Discovering all ONVIF cameras on a local network
- Automating motion-triggered captures with custom shell actions
- Diagnosing camera connectivity with a built-in probe check
Quy trình ví dụ
User asks: Record a 5-second clip from the kitchen camera
- 1
Runs
camsnap doctor --probeto confirm camera is reachable - 2
Runs
camsnap clip kitchen --dur 5s --out clip.mp4to capture the clip - 3
Confirms the output file exists at the specified path
clip.mp4 saved with 5 seconds of footage from the kitchen camera
Yêu cầu
- ffmpeg installed and available on PATH
Cài đặt
clawhub install steipete/camsnapChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.