π¦ ClawHub
Video Analyzer
by @zedit42
Download videos, extract transcripts, capture frames. Analyze YouTube, tutorials, DD videos with yt-dlp + Whisper + ffmpeg.
TERMINAL
clawhub install videoanalyzerπ About This Skill
name: video-watcher description: Download videos, extract transcripts, capture frames. Analyze YouTube, tutorials, DD videos with yt-dlp + Whisper + ffmpeg. metadata: {"clawdbot":{"requires":{"bins":["yt-dlp","ffmpeg","whisper"]}}}
Video Watcher
Download, transcribe, and screenshot videos for analysis.
Requirements
brew install yt-dlp ffmpeg openai-whisper
Quick Start
./scripts/analyze.sh "https://youtube.com/watch?v=..."
Output
outputs/
βββ video.mp4 # Downloaded video
βββ audio.mp3 # Extracted audio
βββ transcript.txt # Plain text
βββ transcript.srt # Subtitles
βββ frames/ # Screenshots every 30s
Commands
Analyze video
./scripts/analyze.sh "URL" [output-dir] [frame-interval] [whisper-model]
Summarize transcript
./scripts/summarize.sh ./outputs/transcript.txt
Or with AI:
cat outputs/transcript.txt | clawdbot ask "Summarize this"
Config
config.json:
{
"whisper_model": "medium",
"frame_interval": 30,
"output_dir": "./outputs"
}
Use Cases
β‘ When to Use
π‘ Examples
./scripts/analyze.sh "https://youtube.com/watch?v=..."
βοΈ Configuration
config.json:
{
"whisper_model": "medium",
"frame_interval": 30,
"output_dir": "./outputs"
}