Skip to content
pubscout

flutter_video_thumbnail_plus

1.0.7, released 2 months ago by an unverified publisher

Generate video thumbnails from files, URLs, or byte arrays across multiple platforms.

WASM-ready
$ flutter pub add flutter_video_thumbnail_plus
Source repository

What it does

A Flutter plugin that extracts thumbnails from video files and byte arrays. It supports multiple image formats like PNG, JPG, and WebP, alongside size, quality, and timestamp adjustments.

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

Use it when

  • You need to generate video thumbnails for a gallery or playback interface in a Flutter app.
  • You want support for generating thumbnails across Android, iOS, macOS, Windows, and Web.

Skip it when

  • You need thumbnail generation for Web using file paths instead of byte arrays.

Strengths

  • Supports multiple platforms including Android, iOS, macOS, Windows, and Web.
  • Allows customization of size, quality, timestamp, and image format.
  • Supports both Swift Package Manager and CocoaPods on iOS and macOS.

Weaknesses

  • Web platform only supports byte arrays (`thumbnailDataWeb`) rather than file paths.
  • ImageFormat.webp falls back to PNG on Windows.

Setup

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

Add the dependency to pubspec.yaml. No extra setup notes documented.

final result = await FlutterVideoThumbnailPlus.thumbnailFile(
  video: 'path/to/video.mp4',
  thumbnailPath: 'path/to/thumbnail.png',
  imageFormat: ImageFormat.png,
  maxHeight: 100,
  maxWidth: 100,
  timeMs: 1000,
  quality: 10,
);

Alternatives

Packages that do the same job and could replace flutter_video_thumbnail_plus.

Works with

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