shahen94 / react-native-video-processing

Native Video editing/trimming/compressing :movie_camera: library for React-Native
https://shahen94.github.io/react-native-video-processing/
MIT License
1.24k stars 323 forks source link

Compression Really Slow On Android #343

Closed siddharth-kt closed 2 years ago

siddharth-kt commented 3 years ago

Current Behavior

It is really slow to compress video on Android (for 1 minute video it takes 15 - 25 seconds), whereas on apps like WhatsApp compression is really fast.

Expected Behavior

It should take less than 5 second time for compression. Please tell me

My Environment

Device Company -> Vivo Android -> 11 Funtouch OS -> 10.5

software version
react-native-video-processing ^2.0.0
react-native 0.64.2
node v14.17.0
shahen94 commented 3 years ago

@siddharth-kt FFMPEG is a slow library, the main issue comes from there. You shouldn't feel this issue on iOS since we not used it there