Skip to content
pubscout

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.

$ flutter pub add ffmpeg_kit_flutter_new_min
Source repository

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.

Works with

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