Deka872021-12-18 18:16:03
Deka87, 2021-12-18 18:16:03

5MB limit Vercel Serverless Functions?

I'm finishing up an application that, among other things, converts images to videos using FFMPEG. The app is built with NextJS and uses the NextJS Routes API to convert images to videos. Locally everything works fine, but on Vercel, where the application is laid out, I get a 413 error related to their limitation on the size of the request and response from the server ( https://vercel.com/support/articles/how-to-bypass-...). And so I understand that they offer me to send all the generated images to a special server and take them from there. I use Firebase to store images, but I'm afraid that sending and receiving hundreds of thousands of images (at least 3600 images for one two-minute FPS 30 video) will cost me a pretty penny. What options do I have in this case? Thanks in advance for your reply.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question