analyze-video
Installation
SKILL.md
Skill: Analyze Video
Add visual descriptions to audio transcripts by extracting JPG frames with ffmpeg and analyzing them. Never read video files directly - extract frames first.
Prerequisites
Videos must have audio transcripts. Run transcribe-audio skill first if needed.
Workflow
1. Copy & Clean Audio Transcript
Don't read the audio transcript, just copy it and then prepare it by using the prepare_visual_script.rb file. This removes word-level timing data and prettifies the JSON for easier editing:
cp libraries/[library]/transcripts/video.json libraries/[library]/transcripts/visual_video.json
ruby .claude/skills/analyze-video/prepare_visual_script.rb libraries/[library]/transcripts/visual_video.json