AbedElazizShe / light_compressor

A powerful and easy-to-use video compression plugin for Flutter.
MIT License
59 stars 34 forks source link

compress on android not working #47

Open heshesh2010 opened 1 year ago

heshesh2010 commented 1 year ago

Hi , using latest release 2.2.0 , on real Samsung device android 12

I see the response not returned

 final Result response = await _lightCompressor.compressVideo(
      path: item.path,
      //   destinationPath: _destinationPath,
      videoQuality: VideoQuality.medium,
      isMinBitrateCheckEnabled: false,
      video: Video(
        videoName: path.basename(item.path),
        keepOriginalResolution: true,
      ),
      android: AndroidConfig(isSharedStorage: true, saveAt: SaveAt.Movies),
      ios: IOSConfig(saveInGallery: true),
    ); 

it's stuck here , there is no error messages yet

wantroba commented 11 months ago

I'm having the same error but only with large files:

release 2.2.0 , on real Motorola device, android 11.

jt274 commented 11 months ago

Same. Worked once, now doesn't work anymore. Just hangs, no error.

MdFarhanRaja commented 11 months ago

Same issue nothing happens no error no success nothing