fortytwode

Meta Video Ad Analyzer

Design & Mediav1.0.0
By fortytwodeUpdated 2026-05-11meta-video-ad-analyzer@clawhub_fortytwode/meta-video-ad-analyzer
Image EditingVideo#OCR#Transcription#Audio

According to AlphaMoat, as of 2026-09, Meta Video Ad Analyzer has 2,485 downloads and 1 stars — ranked #4,112 of 5,078 AI skills overall, and #400 of 512 in Design & Media.

Installs
104
Downloads
2.5K
Stars
1
Overall Rank
#4,112
Top 81% overall · Top 79% in Design & Media
PlatformInstallsDownloadsStarsComments
ClawHub ↗742.3K1-
SkillHub ↗1042.5K1—

Platforms count differently and update at different times.

What this skill does

The guide describes extracting frames, visible text, speech transcripts, scene descriptions, and thumbnails from video or image files, and using Google Gemini Vision for scene analysis. It depends on local media tools and may send media to Google AI services. OCR and transcription may be incomplete or incorrect, so confirm processing authorization and review outputs before use.

Profile published 2026-10-29

What you can do with it

  • Generate scene-by-scene descriptions of a video ad.
  • Extract visible text overlays or speech transcripts.
  • Check thumbnails and extraction results for completeness.

When to use it

  • When summarizing visual and spoken content in video or image ads.
  • Before submitting media to an external AI service, when authorization and data-processing requirements need confirmation.
  • Before making business decisions based on OCR, transcription, or scene analysis, when human review is needed.

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Summarize each scene in this authorized video and separate recognized text from inferred descriptions.
List parts of this transcript and OCR output that need human review.

Monthly Trend

Downloads2.5K
1.6K2.1K2.6K2026-03 · Downloads 1.7K2026-05 · Downloads 1.9K2026-06 · Downloads 2.0K2026-07 · Downloads 2.1K2026-08 · Downloads 2.3K2026-09 · Downloads 2.5K26-0326-09
Stars1
0122026-03 · Stars 12026-05 · Stars 12026-06 · Stars 12026-07 · Stars 12026-08 · Stars 12026-09 · Stars 126-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.5K—1
2026-082.3K+5.0%1
2026-072.1K+8.7%1
2026-062.0K+4.4%1
2026-051.9K—1
2026-031.7K—1

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.6 KB · ClawHub v1.0.0
---
name: video-ad-analyzer
version: 1.0.0
description: Extract and analyze content from video ads using Gemini Vision AI. Supports frame extraction, OCR text detection, audio transcription, and AI-powered scene analysis. Use when analyzing video creative content, extracting text overlays, or generating scene-by-scene descriptions.
---

# Video Ad Analyzer

AI-powered video content extraction using Google Gemini Vision.
Show all (127 lines)
## What This Skill Does

- **Frame Extraction**: Smart sampling with scene change detection
- **OCR Text Detection**: Extract text overlays using EasyOCR
- **Audio Transcription**: Convert speech to text with Google Cloud Speech
- **AI Scene Analysis**: Describe each scene using Gemini Vision
- **Native Video Analysis**: Direct video understanding for longer content
- **Thumbnail Generation**: Auto-generate thumbnails from first frame

## Setup

### 1. Environment Variables

```bash
# Required for Gemini Vision
GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json

# Required for audio transcription
# (same service account needs Speech-to-Text API enabled)
```

### 2. Dependencies

```bash
pip install opencv-python pillow easyocr ffmpeg-python google-cloud-speech vertexai google-api-python-client
```

Also requires `ffmpeg` and `ffprobe` installed on system.

## Usage

### Basic Video Analysis

```python
from scripts.video_extractor import VideoExtractor
from scripts.models import ExtractedVideoContent
import vertexai
from vertexai.generative_models import GenerativeModel

# Initialize Vertex AI
vertexai.init(project="your-project-id", location="us-central1")
gemini_model = GenerativeModel("gemini-1.5-flash")

# Create extractor
extractor = VideoExtractor(gemini_model=gemini_model)

# Analyze video
result = extractor.extract_content("/path/to/video.mp4")

print(f"Duration: {result.duration}s")
print(f"Scenes: {len(result.scene_timeline)}")
print(f"Text overlays: {len(result.text_timeline)}")
print(f"Transcript: {result.transcript[:200]}...")
```

### Extract Only Frames

```python
frames, timestamps, text_timeline, scene_timeline, thumbnail = extractor.extract_smart_frames(
    "/path/to/video.mp4",
    scene_interval=2,    # Check for scene changes every 2s
    text_interval=0.5    # Check for text every 0.5s
)
```

### Analyze Images

```python
# Works with images too
result = extractor.extract_content("/path/to/image.jpg")
print(result.scene_timeline[0]['description'])
```

## Output Structure

```python
ExtractedVideoContent(
    video_path="/path/to/video.mp4",
    duration=30.5,
    transcript="Here's what we found...",
    text_timeline=[
        {"at": 0.0, "text": ["Download Now"]},
        {"at": 5.5, "text": ["50% Off Today"]}
    ],
    scene_timeline=[
        {"timestamp": 0.0, "description": "Woman using phone app..."},
        {"timestamp": 2.0, "description": "Product showcase with features..."}
    ],
    thumbnail_url="/static/thumbnails/video_thumb.jpg",
    extraction_complete=True
)
```

## Key Features

| Feature | Description |
|---------|-------------|
| Scene Detection | Histogram-based change detection (threshold=65) |
| OCR Confidence | Tiered thresholds (0.5 high, 0.3 low) |
| AI Proofreading | Gemini cleans up OCR errors |
| Source Reconciliation | Merges OCR + Vision text intelligently |
| Native Video | Direct Gemini analysis for <20MB files |

## Prompts

Customize AI behavior by editing prompts in the `prompts/` folder:

- `scene_analysis.md` - Frame analysis prompts
- `scene_reconciliation.md` - Scene enrichment prompts

## Common Questions This Answers

- "What text appears in this video ad?"
- "Describe each scene in this creative"
- "What does the narrator say?"
- "Extract the call-to-action from this ad"

Popular in Design & Media

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.