video-analyzer

v0.1.2
io.github.BrightWayAI/video-analyzer Checked 2 days ago Published 9 months ago

Analyze videos: extract frames, transcribe audio, generate storyboard breakdowns.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

video_analyze

Run the full video analysis pipeline: download, extract frames, transcribe audio, analyze visuals with Claude, generate stylistic fingerprint, and produce a storyboard breakdown document. Returns the path to the generated output file and a summary of the analysis including metadata, stylistic fingerprint, and shot count. Requires: FFmpeg, ANTHROPIC_API_KEY env var. Processing time depends on video length (typically 1-5 minutes).

ParameterTypeDescription
params *

video_extract_frames

Extract representative frames from a video using scene detection or fixed intervals. Uses PySceneDetect with ContentDetector and AdaptiveDetector to find scene boundaries, then extracts the middle frame of each scene. Falls back to 3-second intervals if no scenes are detected. Returns a list of extracted shots with frame paths and timestamps.

ParameterTypeDescription
params *

video_transcribe

Transcribe the audio track of a video using OpenAI Whisper. Returns timestamped transcript segments with inferred speaker labels (NARRATOR, TEACHER, CHILD, SPEAKER). Supports multiple Whisper model sizes trading off speed vs accuracy. The 'base' model is fastest; 'large' is most accurate but slower.

ParameterTypeDescription
params *

video_fingerprint

Generate a Stylistic Fingerprint (v3) for a video. Performs frame extraction, transcription, and visual analysis, then runs the deterministic fingerprint classifier to produce 8 classification fields: 1. Rendering Class (e.g., Stylized 3D, Flat 2D, Mixed Media) 2. World Type (e.g., Stylized Real-World, Abstract Concept Space) 3. Character Strategy (e.g., Mascot-Led, Single Narrator, Ensemble Cast) 4. Narrative Structure (e.g., Direct Explanation, Problem-Solution) 5. Visual Abstraction Index (1-5 scale, Photorealistic to Maximum Abstraction) 6. Visual Density…

ParameterTypeDescription
params *

video_check_deps

Check if all required dependencies (FFmpeg, Whisper, etc.) are installed. Returns a list of any missing dependencies with installation instructions. Use this before running other video analysis tools.