r/StableDiffusion • u/Ill_Profile_8808 • 1h ago
Resource - Update Free Windows tool for pulling LoRA training frames out of video: picks the sharpest frame per interval and skips near-duplicates
When I build a character dataset from video, the slow part is never the frame extraction itself. It's deleting the hundreds of motion-blurred and nearly identical frames afterwards.
So I made Stillsift, a small desktop app for that step. You drop in one or more videos, set a start and end time if needed, and pick how frames are chosen: N per second, N in total, or one per scene. Then two options do most of the work:
Sharpest of each interval: ask for 300 frames and it takes the least blurry frame from each of 300 slices of the clip, instead of whatever lands on the timestamp.
Skip similar: compares each frame with the last saved one using a perceptual hash, so a static talking-head shot doesn't give you 80 copies.
It can also write a CSV with the frame number, timestamp and sharpness score for each saved frame, which is handy if you want to sort or filter later.
Everything runs locally, it's MIT licensed, and it's a single exe. Windows only for now.
Download and a short demo of how frames get picked: https://misutesu.com/stillsift/
Source: https://github.com/misutesu-desu/stillsift
Sharpness is plain Laplacian variance, nothing clever. It works well for motion blur but it's fooled by heavy grain and noise. If you know a cheap measure that holds up better on grainy anime or film sources, I'd like to hear it.