FFMPEG- AWS Lambda Function Issue

2019-08-27 02:47发布

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条回答
何必那么认真
2楼-- · 2019-08-27 03:27

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/

查看更多
登录 后发表回答