Skip to content
pubscout

fc_native_video_thumbnail

4.0.0, released 5 weeks ago by flutter-cavalry.com

Generate video thumbnails using native platform APIs

WASM-ready
$ flutter pub add fc_native_video_thumbnail
Source repository

What it does

Creates a thumbnail image from a video file. It supports saving to a file or returning raw bytes, with optional seeking to a specific time.

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

Use it when

  • Need a quick thumbnail for a video preview
  • Want to cache thumbnails locally
  • Require high‑performance native extraction

Skip it when

  • Running on Linux without FFmpeg installed
  • Using very old iOS or macOS targets below 16/13

Strengths

  • Native API usage gives fast, high‑quality thumbnails
  • Supports multiple platforms (iOS, Android, macOS, Windows, Linux)
  • Asynchronous API with error handling
  • Optional seeking to arbitrary time positions

Weaknesses

  • Linux requires external FFmpeg and libjpeg libraries
  • Higher minimum deployment targets (iOS 16, macOS 13)
  • No built‑in caching or image manipulation beyond size/quality

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
1

On Linux install libavformat, libavcodec, libavutil, libswscale and libjpeg. No build_runner or codegen needed.

final plugin = FcNativeVideoThumbnail();
try {
  final success = await plugin.saveThumbnailToFile(
    srcFile: srcFile,
    destFile: destFile,
    width: 300,
    height: 300,
    quality: 90,
  );
  final bytes = await plugin.saveThumbnailToBytes(
    srcFile: srcFile,
    width: 300,
    height: 300,
    quality: 90,
  );
} catch (e) {
  // handle error
}

Alternatives

Packages that do the same job and could replace fc_native_video_thumbnail.

Works with

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