motioneyes
Converts gameplay video into frame sheets, motion trails, and pacing/flicker metrics.
Offline video diagnostics tool that turns MP4, MOV, WebM, or GIF gameplay captures into visual diagnostic sheets and quantitative frame-pacing, camera-shake, readability, and WCAG flicker reports.
git clone https://github.com/BestRoiMedia/game-senses.gitWhy we built it
AI coding agents cannot watch video streams directly, yet frame pacing hitches, camera jitter, and low figure-ground contrast only show up in motion. motioneyes translates raw gameplay clips into annotated PNGs and hard numbers an agent can inspect.
Architecture & how it works
Using OpenCV, NumPy, and phase correlation, motioneyes extracts frame sheets, slit-scan strips, camera-compensated motion trails, and optical-flow heatmaps. It detects duplicate/dropped frames, variable-rate stalls, hitstop freezes, high-frequency camera shake, WCAG 2.3.1 flash violations, and CIEDE2000 figure-ground readability against a median background model.
Key capabilities
- Generates frame contact sheets, slit-scan strips, motion trails, and optical-flow heatmaps
- Detects DUP_FRAMES, DROPPED frames, and variable-rate STALLS in screen recordings
- Measures global camera shake and automatically catalogs intentional hitstop freezes
- Checks WCAG 2.3.1 flash/flicker thresholds across full frames and 1/16 regions
- Side-by-side before/after video comparison with metric deltas and regression flags
Usage example
python3 motioneyes/motioneyes.py report ./capture.mp4 --out ./out/motion
python3 motioneyes/motioneyes.py compare ./before.mp4 ./after.mp4 --labels before,after