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
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: trueAlternatives
Packages that do the same job and could replace ffmpeg_kit_extended_flutter.
- ffmpeg_kit_flutter_new_min
Run FFmpeg and FFprobe commands from Dart on Android, iOS, macOS, Windows, and Linux.
81Compare - ffmpeg_kit_flutter_new_audio
Run FFmpeg and FFprobe commands from Dart with prebuilt audio codecs for multiple platforms.
79Compare - ffmpeg_kit_flutter_new_min_gpl
Run FFmpeg and FFprobe commands from Dart on Android, iOS, macOS, Windows and Linux.
79Compare - ffmpeg_kit_flutter_new
Run FFmpeg and FFprobe commands from Dart on Android, iOS, macOS, Windows and Linux.
89Compare
Works with
Packages commonly used together with ffmpeg_kit_extended_flutter: ones it builds on, ones built on it, and its own family.
- yamlffmpeg_kit_extended_flutter depends on itA Dart library for parsing YAML documents into Dart data structures.
- cryptoffmpeg_kit_extended_flutter depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- webffmpeg_kit_extended_flutter depends on itLightweight bindings for browser APIs via JS interop
- hooksffmpeg_kit_extended_flutter depends on itDart API for the JSON-based protocol for package build and link hooks.
- code_assetsffmpeg_kit_extended_flutter depends on itProvides the hook protocol specification for bundling native code with Dart packages.
- ffiffmpeg_kit_extended_flutter depends on itUtilities for working with Foreign Function Interface (FFI) code in Dart.
- loggingffmpeg_kit_extended_flutter depends on itProvides configurable logging with levels and stream listeners for Dart apps.
- plugin_platform_interfaceffmpeg_kit_extended_flutter depends on itReusable base class for platform interfaces of Flutter federated plugins.