老白玩AI← Software

Game dev tool · Free & open source · v2

Video Sprite Extractor

Turn green-screen character videos into pixel-art sprite sheets for your game.

Video Sprite ExtractorView image ↗

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+

Use online ↗Videos are processed in your own browser and never uploaded.
Baidu Netdisk ↗Access code: yphm
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

  1. Download this repo (Code → Download ZIP) and unzip it.
  2. Open 视频抽帧工具.html in Chrome or Edge.
  3. 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
Tool interface
Tool interface
Input: green-screen video
Input: green-screen video
Output: multi-direction sprite sheet
Output: multi-direction sprite sheet
Animated export preview
Animated export preview
Release notes
v2

Added the scene animation extractor; open-sourced on GitHub with online access.

v1

Web version released.

Comments & feedback
Comments are public. Please leave out passwords, phone numbers and other private information.0 / 2000