Added the scene animation extractor; open-sourced on GitHub with online access.
Game dev tool · Free & open source · v2
Video Sprite Extractor
Turn green-screen character videos into pixel-art sprite sheets for your game.
Extract frames from AI character videos: auto loop, keying, height and color with live preview, multi-direction sprite sheets. Runs in your browser, fully offline.
Download & get started
Any OS with Chrome or Edge; the scene script needs Python 3.9+
Rights & licensing
Code is open source under the MIT license: free to use, modify and use commercially, with attribution. The demo images are game art from Xingmeng EV and are not covered by the license.
Features & guide
- Up to 3 characters in one video, side by side; pick frames and export each one separately.
- Auto loop finder: picks evenly spaced frames where the end joins the start best ("two steps" for run and walk, "one step" for other actions). You can replace any frame by hand.
- Keying, height and color: key strength, height in cell, foot line, palette reduction, outline, brightness, contrast and saturation, all with a live preview.
- Side-by-side comparison with a ruler, to match character heights.
- Reference sheet: load an existing sprite sheet to auto-match colors and measure height.
- Export: one row per direction (front / left / right / back), with the right row optionally mirrored from the left. Extra sizes can be exported, plus a JSON frame-pick record you can reload later.
- Presets for run, walk, idle, attack, large attack, single-row prop loop, and glowing FX on black.
Usage
- Download this repo (Code → Download ZIP) and unzip it.
- Open 视频抽帧工具.html in Chrome or Edge.
- Drop in a video, then Auto loop → adjust → Export PNG.
The UI is in Chinese. Step-by-step notes are in 使用说明.txt.
Bonus: scene animation extractor (Python)
场景动画抽帧.py handles looping scene props: one prop or a 2×2 grid per video. It outputs a sprite strip and a preview GIF for each prop. It detects the background color automatically and removes the glow fringe.
pip install opencv-python numpy pillow
python 场景动画抽帧.py video.mp4 --grid 2 --n 12 --size 128



Release notes
Web version released.
Comments & feedback
Let’s make it better
Have thoughts about Video Sprite Extractor? Share your experience, feature ideas or bugs here.