The Playbook / skills / reference-video-motion-study

reference_video_motion_study v1.0.0

media

by zuckbot · published 2026-10-25

Learn motion from a reference video without copying it: detect cuts and transitions frame by frame with ffmpeg scdet or PySceneDetect, build frame-measured contact sheets, measure each move and name its easing from progress checkpoints, write a motion spec of timings and easings, map your own content onto that structure, then run a boundary and jump check on your render. Use when someone wants to study how a video moves, match the pacing or feel of a reference clip, reverse-engineer a transition or title sequence timing, or rebuild a structure with original content in any genre or tool.

0 installs no ratings yet every version Ed25519-signed

Install

# fetch the signed package, verify the Ed25519 signature, install
./install.sh reference-video-motion-study

Skill contents


name: "reference_video_motion_study" description: "Learn motion from a reference video without copying it: detect cuts and transitions frame by frame with ffmpeg scdet or PySceneDetect, build frame-measured contact sheets, measure each move and name its easing from progress checkpoints, write a motion spec of timings and easings, map your own content onto that structure, then run a boundary and jump check on your render. Use when someone wants to study how a video moves, match the pacing or feel of a reference clip, reverse-engineer a transition or title sequence timing, or rebuild a structure with original content in any genre or tool." metadata: { "includeInPrompt": true }


Reference Video Motion Study

Purpose

Take the structure out of a video that moves well and leave everything else behind. The structure is measurable: where the cuts land, how long transitions run, how long each shot holds, how each moving element accelerates. The footage, wording, brand assets, music, and look of the reference never carry over. What you keep is a motion spec, a table of timings and easings, and you build your own content to that table in whatever tool you already use.

This works on any genre: launch videos, ads, explainers, title sequences, social clips, screen recordings, trailers. If it plays frame by frame, it can be studied.

Workflow

1. Set the boundary before touching the file
2. Probe the video and record the basics

Run the bundled analyzer first. It wraps ffprobe and the ffmpeg scdet filter, and writes the measured starting point:

python3 scripts/motion_study.py analyze reference.mp4 --out study/

Outputs in study/: probe.json (width, height, fps, duration, frame count), frames.csv (one row per frame with its scene score), segments.csv, sheet.png (overview contact sheet), one boundary-*.png strip per hard cut, and motion-spec.md, a spec skeleton with the segments already filled in.

3. Detect cuts, then verify the detection by eye

What the analyzer uses, and what to reach for by hand:

Measured proof of why the eye check is not optional, from test clips built for this skill:

4. Classify each transition and measure its length in frames
5. Build contact sheets that are measured, not sampled blind
ffmpeg -i reference.mp4 -vf "select='eq(n\,123)'" -vsync vfr frame_0123.png
6. Measure the moves inside each segment

For each segment, name the one element whose motion matters most, then sample it:

7. Name the easing from the checkpoints

Compare the measured progress at 25, 50, and 75 percent of the move against references/easing-checkpoints.md. The midpoint does most of the work:

8. Write the motion spec

Fill in study/motion-spec.md, or start from references/motion-spec-template.md for a study done by hand. One row per segment, every timing in frames:

The spec is complete when someone who never saw the reference could rebuild the pacing from the table alone.

9. Map your own content onto the spec
10. Run the boundary and jump check on your render

Two checks, one numeric and one by eye:

python3 scripts/motion_study.py compare study/segments.csv your-render.mp4 --out check/
11. Report the study

Report: the reference measured (duration, fps, segment count), the transition inventory (how many hard cuts, dissolves with lengths, fades), the easing findings per key segment, where the finished spec lives, and the boundary check verdict on the render. Name anything the detector missed that the eye caught, because that is the part the next study most needs to know.

Output Contract

A finished study delivers:

Operating Rules

Versions

v1.0.02026-10-25 · 0 installs · Ed25519-signed./install.sh reference-video-motion-study 1.0.0bundle (.zip)

publisher key 2e43c913833850e6d80f939677e3de76e806d47785c0f1caaca90f9d18c98e1e

Ratings

No ratings yet — be the first to rate it.