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. Replace <skill_directory> with the absolute path of this skill (the folder that contains SKILL.md) — do not run scripts/… relative to cwd.

Shot catalog (cuts only)
uv run <skill_directory>/scripts/detect.py --input /path/to/clip.mp4
Shot stills for vision analysis
uv run <skill_directory>/scripts/detect.py --input clip.mp4
uv run <skill_directory>/scripts/extract-frames.py --shots-path .mediaskills/generated/clip_shots_*.json
uv run <skill_directory>/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`)