ffmpeg_kit_flutter_new
4.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 a Dart API to execute FFmpeg/FFprobe commands across all major desktop and mobile platforms. Includes pre‑built native libraries with full codec support, including GPL codecs, and offers hardware‑accelerated encoding/decoding where available.
AI-written summary of version 4.6.8, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to transcode, filter or analyze media files within a Flutter app.
- You require GPL‑licensed codecs (e.g., x264, x265) or hardware acceleration on iOS/macOS.
Skip it when
- App size must be minimal and you can’t afford the large native binaries.
- Your project cannot use GPL‑licensed code due to licensing constraints.
Strengths
- Full codec set including GPL codecs
- Pre‑built native libraries – no manual compilation
- Cross‑platform support (Android, iOS, macOS, Windows, Linux)
- Hardware‑accelerated video processing on Apple platforms
Weaknesses
- Large binary size due to bundled libraries
- GPL license may be incompatible with some commercial projects
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
import 'package:ffmpeg_kit_flutter_new/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 if (ReturnCode.isCancel(returnCode)) {
// Cancelled
} else {
// Failed: inspect await session.getLogs()
}Alternatives
Packages that do the same job and could replace ffmpeg_kit_flutter_new.
- zego_uikit_prebuilt_call
Full-featured prebuilt UI kit for one-on-one and group voice and video calls with offline invitations.
79Compare - ffmpeg_kit_extended_flutter
Cross-platform FFmpeg, FFprobe, and FFplay plugin for media processing and playback
75Compare - zego_uikit_prebuilt_video_conference
Prebuilt video conference kit with UI and business logic for group voice/video chats.
68Compare - zego_uikit_prebuilt_live_streaming
Prebuilt live streaming kit with video, audio, text chat, and co-hosting support.
65Compare
Works with
Packages commonly used together with ffmpeg_kit_flutter_new: ones it builds on, ones built on it, and its own family.
- ffmpeg_kit_flutter_new_minSame 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.