Skip to main content

Short-form video analysis tool — crawl, transcribe, and visually analyze YouTube Shorts, Instagram Reels, and TikTok

Project description

Reel Scout

English | 繁體中文

Short-form video analysis CLI tool.

Crawl, transcribe, and visually analyze YouTube Shorts, Instagram Reels, and TikTok videos into structured data.

Install

pip install reel-scout
reel-scout skill install       # only if you drive it from Claude — see below

ffmpeg must be on PATH (macOS: brew install ffmpeg). yt-dlp comes with the package. Extras: whisper (faster-whisper transcription), audio (audio events

  • BPM), ocr, diarize, instagram — e.g. pip install "reel-scout[whisper]".

Using it from Claude

pip install gives you the CLI. The skill is the half an agent reads: SKILL.md (the pipeline procedure and the capability/surface matrix), the /scout slash command, and the reverse-decode prompts/. reel-scout skill install copies them to ~/.claude/skills/reel-scout (--dest to put them elsewhere, --force to overwrite). Restart Claude Code, then:

/scout https://www.instagram.com/reel/XXXXXXXX/

reel-scout skill path shows where the assets are being read from.

No local model? You do not need one. Keyframe extraction is ffmpeg, so the frames exist before any model runs — the skill's L1 tier has the agent describe them and apply the craft rubric itself, then writes that back with reel-scout ingest. No API key, no cloud, no GPU. See SKILL.md.

From a clone, for development:

pip install -e ".[dev]"

Usage

reel-scout crawl "https://youtube.com/shorts/xxxxx"
reel-scout analyze "https://youtube.com/shorts/xxxxx"
reel-scout analyze --file urls.txt --skip-vision
reel-scout list
reel-scout show <video_id>
reel-scout inspect <video_id>          # interactive single-clip inspector web app
reel-scout export --format json -o ./export
reel-scout config check

inspect starts a small local web app for one clip and opens it in the browser. The video player is the single source of truth: a waveform (ffmpeg peaks, cached) with a click-to-seek playhead, a keyframe filmstrip, and the transcript all seek the player and highlight as it plays. Set IN/OUT markers on the waveform and export the trimmed window as SRT. Needs the downloaded video file on disk. (Design ported from arkiv's live inspector.) export --format html remains the offline multi-clip bundle; view is the read-only browsing server.

Bilingual / code-switching audio (中英對照)

Whisper large-v3 locks onto the language it detects in the opening window and, on long files, "translates" later speech of the other language back into the locked one — a code-switching interview (Chinese host + English guest) comes out with the guest's English mangled into garbled Chinese. It is a long-form drift, not a bad audio issue: the same passage transcribes perfectly when sliced out on its own.

Fix — force per-chunk language re-detection:

WHISPER_MULTILINGUAL=1 WHISPER_CHUNK_LENGTH=15 reel-scout analyze "<url>"

multilingual alone is not enough — it needs a short chunk_length (~15s) so each chunk re-detects. Verified on a 40-min ZH-host/EN-guest interview: latin-char recovery 56% → 90%. Leave OFF for single-language short-form (per-chunk detection adds cost). Other levers: WHISPER_LANGUAGE=en (force one language), WHISPER_TASK=translate (force English output).

MCP Server

reel-scout-mcp  # stdio transport for Claude Code integration

Prompt Pack (analysis layer)

Reel Scout's pipeline gets clean input into a model. The reverse-decode prompt pack in prompts/ is the analysis brain you point at that input — to reverse-engineer why a short-form video works and extract a transferable structure, with anti-hallucination guardrails (observation vs. inference, cite the timestamp). Open (MIT). See prompts/README.md.

Requirements

  • Python 3.9+
  • ffmpeg
  • yt-dlp

Attribution

Video extraction techniques (captions-first transcription, duration-aware frame budgeting, time-range focus, on-screen-text resolution bump) are adapted from claude-video (MIT). See NOTICE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reel_scout-1.3.0.tar.gz (373.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reel_scout-1.3.0-py3-none-any.whl (285.8 kB view details)

Uploaded Python 3

File details

Details for the file reel_scout-1.3.0.tar.gz.

File metadata

  • Download URL: reel_scout-1.3.0.tar.gz
  • Upload date:
  • Size: 373.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for reel_scout-1.3.0.tar.gz
Algorithm Hash digest
SHA256 c93030615a8ee20b0886bf9ddc6bb536f6d6393d93fc24cb49606bd7a8f02c26
MD5 518a68efccdca040b7237f5a70cef714
BLAKE2b-256 7fa2d3258b055d31fe7f9efd370a77efb13ba68f053a88660c01e2e737b30906

See more details on using hashes here.

Provenance

The following attestation bundles were made for reel_scout-1.3.0.tar.gz:

Publisher: release.yml on vulture-s/reel-scout

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file reel_scout-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: reel_scout-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 285.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for reel_scout-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3c248e65846e0ede94383d7d663464afaee487078deda50aac42c189e27c464
MD5 8083e7fd8f3addad3302479bbf4e1914
BLAKE2b-256 efb882a731d54fdd0dafc62f6f606f9623929d02c89879511563f67b66576662

See more details on using hashes here.

Provenance

The following attestation bundles were made for reel_scout-1.3.0-py3-none-any.whl:

Publisher: release.yml on vulture-s/reel-scout

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page