ffmpeg_kit_flutter_new_min_gpl
2.7.2, released 3 days ago by antonkarpenko.com
Run FFmpeg and FFprobe commands from Dart on Android, iOS, macOS, Windows and Linux.
What it does
Provides prebuilt FFmpeg and FFprobe native libraries wrapped in a unified Dart API. Supports executing synchronous or asynchronous conversion commands, capturing logs and stats, and reading media metadata.
AI-written summary of version 2.6.8, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to transcode, trim, or process audio and video files directly on-device.
- You want to extract media information and stream statistics using FFprobe in a Flutter app.
Skip it when
- You want to avoid the GPL 3.0 licensing requirements introduced by codecs like x264 and x265.
- Your app does not require native media processing and you want to keep binary file size minimal.
Strengths
- Bundles prebuilt native binaries for Android, iOS, macOS, Windows and Linux with no compilation needed during build.
- Includes essential GPL video codecs like x264, x265, xvidcore, and vid.stab.
- Provides robust session management with log and statistics callbacks.
Weaknesses
- Increases the application binary size significantly due to bundled native libraries.
- Using GPL-licensed components means your application distribution falls under GPL 3.0.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
No compilation needed during build, but Linux requires libjson-glib-dev and Android/iOS may require specific configurations like Storage Access Framework permissions if needed.
import 'package:ffmpeg_kit_flutter_new_min_gpl/ffmpeg_kit.dart';
final session = await FFmpegKit.execute('-i input.mp4 -c:v mpeg4 output.mp4');
final returnCode = await session.getReturnCode();
if (ReturnCode.isSuccess(returnCode)) {
// Success
} else {
// Failed
}Alternatives
Packages that do the same job and could replace ffmpeg_kit_flutter_new_min_gpl.
- ffmpeg_kit_extended_flutter
Cross-platform FFmpeg, FFprobe, and FFplay plugin for media processing and playback
75Compare
Works with
Packages commonly used together with ffmpeg_kit_flutter_new_min_gpl: ones it builds on, ones built on it, and its own family.
- ffmpeg_kit_flutter_newSame familyRun FFmpeg and FFprobe commands from Dart on Android, iOS, macOS, Windows and Linux.
- ffmpeg_kit_flutter_new_minSame familyRun FFmpeg and FFprobe commands from Dart on Android, iOS, macOS, Windows, and Linux.
- ffmpeg_kit_flutter_new_audioSame familyRun FFmpeg and FFprobe commands from Dart with prebuilt audio codecs for multiple platforms.