Video and image upload downscaling - Cordova vs. Serverside


#1

I am planning to provide some image and video upload to my users as part of the app and there needs to be some sort of downscaling of too large images. I am unsure, what design will turn out to be better in the long run: using cordova plugins vs. server-side using e.g. imagemagick and ffmpeg.

I’d like to hear of your experiences with scaling the images or videos. Any hint is much appreciated.


#2

I don’t have experience with videos, but for images, we downscale in the phone before uploading if the image will be downscaled anyway. This is to save the user bandwidth and time during uploading for example a 20mb image from which a 100kb version will do


#3

Thank you, I was thinking about doing it this way, too. Do you use a cordova plugin to achieve that or a JS lib?


#4

There were a couple of images resizer plugin I saw before but because we ask the user to edit the image before uploading, we are currently using the image editor also as the image resizer.

Forgot this: we are using croppie for this (crop and resize)


#5

Great, thanks for the sharing!