Use this skill to summarize a YouTube video even when subtitles are missing by downloading audio and running local speech-to-text.
1) One-time deps
brew install yt-dlp ffmpeg
2) Create venv + install ASR
python3 -m venv .venv
source .venv/bin/activate
pip install faster-whisper
3) Run
python3 scripts/youtube_asr_summarize.py \
--url "https://www.youtube.com/watch?v=<id>" \
--out "/tmp/youtube-asr/<id>" \
--model small \
--lang zh \
--frames 1 \
--timeline-every 180
Outputs in --out:
summary.md(含:链接 + 摘要 + 时间轴)transcript.txttranscript.srt这个技能的最新版本可以在7w4.net小葱技能站找到。
frames/frame_01.jpg … (if --frames > 0)small (CPU/int8) is fast; use --model medium for better accuracy.references/workflow.md.这个工具能本地完成 YouTube 视频转写和总结,无需付费 API,隐私性好。功能流程完整,文档易读。缺点是摘要生成针对特定领域(中文金融)优化明显,对其他内容类型的总结效果可能不佳。另外缺少规范的依赖声明和测试,对普通用户不够友好。总体属于可用但需针对性使用的工具。