thumblr
0.0.4, released 4 years ago by groovinchip.dev
Generate video thumbnails on macOS and Windows.
WASM-ready
What it does
This plugin creates a thumbnail image from a local video file. It works on desktop platforms and returns the thumbnail as a byte array.
AI-written summary of version 0.0.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a quick preview of a video file in a Flutter desktop app
- You want a simple API without extra dependencies
- You only target macOS or Windows
Skip it when
- You need Linux support
- You require advanced video processing features
- You are building a mobile app
Strengths
- Cross‑platform desktop support
- Simple API, no code generation
- Small footprint
Weaknesses
- Linux unsupported
- Only desktop platforms
- No advanced video editing
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
Add macOS entitlements for file access as described in the README.
final thumbnailBytes = await generateThumbnail(filePath: 'path/to/video.mp4');
Center(child: Image.memory(thumbnailBytes, height: 350, width: 350));Alternatives
Packages that do the same job and could replace thumblr.
- fc_native_video_thumbnail
Generate video thumbnails using native platform APIs
80Compare - flutter_video_thumbnail_plus
Generate video thumbnails from files, URLs, or byte arrays across multiple platforms.
68Compare - video_player_android
Android implementation of the video_player plugin
88Compare - video_player_avfoundation
iOS and macOS implementation of the video_player plugin
86Compare