Skip to content
pubscout

ffmpeg_kit_extended_flutter

1.0.0, released 5 weeks ago by fryingpan.games

Cross-platform FFmpeg, FFprobe, and FFplay plugin for media processing and playback

WASM-ready
$ flutter pub add ffmpeg_kit_extended_flutter
Source repository

What it does

A comprehensive Flutter plugin that allows executing FFmpeg, FFprobe, and FFplay commands using the 9.0.1 API. It supports Android, iOS, macOS, Linux, Windows, and WebAssembly builds, using Dart FFI for native performance and a WebAssembly runtime for the web.

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

Use it when

  • You need to transcode, trim, or edit audio and video files inside your Flutter app.
  • You require cross-platform support for media playback and streaming via FFplay.
  • You need detailed media metadata extraction using FFprobe.

Skip it when

  • You only need basic, simple video playback without complex processing or custom FFmpeg commands.
  • Your target application cannot handle the large binary size of bundled FFmpeg native libraries.

Strengths

  • Comprehensive cross-platform support including Android, iOS, macOS, Linux, Windows, and WebAssembly.
  • Direct native bindings via Dart FFI for optimal execution performance.
  • Includes support for logs, statistics, session lifecycle control, and a full package introspection API.

Weaknesses

  • Adds significant binary size to the application due to embedded native FFmpeg libraries.
  • Requires careful adherence to build-hook configurations and SDK minimum requirements.
  • Synchronous FFmpeg/FFprobe operations cannot open network inputs on Web.

Setup

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

Requires adding official hooks configuration under user_defines in pubspec.yaml to specify bundle types and optional GPL flags, plus meeting minimum requirements (Flutter 3.47.0+, Dart 3.12.0+).

hooks:
  user_defines:
    ffmpeg_kit_extended_flutter:
      type: "base"
      gpl: true
      small: true

Alternatives

Packages that do the same job and could replace ffmpeg_kit_extended_flutter.

Works with

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