camsnap

TotalClaw 作者 totalclaw

从 RTSP/ONVIF 摄像机捕获帧或剪辑。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~steipete-camsnap
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~steipete-camsnap/file -o steipete-camsnap.md
## 概述(中文)

从 RTSP/ONVIF 摄像机捕获帧或剪辑。

## 原文

# camsnap

Use `camsnap` to grab snapshots, clips, or motion events from configured cameras.

Setup
- Config file: `~/.config/camsnap/config.yaml`
- Add camera: `camsnap add --name kitchen --host 192.168.0.10 --user user --pass pass`

Common commands
- Discover: `camsnap discover --info`
- Snapshot: `camsnap snap kitchen --out shot.jpg`
- Clip: `camsnap clip kitchen --dur 5s --out clip.mp4`
- Motion watch: `camsnap watch kitchen --threshold 0.2 --action '...'`
- Doctor: `camsnap doctor --probe`

Notes
- Requires `ffmpeg` on PATH.
- Prefer a short test capture before longer clips.