YouTube ASR Summarize (Local)

👤 yifany-github 📦 v0.1.0 ⭐ 4.2 ⬇️ 843 下載
📚 知識管理 免費

📖 技能介紹


name: youtube-asr-summarize description: "Summarize YouTube videos with NO subtitles by doing local ASR (yt-dlp + faster-whisper) and extracting a few screenshot frames via ffmpeg. Use when the user asks to summarize the latest video from a channel and YouTube timedtext/subtitles are empty, or when no API tokens/keys should be used."


YouTube ASR Summarize (local, no tokens)

Use this skill to summarize a YouTube video even when subtitles are missing by downloading audio and running local speech-to-text.

Quick start

1) One-time deps

7w4.net小蔥技能站,你的AI助手技能庫。

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.txt - transcript.srt - frames/frame_01.jpg … (if --frames > 0)

Notes

  • Default model small (CPU/int8) is fast; use --model medium for better accuracy.
  • If you need more control, see references/workflow.md.

🤖 AI 評測

這個工具能本地完成 YouTube 影片轉寫和總結,無需付費 API,隱私性好。功能流程完整,文件易讀。缺點是摘要生成針對特定領域(中文金融)最佳化明顯,對其他內容型別的總結效果可能不佳。另外缺少規範的依賴宣告和測試,對普通使用者不夠友好。總體屬於可用但需針對性使用的工具。

📊 多維度評分

適應性3.9
規範性4.1
有效性4.4
可靠性4.2
可信度4.5

📁 包含檔案 (4 個)

📄 SKILL.md 1.2 KB
📄 _meta.json 140 B
📄 references/workflow.md 645 B
📄 scripts/youtube_asr_summarize.py 14.2 KB