ffmpeg_kit_flutter_new_min
3.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 native FFmpeg and FFprobe binaries alongside a Dart API to execute commands, read logs, track execution statistics, and inspect media files across multiple platforms.
AI-written summary of version 3.6.8, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to process, transcode, or inspect audio and video files directly on the device using FFmpeg.
- You want prebuilt native libraries for Android, iOS, macOS, Windows, and Linux without compiling FFmpeg yourself.
Skip it when
- You need heavy GPL-licensed codecs like x264, x265, or xvidcore (use a -gpl variant instead).
- You only need standard playback and recording capabilities without custom FFmpeg filter graphs or transcoding.
Strengths
- Prebuilt binaries for every platform avoid complex custom compilation steps.
- Includes session management, return codes, logs, and statistics callbacks.
- Maintained fork updated for current Flutter releases and the Android V2 embedding.
Weaknesses
- Minimal package build excludes optional decoders, encoders, and protocols like HTTPS or specific audio/video codecs.
- Large binary size added to your application.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Prebuilt native binaries are downloaded or linked automatically per platform. Linux requires installing `libjson-glib-dev` alongside standard Flutter dependencies.
import 'package:ffmpeg_kit_flutter_new_min/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
}Alternatives
Packages that do the same job and could replace ffmpeg_kit_flutter_new_min.
- ffmpeg_kit_extended_flutter
Cross-platform FFmpeg, FFprobe, and FFplay plugin for media processing and playback
75Compare - fvp
Video player plugin and backend APIs supporting desktop and mobile with hardware decoders and FFmpeg.
90Compare - mpv_audio_kit
Cross-platform audio player built on libmpv and FFmpeg.
84Compare - easy_video_editor
A lightweight Flutter plugin for video editing and manipulation without FFmpeg dependency.
81Compare
Works with
Packages commonly used together with ffmpeg_kit_flutter_new_min: 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_min_gplSame 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.
- whisper_ggmlBuilt on ffmpeg_kit_flutter_new_minOn-device speech-to-text for Flutter powered by whisper.cpp