Future<MediaInfo?> compressVideo(
String path, {
VideoQuality quality = VideoQuality.DefaultQuality,
bool deleteOrigin = false,
int? startTime,
int? duration,
bool? includeAudio,
int frameRate = 30,
})
Duration is broken in Android. I tried using seconds and milliseconds for the parameter. If I use seconds, it will trim the video to less than 1 second for a 10 second video. If I use milliseconds, it will run into negative value territory from being to large.