ffmpeg_cli
0.3.0, released 3 years ago by flutterbountyhunters.com
Run FFMPEG CLI commands from Dart.
What it does
Allows you to configure and execute FFMPEG and FFPROBE CLI commands directly using Dart code. It provides classes to build filter graphs, inputs, outputs, and arguments for audio and video processing.
AI-written summary of version 0.3.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to process audio or video files using FFMPEG within a Dart or Flutter project.
- You prefer writing structured Dart objects over raw command-line strings for FFMPEG commands.
Skip it when
- FFMPEG is not installed on the target device or system path.
- You need comprehensive and complete FFPROBE support for every possible output property immediately.
Strengths
- Purposefully retains the full complexity of FFMPEG so anything the CLI can do is possible.
- Structured Dart API for building complex filter graphs and commands.
Weaknesses
- Requires FFMPEG to be separately installed on the host device.
- FFPROBE support is partial and properties are added as discovered due to the large scope.
Setup
- Kind
- Pure Dart
- Effort
- Medium
- Code generation
- Yes (build_runner)
- Direct dependencies
- 3
Make sure that ffmpeg is installed on your device and is available on your system path.
final command = FfmpegCommand(inputs: [FfmpegInput.asset('assets/input.mp4')], outputFilepath: '/my/output/file.mp4');
final process = await Ffmpeg().run(command: command);Alternatives
Packages that do the same job and could replace ffmpeg_cli.
- ffmpeg_kit_extended_flutter
Cross-platform FFmpeg, FFprobe, and FFplay plugin for media processing and playback
75Compare - 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 - video_editor
A Flutter package for trimming, cropping, rotating, and exporting videos with a customizable UI.
50Compare
Works with
Packages commonly used together with ffmpeg_cli: ones it builds on, ones built on it, and its own family.