Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/starkdmi/blurhash_video
- Owner: starkdmi
- License: gpl-3.0
- Created: 2022-12-24T23:38:51.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-17T17:00:31.000Z (about 1 year ago)
- Last Synced: 2023-10-18T17:45:29.593Z (about 1 year ago)
- Topics: blurhash, dart, ffmpeg, flutter, pubdev
- Language: Dart
- Homepage: https://pub.dev/packages/blurhash_video
- Size: 275 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## About
[Blurhash](https://github.com/woltapp/blurhash/) algorithm applied to sequence of images extracted from video fileList 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
);
```