react-native-compress icon indicating copy to clipboard operation
react-native-compress copied to clipboard

Any Progress on Android Compression

Open sravanipamu12 opened this issue 4 years ago • 10 comments

Hi, i am unable to find the best video compression library for android, i have used SiliCompressor library but it takes more time to compress the video.

sravanipamu12 avatar Jul 30 '19 04:07 sravanipamu12

@sravanipamu12 I am also unable to find a good video compression lib for android, how did you use sillicompressor with react native?

karanpratapsingh avatar Jul 31 '19 07:07 karanpratapsingh

@phuochau any progress? or have you dropped the project?

karanpratapsingh avatar Jul 31 '19 12:07 karanpratapsingh

@karanpratapsingh i was unable to find best library for compression. i tried sillicompressor in android not in react native and i have tried Giraffe, FFMPEG, MediaCodec none of them are working as our requirement, Some libraries increases the video size after compression so i decided to do send the video to server without compression and video will be sending in background.

sravanipamu12 avatar Aug 01 '19 05:08 sravanipamu12

I did find a native module, if It’s working I’ll let you know, btw, how are you uploading in background on android? Thanks

karanpratapsingh avatar Aug 01 '19 06:08 karanpratapsingh

i found a library for android and react native https://github.com/Vydia/react-native-background-upload, https://github.com/gotev/android-upload-service, Please check it once.

sravanipamu12 avatar Aug 01 '19 06:08 sravanipamu12

Thanks, react-native-background-upload is crashing on android P and Q, tho I’m using that only in iOS, I’ll check the other one, thanks

karanpratapsingh avatar Aug 01 '19 06:08 karanpratapsingh

The other library seems to be android only, can you please share how you got react-native-background-upload working on android P and Q, thanks a lot

karanpratapsingh avatar Aug 01 '19 06:08 karanpratapsingh

i am not using react-native-background library, am getting error broken pipe while sending to server, are you uploading videos so s3 buket ??

sravanipamu12 avatar Aug 02 '19 09:08 sravanipamu12

How your uploading videos to server??

sravanipamu12 avatar Aug 02 '19 12:08 sravanipamu12

Any success?

DavitVosk avatar Sep 27 '19 14:09 DavitVosk