Closed NeilCaffrey1 closed 3 years ago
Yeah, but it wouldn't help much because image
is single threaded. So it would just take as much time on another thread. Also isolates are dart:io only so it won't help on web.
At the moment you can only speed it up by reducing the quality. I plan to make transcoding changeable so you could use ffmpeg on mobile but there's no timeline yet
Thank you for the speedy reply. I appreciate it.
I looked at the code again and it is already using another isolate: https://github.com/ueman/screenrecorder/blob/main/lib/src/screen_recorder.dart#L120
Flutter's compute functions wraps an isolate.
Very impressive.
Can we the run the export on a seperate isolate to speed things up?