← 返回 Skills 市场
Video Analyzer
作者
JeremyCooper2077
· GitHub ↗
· v1.0.0
· MIT-0
38
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install jc-video-analyzer
功能描述
Parse local video files into transcript and AI analysis. Extract audio, transcribe with faster-whisper, analyze with AI.
使用说明 (SKILL.md)
Video Analyzer
本地视频文件解析管线:提取音频 → 语音转文字 → AI 深度分析。
前置条件
- ffmpeg — 系统 PATH 中可用
- faster-whisper —
pip install faster-whisper - HF 模型下载 — 国内需设
HF_ENDPOINT=https://hf-mirror.com - 中转站 API — 从
openclaw.json读取SU2_API_KEY
工作流程
视频文件 → ffmpeg提取音频(16kHz WAV) → faster-whisper转写 → AI修正+分析
Step 1: 检查视频信息
ffprobe -v quiet -print_format json -show_format -show_streams \x3Cvideo.mp4>
Step 2: 提取音频
ffmpeg -i \x3Cvideo.mp4> -vn -acodec pcm_s16le -ar 16000 -ac 1 audio_16k.wav -y
Step 3: 转写(用脚本)
# Windows
$env:HF_ENDPOINT='https://hf-mirror.com'
python scripts/transcribe.py \x3Caudio.wav> \x3Coutput.txt>
# Linux/macOS
HF_ENDPOINT=https://hf-mirror.com python scripts/transcribe.py \x3Caudio.wav> \x3Coutput.txt>
参数:python scripts/transcribe.py \x3Caudio.wav> \x3Coutput.txt> [model=tiny] [language=zh]
Step 4: AI 分析(用脚本)
node scripts/analyze.js \x3Ctranscript.txt> \x3Coutput.md>
分析内容:修正转写稿 + 核心观点 + 结构化对比 + 启示总结。
可选:提取关键帧
ffmpeg -i \x3Cvideo.mp4> -vf "fps=1/60,scale=640:-1" frame_%03d.jpg -y
输出
audio_16k.wav— 提取的音频transcript.txt— 带时间戳的原始转写transcript_corrected.md— AI 修正后文字稿analysis.md— AI 分析报告frame_*.jpg— 关键帧(可选)
注意事项 / 踩坑记录
- tiny 模型识别率一般,专业术语会有同音错误,依赖 AI 修正。可换
base或small提升质量。 - python3 — Windows 上可能指向 Windows Store 别名,用
python代替。 - HF_ENDPOINT — 国内必须设
hf-mirror.com,否则模型下载极慢或失败。 - 中转站 502 — 偶尔出现,重试即可。也可换其他模型。
- 编码 — Python 输出时设
PYTHONIOENCODING=utf-8。
安全使用建议
Install only if you are comfortable using the configured AI relay for transcript analysis. Review or redact transcripts before running scripts/analyze.js on private, business, regulated, or confidential videos, and run ffmpeg examples in a dedicated output directory to avoid overwriting files.
能力标签
能力评估
Purpose & Capability
The artifacts match the stated purpose: ffmpeg audio extraction instructions, local faster-whisper transcription, and AI-based transcript correction and analysis.
Instruction Scope
The remote AI analysis is manually invoked on a user-supplied transcript and output path, but the documentation could state more plainly that the transcript is sent to the configured API endpoint.
Install Mechanism
The package contains a SKILL.md and two helper scripts only; there are no install hooks, background workers, lifecycle scripts, or automatic execution paths.
Credentials
Reading an existing SU2_API_KEY from OpenClaw config and using network access is proportionate for AI analysis, but transcripts can contain sensitive content.
Persistence & Privilege
No persistence, privilege escalation, broad local indexing, credential storage, destructive automation, or hidden behavior was found; files are read and written only through explicit command arguments.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install jc-video-analyzer - 安装完成后,直接呼叫该 Skill 的名称或使用
/jc-video-analyzer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: 本地视频解析与AI总结工具
元数据
常见问题
Video Analyzer 是什么?
Parse local video files into transcript and AI analysis. Extract audio, transcribe with faster-whisper, analyze with AI. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 38 次。
如何安装 Video Analyzer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install jc-video-analyzer」即可一键安装,无需额外配置。
Video Analyzer 是免费的吗?
是的,Video Analyzer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Video Analyzer 支持哪些平台?
Video Analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Video Analyzer?
由 JeremyCooper2077(@jeremycooper2077)开发并维护,当前版本 v1.0.0。
推荐 Skills