2

I've seen everywhere how to achieve the goal of the title but for images. I was just wondering how I'd do the same with videos? I'm making an app that only involves uploading videos of maximum 30 seconds, not images (apart from the users profile picture) and I need some way of:

  1. Resizing the video so all videos have the same resolution and size on all iPhones
  2. Compressing the video so if someone uploads a full 30 second clip in 4K then it won't take my whole storage bucket.
  3. Limit each video to 50MB in size but always prefer to keep HD quality.

How would I do this?

Thanks, Nathan

Nathan
  • 1,393
  • 1
  • 9
  • 40
  • try node package https://www.npmjs.com/package/handbrake-js add listener to your storage and use the above module for compressin videos – ked Jan 09 '20 at 12:14

0 Answers0