Overview

Requires ffmpeg and ffprobe on PATH. Scripts are Python 3.11+, run via `uv run` (no separate install step).

Recipes

Copy-paste command sequences agents can run via uv run.

Shot catalog (cuts only)
uv run scripts/detect.py --input /path/to/clip.mp4
Shot stills for vision analysis
uv run scripts/detect.py --input clip.mp4
uv run scripts/extract-frames.py --shots-path .mediaskills/generated/clip_shots_*.json
uv run scripts/extract-frames.py --input clip.mp4
Threshold tuning

Operations

Each script returns structured JSON — see the script contract.

Op IDScriptCommon flags
shots.detectdetect.py--input
shots.extract_framesextract-frames.py--input

Do not use for

  • Full program structure / act breaks (use `program-master`)
  • Vision-based scene understanding (use `vision-analysis`)