- Super flexible UI Design.
- Support actions:
- Crop
- Trim
- Scale
- Rotate
- Cover selection
Installation (More info on Flutter ffmepeg kit)
Following steps will help you add this library as a dependency in your flutter project.
- In the
pubspec.yaml
file in the root of your project
dependencies:
video_editor: ^1.2.2
- Run the following command to get packages:
$ flutter packages get
- Import the package in your project file:
import 'package:video_editor/video_editor.dart';
Example (The UI Design is fully customizable on the example)
- Dependencies used:
Crop Video | Rotate Video |
---|---|
![]() |
![]() |
Trim Video | Export Video |
---|---|
![]() |
![]() |
Trimmer if maxDuration < videoDuration | Trim timeline | Trim icons customization |
---|---|---|
![]() |
![]() |
![]() |
Video cover (selection, viewer) | Export cover |
---|---|
![]() |
![]() |
- Crash on release mode in android
Add the following entries into your proguard-rules.pro
file. fix: tanersener/mobile-ffmpeg#616 (comment)
-keep class com.arthenica.mobileffmpeg.Config {
native <methods>;
void log(long, int, byte[]);
void statistics(long, int, float, float, long , int, double, double);
}
-keep class com.arthenica.mobileffmpeg.AbiDetect {
native <methods>;
}
Le Goff Maël |