Image and Video Compression

Hello Everyone,

We have a feature in our application wherein our user can upload a picture or a video for others to look into.

We would like to add some compression logic to both the media types when uploaded so we can save the memory and our users can also upload the media quickly and don’t have to wait for a longer time.

We have tried adding iOS native compression however that is degrading the quality of the photo or a video. Can you please help us with the best possible solution which we can integrate without losing the quality of the media?

As an alternative for now, we are restricting the users to upload the video of max 30 seconds but if we are able to integrate the compression, we would like to allow them to upload a video of 3 mins.

Please let us know if you need any additional information.

Thank you.

Replies

What API are you currently using to compress the video?