Side-by-side
| peepshow | Open-source video frame extractors | |
|---|---|---|
| Setup | `npm i -g peepshow` — one binary | Varies — clone or pip install, then wire it up |
| Cut detection | Catches shot cuts that single-threshold scene detection misses — including jump cuts in talking-head footage where the picture barely changes | Typically one scene-detection threshold, tuned per video |
| Vision tokens for 40 frames | ~1,592 — the 40 frames tiled into one labelled contact sheet, which is what a default run produces | ~49,160 if each frame is sent to the model as its own image |
| Token budget | ✅ settable and respected — `--token-budget 800` yields a 783-token sheet | Not a concept — frames come out, the cost arithmetic is yours |
| Frame labelling | ✅ timestamps rendered onto each tile | Usually encoded in filenames only |
| Downstream destinations | ✅ 95 pluggable sinks — SQL, vector, chat, issue trackers, storage | Write your own glue per destination |
| Per-run artefact | ✅ self-contained report.html, plus an annotate loop for marking frames up | ❌ a directory of images |
| Live input | ✅ HLS / DASH / RTSP | Rare — local files are the norm |
| YouTube input | ✅ URL in, frames out | Usually bring your own download step |
| Per-frame OCR | ✅ text read off each frame | Rare — bolt on a separate pass |
| Object gating | ✅ keep only frames containing what you asked for | Rare |
| PII blur | ✅ blurred before frames leave the machine | ❌ |
| Audio transcription | ✅ whisper.cpp locally, or a cloud provider | Out of scope — separate tool |
| Agent integration | ✅ native manifests for 8+ agents and LLM CLIs | ❌ library or CLI only |
| Language fit | Node binary — shell out from anything | Often a Python library you import directly |
| Licence | MIT | Mostly permissive too |
Pick peepshow when…
- The frames are going into an LLM context window, and the vision-token bill is the constraint. Vision cost scales with image area, so tiling 40 frames into one sheet is a real reduction rather than a compression trick — and it is what peepshow does without being asked, with `--no-sheet` there for the runs that want one image per frame.
- Footage is talking heads, screen recordings or interviews, where cuts land without a big change in the picture.
- The same run needs to reach somewhere else as well — a database, a vector store, a Slack channel, an issue tracker.
- You need a per-run artefact someone can open later and see exactly which frames the model was shown.
- Input is a live stream or a YouTube URL rather than a file already on disk.
- OCR, object gating, PII blur or a transcript are part of the same pass.
Pick Open-source video frame extractors when…
- You want a library to import, not a CLI to shell out to — much of this field is Python, and peepshow is a Node binary.
- Extraction sits inside an ML pipeline you already own: dataset curation, training-set sampling, labelling runs.
- You need a specific published algorithm — a particular keyframe-selection or saliency method, reproduced exactly.
- The frames are for humans or a classifier, not a context window, so the token work buys you nothing.
- Your project cannot take on dependencies outside its own ecosystem.
- You already have ffmpeg scripted and the only missing piece is frame sampling.
Verdict
This is not a like-for-like contest. The open-source field extracts frames well, and if frames are the deliverable, a small focused tool is the sensible choice. peepshow is built for the case where frames are an input to a model: catching the cuts that single-threshold scene detection walks past, tiling them by default into labelled sheets inside a token budget you set, and fanning the run out to the rest of your stack.