how i can make a slide show for multi images with duration I want to enter multiple images to the code and export a video I only found this package ffmpeg_kit_flutter and used it as follows But I'm having a problem 1- In merging several photos 2- Put a duration between them
the images with path like this
/storage/emulated/0/Download/01.jpg
/storage/emulated/0/Download/02.jpg
/storage/emulated/0/Download/03.jpg
/storage/emulated/0/Download/04.jpg
my code is
Future<void> VideoMerger() async {
loading = true;
notifyListeners();
if(await Permission.storage.request().isGranted){
String commandToExecute ='-r 15 -f mp3 -i /storage/emulated/0/Download/khh.mp3 -f image2 -i /storage/emulated/0/Download/01.jpg -y /storage/emulated/0/Download/output.mp4';
await FFmpegKit.executeAsync(commandToExecute).then((rc) {
loading = false;
notifyListeners();
print('FFmpeg process exited with rc: $rc');
});
}else if (await Permission.storage.isPermanentlyDenied){
loading = false;
notifyListeners();
openAppSettings();
}
}