blurhash_video 0.0.8

SDKflutter
Platformandroidiosmacos

Blurhash algorithm applied to sequence of images extracted from video file

About

Blurhash algorithm applied to sequence of images extracted from video file

List of hashes for 7 seconds video file with 16 frames per second has size of 6KB uncompressed!

Preview

Video preview

Getting started

Include latest version from pub.dev to pubspec.yaml

Usage

// generate sorted list of blurhashes from video 
final hashes = await BlurhashVideo.generateBlurHashes(
  path: path, // video file location 
  fps: 24, // video fps is used by default
  duration: 7, // in seconds
);