agentsclimarketplace

Ai video understanding

Skill ai-enhanced-engineer/aiee-skills/skills/ai-video-understanding

Multimodal AI patterns for extracting structured information from video using Gemini, GPT-4o, and Claude vision. Frame sampling strategies, structured output with Pydantic, temporal reasoning, and cost optimization. Use for video analysis, report generation from video, and visual inspection.From its SKILL.md

Install
npx -y skills add ai-enhanced-engineer/aiee-skills --skill ai-video-understanding

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.1 KB, as published. Nobody here has run it

AI Video Understanding

Use this skill when building pipelines that extract structured information from video using multimodal LLMs, or when choosing between native video input (Gemini) and frame-based approaches (GPT-4o, Claude).

Model Comparison

ModelVideo InputMax Duration/ImagesInput $/1M tokensBest For
Gemini 2.5 ProNative1 hour, 10 videos$4.00Long-form, temporal reasoning, cached Q&A
Gemini 2.5 FlashNativeSimilar to Pro~$0.50High-volume, cost-sensitive
GPT-4oFrame-basedHundreds of frames$2.50Structured extraction, schema adherence
Claude Sonnet 4.6Frame-based600 images/request$3.00High frame-count, multi-turn analysis

Frame Sampling Quick Reference

Task TypeRecommended FPSAccuracy
General overview0.5-1 FPS~85%
Action detection2-4 FPS~95%
Fine-grained motion8-16 FPS~98%+
Long-form (budget)Grid: 48 frames/image~70-80%

Cost Optimization

  • Enable Gemini context caching for multi-query workflows (90% discount on cached tokens)
  • Use video-to-grid (48 frames in one image) for single-call analysis at ~$0.01/video
  • Resize frames to 1024x1024 for optimal quality/cost balance
  • Apply transcript-first pattern: cheap audio analysis, then selective visual only where needed
  • Use multi-pass: sparse low-res scan first, then dense high-res on flagged segments only

See reference.md for detailed patterns and architecture decisions. See examples.md for production code examples.

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.