Skip to content

starkdmi/blurhash_video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.mp4

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
);