Skip to main content

Module extract

Module extract 

Source
Expand description

Batch frame extraction and thumbnail selection.

FrameExtractor samples one frame per configurable time interval across the full duration of a video. Returns a Vec<VideoFrame> suitable for thumbnail strips and preview generation.

ThumbnailSelector picks the single best representative frame by scoring candidates for brightness and sharpness, skipping near-black, near-white, and blurry frames.

Structsยง

FrameExtractor
Extracts one frame per time interval from a video file.
ThumbnailSelector
Automatically selects the best thumbnail frame from a video file.