返回顶部
c

camera

Capture photos from MacBook webcams. Use when user asks to take a photo, picture, snapshot, or see them. Two cameras available - Brio (front-facing on monitor) and FaceTime (side angle from MacBook).

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,789
下载量
0
收藏
概述
安装方式
版本历史

camera

# Camera Skill ## Available Cameras | Camera | Index | Position | Best For | |--------|-------|----------|----------| | **Brio 100** | 0 | On external monitor, facing user directly | Front view, face shots | | **FaceTime HD** | 1 | MacBook on right side, angled toward user | Side/profile view | ## Capture Commands Use `-loglevel error` to suppress ffmpeg spam. Always warm up for 5s (camera needs exposure adjustment). ### Brio (front view) ```bash ffmpeg -loglevel error -f avfoundation -framerate 30 -i "0" -t 5 -y /tmp/brio_warmup.mp4 && \ ffmpeg -loglevel error -sseof -0.5 -i /tmp/brio_warmup.mp4 -frames:v 1 -update 1 -y /tmp/brio.jpg ``` ### FaceTime (side view) **Must use `-pixel_format nv12`** to avoid buffer errors. ```bash ffmpeg -loglevel error -f avfoundation -pixel_format nv12 -framerate 30 -i "1" -t 5 -y /tmp/facetime_warmup.mp4 && \ ffmpeg -loglevel error -sseof -0.5 -i /tmp/facetime_warmup.mp4 -frames:v 1 -update 1 -y /tmp/facetime.jpg ``` ### Both cameras (parallel) Run both commands simultaneously for multi-angle shots. ## Output - Photos saved to `/tmp/brio.jpg` and `/tmp/facetime.jpg` - Warmup videos in `/tmp/*_warmup.mp4` (can be deleted) - Photos are ~80-100KB each ## Gotchas - Close Photo Booth or other camera apps first (can conflict) - FaceTime camera REQUIRES `-pixel_format nv12` or it fails with buffer errors - 5s warmup is necessary for proper exposure

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 camera-1776419963 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 camera-1776419963 技能

通过命令行安装

skillhub install camera-1776419963

下载 Zip 包

⬇ 下载 camera v1.0.0

文件大小: 1.34 KB | 发布时间: 2026-4-17 18:47

v1.0.0 最新 2026-4-17 18:47
- Initial release: capture photos from MacBook webcams using ffmpeg.
- Supports two cameras: Brio (front-facing) and FaceTime HD (side-angle).
- Provides tested commands for single or simultaneous (multi-angle) photo capture with 5s warm-up.
- Output photos are saved to /tmp as .jpg files; warmup videos can be deleted.
- Documents known issues, such as requiring -pixel_format nv12 for FaceTime, and avoiding conflicts with other camera apps.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部