FFMPEG- AWS Lambda函数问题 [英] FFMPEG- AWS Lambda Function Issue
问题描述
我用node js fluent-ffmpeg创建了aws lamda函数 因此在这种情况下,请使用ffmpeg和ffprob使用无服务器应用程序创建视频,缩放和转换视频. AWS Lambda部署软件包在其中创建了超过50 mb的地方,因为我在ffmpeg和ffprob exe(二进制库)的帮助下使用.因此我无法上载部署zip文件.可以解决任何问题,请帮助我.
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.
推荐答案
您可以使用名为Layers的新AWS Lambda.它允许您包括一些自定义工件,尤其是大型二进制文件.此处描述了您的确切情况: https://serverless.com/Blog/publish-aws-lambda-layers-serverless-framework/
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/
这篇关于FFMPEG- AWS Lambda函数问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!