Skip to content
pubscout

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.

WASM-ready
$ flutter pub add stream_thumbnail
Source repository

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.

Works with

Packages commonly used together with stream_thumbnail: ones it builds on, ones built on it, and its own family.