animeng / flutter_export_video_frame

Export picture from video file
MIT License
15 stars 20 forks source link

In Android export number of image take to much time to export #14

Open VishalDobariya12 opened 1 year ago

VishalDobariya12 commented 1 year ago

I am using below function to export number of images.

ExportVideoFrame.exportImage(videoFile.path, 50, 0.5).then((_images) {
        _images.forEach((element) {
          if (element.path.isNotEmpty) {
            coverImages.add(element.path);
            isLoading = false;
            if (mounted) setState(() {});
          }
        });
      });

This above function is working fine in iOS, In iOS it export image in less than 5 to 10 seconds but In Android this same will take 1 minute or more.

Can anyone help in this?

jaykshirsagar05 commented 1 year ago

Did you found any workaround for this delay?

acewd1 commented 1 year ago

same here, wish to fix soon for Android