# video-analyzer

> Transform raw video files into structured JSON and Markdown reports with local character detection and transcription.

video-analyzer is a free AI agent skill on Agensi by Assistente Malpagato, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Assistente Malpagato](https://www.agensi.io/creators/nicola-de-angelis)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Uses: 12
- Version: 1.1
- Last updated: 2026-06-25
- Security: scan passed (2026-06-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/video-analyzer
- Tags: ai-agents, video-analysis, computer-vision, whisper-speech-to-text, ffmpeg, multimodal

## About this skill

Video Analyzer - Claude Skill Documentation

    video-analyzer (Claude Skill)

> Converts video files into structured Markdown and JSON reports using local preprocessing and Claude Vision.

This Claude Skill acts as a bridge for LLM environments (such as Claude Projects) that do not natively support direct video uploads. It extracts audio transcripts, identifies key visual transitions, groups frames by color composition, and structures this data into AI-friendly and human-readable formats.

---

### Architectural Overview

The skill operates through a decoupled multi-stage pipeline designed to minimize API token usage while capturing critical structural and textual details:

- **Input Video Processing:** The source file is ingested by the preprocessor script to decouple audio and visual data.

- **Audio Analysis:** The extracted track is converted and transcribed locally using a high-efficiency Whisper engine.

- **Frame Selection:** Visual frames are extracted at a scaled resolution and clustered based on color metrics to remove redundancy.

- **Multimodal Synthesis:** Claude Vision analyzes the optimized frame selection to track character data and visual state.

- **Report Generation:** A final compilation stage bundles metadata, timestamps, transcriptions, and visual observations into unified JSON and Markdown outputs.

---

### Technical Specifications & Pipeline Stages

#### Stage 1: Extraction & Preprocessing (`process_video.py`)

The pipeline begins by isolating the audio track and extracting downscaled video frames.

- **Frame Extraction:** Frames are extracted at a configurable rate (default: 0.5 fps, or one frame every 2 seconds) and capped at a maximum count (default: 30 frames) to keep processing efficient.

- **Resolution Scaling:** Frames are scaled so that their longest edge is at most 1568px while preserving the original aspect ratio. This keeps the visual token budget predictable (approximately 1,400 tokens per frame).

- **Audio Extraction & Transcription:** The audio track is resampled to mono 16kHz. It is then transcribed locally using OpenAI Whisper (defaulting to the highly efficient `large-v3-turbo` model). The engine supports both

## Requires

- Python

## Known limitations

- Limited to 60 frames max for analysis.
- Requires local ffmpeg and whisper installations.
- No real-time streaming support.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the video-analyzer skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What specific problem does the Video Analyzer skill solve?

This skill processes video files locally to create structured JSON and Markdown reports containing full transcripts, character detection, and event timelines, making video content searchable and readable for LLMs.

### Does this skill require an internet connection or send my video data to the cloud?

No, all analysis is performed locally using subprocesses like ffmpeg and OpenCV, ensuring your video data remains private and is never sent to external servers during the processing phase.

### Which AI agents and frameworks are compatible with Video Analyzer?

The skill is compatible with any AI agent or framework that supports local tool execution and can ingest Markdown or JSON data, such as Autogen, LangChain, or custom-built LLM workflows.

### Are there any specific technical prerequisites for using this skill?

You will need 'ffmpeg' and 'opencv-python' installed on your system; the skill handles the heavy lifting of integrating these tools with Whisper for seamless speech-to-text and visual analysis.

### What is included with my purchase of the Video Analyzer skill?

You receive the complete skill source code, integration documentation, and a lifetime license for the current version, including any minor patches or bug fixes released for this version.

### What video file formats can this skill process?

The skill supports all major video containers including .mp4, .mov, .avi, .mkv, and .webm, allowing it to handle diverse media assets from mobile recordings to professional exports.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
