Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/starkdmi/blurhash_video

Blurhash but for video files
https://github.com/starkdmi/blurhash_video

blurhash dart ffmpeg flutter pubdev

Last synced: about 8 hours ago
JSON representation

Blurhash but for video files

Awesome Lists containing this project

README

        

## About
[Blurhash](https://github.com/woltapp/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](https://user-images.githubusercontent.com/21260939/209480508-4a372ae0-c4d5-4d92-82e8-305bea7838e4.mp4)

## Getting started

Include latest version from [pub.dev](https://pub.dev/packages/blurhash_video) to `pubspec.yaml`

## Usage

```dart
// 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
);
```