Skip to content
pubscout

video_thumbnail

0.5.6, released 2 years ago by an unverified publisher

Generates image thumbnails from local video files or URLs on Android and iOS.

WASM-readyQuiet but busy
$ flutter pub add video_thumbnail
Source repository

What it does

Generates image thumbnails from video files or URLs. It returns the image in memory as a Uint8List or saves it as a file with customizable format, resolution, and quality.

AI-written summary of version 0.5.6, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display video thumbnails in a Flutter app from local files or URLs.
  • You want to save a generated video frame as an image file on the device.

Skip it when

  • You need web or desktop platform support (currently only supports Android and iOS).
  • You require complex video editing or full video playback capabilities.

Strengths

  • Supports both in-memory thumbnails and saving directly to a file.
  • Customizable format (JPEG, PNG, WEBP), resolution, quality, and time offset.

Weaknesses

  • Limited platform support (only Android and iOS).
  • Known minor performance issues when generating WebP thumbnails on iOS using libwebp.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
0

Add video_thumbnail to pubspec.yaml. No extra native permissions documented in the README.

final uint8list = await VideoThumbnail.thumbnailData(
  video: videofile.path,
  imageFormat: ImageFormat.JPEG,
  maxWidth: 128,
  quality: 25,
);

Alternatives

Packages that do the same job and could replace video_thumbnail.

Works with

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