How to compress videos in Expo before uploading to Firebase Storage?

Viewed 2819

I would like to know how can I compress videos from Expo/React Native/Nodejs, in order for them to be lighter before uploading them to Firebase Storage.

An example of this is Whatsapp, a phone-recorded video has a size of over 35mb, but when you select it to send it to someone else, it shows it has a size of around 5-6mb, pretty compressed and without huge quality loss.

I may be able to use an API, but I'd rather know if it's posible to do this with the current resources mentioned before (Expo, etc)

1 Answers
Related