fortytwode

Meta Video Ad Analyzer

設計創意v1.0.0
作者:fortytwode更新於 2026-05-11meta-video-ad-analyzer@clawhub_fortytwode/meta-video-ad-analyzer
圖片編輯影片處理#OCR#Transcription#Audio

據 AlphaMoat 統計,截至 2026-09,Meta Video Ad Analyzer 累計下載 2,485 次、獲 1 個星標,在全部 5,078 個 AI 技能中排名第 4,112 位,在「設計創意」分類(512 個)中排名第 400 位。

累計安裝
104
累計下載
2485
星標
1
全站排名
#4,112
全站前 81% · 「設計創意」前 79%
平台累計安裝累計下載星標評論
ClawHub ↗7422821-
SkillHub ↗10424851—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該指南描述從影片或圖片中抽取畫面、文字、語音轉錄、場景說明和縮圖,並使用 Google Gemini Vision 進行場景分析。它依賴本地媒體處理元件,也可能將素材傳送給 Google AI 服務;識別和轉錄結果可能不完整或有誤,使用前應確認處理授權並複核輸出。

資料釋出於 2026-10-29

可以用來做什麼

  • 為影片廣告生成按場景整理的描述。
  • 提取畫面中的文字疊加內容或語音轉錄。
  • 檢查素材縮圖及抽取結果是否完整。

什麼時候用

  • 需要快速梳理影片或圖片廣告中的視覺與語音內容時。
  • 將媒體提交外部 AI 服務前,需要確認授權與資料處理要求時。
  • 依據 OCR、轉錄或場景分析作業務判斷前,需要人工複核時。

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

根據這段獲准處理的影片總結各場景,並將識別到的文字與推斷描述分開。
列出這份轉錄和 OCR 結果中需要人工複核的片段。

月度資料趨勢

累計下載2485
1584206825522026-03 · 累計下載 16512026-05 · 累計下載 18912026-06 · 累計下載 19742026-07 · 累計下載 21452026-08 · 累計下載 22532026-09 · 累計下載 248526-0326-09
星標1
0122026-03 · 星標 12026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 126-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-092485—1
2026-082253+5.0%1
2026-072145+8.7%1
2026-061974+4.4%1
2026-051891—1
2026-031651—1

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 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.
展開全部(共 127 行)
## 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"

「設計創意」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。