currently I’m working on the processing of files with ffmpeg. My first attempt was to deploy the ffmpeg stuff within an existing node.js docker container on the digitialocean app platform. The file processing uses much memory and cpu, what causes a crash and forces a restart of the app.
First of all, I don’t understand, why this should happen on app platform, because a docker container should only be allowed to use the designated memory and not just crash, if it uses 100% for more than 5 seconds. We can’t upgrade the plan from Basic 5$ dollars to 300$/month just because of that one feature.
Second, now I try to outsource this functionality inside of a function with ffmpeg-static + fluent-ffmpeg. But ‘doctl serverless deploy’ throws 413 payload too large. On my disk the zip file has 43 MB. I thought the limit is 48 MB? Can you assist me with that problem?
Thanks in advance.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.