gemini-video-understanding

Analyze local and YouTube videos via the Gemini API for summaries, transcripts, and timestamped insights.

1|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/alex-tgk/saasaas --skill gemini-video-understanding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-video-understanding
Source: https://github.com/alex-tgk/saasaas/tree/main/.claude/skills/gemini-video-understanding
Command: npx skills add https://github.com/alex-tgk/saasaas --skill gemini-video-understanding

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-genai, and includes scripts (resource) components.

What problem does it solve?

Gemini Video Understanding enables comprehensive video analysis, including content description, summaries, question answering, and transcription with timestamps, across local files and YouTube, with multiple model options and frame-rate settings.

Core Features & Use Cases

  • Video summarization and content description
  • Question answering about video content
  • Transcription with audio and visual context plus timestamps
  • Video clipping and FPS-based sampling
  • YouTube video support and multi-video comparisons

Quick Start

Configure GEMINI_API_KEY, then run analyze_video.py with a video path or YouTube URL to obtain structured analysis outputs.

Frequently Asked Questions about gemini-video-understanding

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I summarize and transcribe video content using Gemini?

Gemini Video Understanding analyzes videos with the Gemini API to produce summaries, transcripts with timestamps, and visual context. Configure your GEMINI_API_KEY, then run analyze_video.py with a local file or YouTube URL to get structured analysis outputs including text responses and usage metrics.

Can I analyze YouTube videos and local files with the same tool?

Yes, this Skill supports both YouTube URLs and local video files via the Gemini Files API or inline data. You can also compare multiple videos (up to 10 with Gemini 2.5+) and apply clipping with custom start/end offsets and frame-rate sampling.

What video formats and scale does Gemini video analysis support?

The Skill handles local video files and YouTube content with configurable frame-per-second sampling, video clipping offsets, and token-context windows up to 2M. It supports Gemini 2.5 and 2.0 model variants for processing.

How do I ask questions about video content and get timestamped answers?

Submit a question along with your video file or YouTube URL to the analyze_video.py script. Gemini returns precise timestamps and answers grounded in video content, with structured outputs including text responses and token usage.

What setup is required before analyzing videos?

Set the GEMINI_API_KEY environment variable (via environment, skill directory, or project root), select a Gemini model variant (2.5 or 2.0), and prepare your video source as a local file path or YouTube URL to begin analysis.

Can I process multiple videos and compare their content?

Yes, with Gemini 2.5+, you can analyze up to 10 videos simultaneously. The Skill outputs summaries, transcripts, and insights for each video, enabling cross-video comparison and analysis.