I have two video files on my iPhone. Is it possible, using Dart, to find two specific 10-second segments in each, and merge them both into a valid 20 second video file?
Ok, so there's a FFMpeg plugin for flutter that allows you to do all of this.
https://github.com/tanersener/flutter-ffmpeg
Cutting a 15 second video segment starting at second 20:
ffmpeg -i Funny.mkv -ss 00:00:20 -codec copy -t 15 Funny_cut.mkv
Merging a list of videos that is stored in videos.txt:
ffmpeg -f concat -i videos.txt -c copy Funny_join.mkv
For more about FFMpeg:
https://www.poftut.com/ffmpeg-command-tutorial-examples-video-audio/