camsnap

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

camsnap

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.
使用
camsnap
从已配置的摄像头中抓取快照、视频片段或检测运动事件。
设置步骤
  • 配置文件:
    ~/.config/camsnap/config.yaml
  • 添加摄像头:
    camsnap add --name kitchen --host 192.168.0.10 --user user --pass pass
常用命令
  • 发现设备:
    camsnap discover --info
  • 拍摄快照:
    camsnap snap kitchen --out shot.jpg
  • 录制片段:
    camsnap clip kitchen --dur 5s --out clip.mp4
  • 运动监测:
    camsnap watch kitchen --threshold 0.2 --action '...'
  • 诊断工具:
    camsnap doctor --probe
注意事项
  • 系统PATH中需要安装
    ffmpeg
  • 在录制较长片段前,建议先进行短时间测试录制。