FFMPEG- AWS Lambda Function Issue

眉间皱痕 提交于 2019-12-13 03:56:11

问题


I have created a aws lamda function with node js fluent-ffmpeg so in this use ffmpeg and ffprob for use create a video , scaling and converting video using serverless application. where aws lambda deployment package created more than 50 mb because i am using with the help of ffmpeg and ffprob exe (binary library). so i can not upload a deployment zip file. can do with any solution,please help me.


回答1:


You can use new AWS Lambda called Layers. It allows you to include some custom artifacts, especially large binaries. Your exact case was described here: https://serverless.com/blog/publish-aws-lambda-layers-serverless-framework/



来源:https://stackoverflow.com/questions/53539103/ffmpeg-aws-lambda-function-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!