stream_thumbnail
0.2.0, released 7 weeks ago by getstream.io
Create thumbnail images from local video files or URLs as bytes or files.
What it does
A Flutter plugin that generates thumbnail images from local video files or remote URLs. It can return the thumbnail as in-memory bytes or save it to a temporary directory, supporting multiple file processing at once.
AI-written summary of version 0.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to generate video previews or thumbnails locally on device or web.
- You want to extract thumbnails as in-memory bytes or XFiles.
Skip it when
- You need video playback features rather than just frame extraction.
- You are targeting Windows N/KN editions without the Media Feature Pack.
Strengths
- Supports Android, iOS, web, macOS, Windows, and Linux.
- Can output either in-memory bytes or XFiles.
- Supports batch processing of multiple videos.
Weaknesses
- Linux requires FFmpeg and libwebp development packages at build time.
- Windows has limitations with WebP format and authentication headers.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 4
Linux requires build-time development packages for FFmpeg and libwebp. Windows requires the Media Feature Pack on N/KN editions.
final bytes = await StreamThumbnail.thumbnailData(
video: 'https://example.com/video.mp4',
imageFormat: StreamThumbnailFormat.jpeg,
maxWidth: 128,
quality: 25,
);Alternatives
Packages that do the same job and could replace stream_thumbnail.
- video_thumbnail
Generates image thumbnails from local video files or URLs on Android and iOS.
58Compare - get_thumbnail_video
Generates image thumbnails from local video files, URLs, or assets.
50Compare - fc_native_video_thumbnail
Generate video thumbnails using native platform APIs
80Compare - video_player_android
Android implementation of the video_player plugin
88Compare
Works with
Packages commonly used together with stream_thumbnail: ones it builds on, ones built on it, and its own family.
- webstream_thumbnail depends on itLightweight bindings for browser APIs via JS interop
- plugin_platform_interfacestream_thumbnail depends on itReusable base class for platform interfaces of Flutter federated plugins.
- cross_filestream_thumbnail depends on itAn abstraction to allow working with files across multiple platforms.
- stream_chatSame familyLow‑level Dart client for Stream Chat API
- stream_chat_flutter_coreSame familyCore Flutter SDK for Stream Chat providing business logic and controllers without UI.
- stream_chat_localizationsSame familyOfficial localized strings for Stream Chat Flutter widgets
- stream_chat_persistenceSame familyProvides offline SQLite persistence for Stream Chat in Flutter.
- stream_video_flutterSame familyOfficial UI package and SDK for Stream Video, supporting calls and livestreams.