audiotool-builders
所属分类:流媒体/Mpeg4/MP4
开发工具:Shell
文件大小:4KB
下载次数:0
上传日期:2023-03-23 22:59:54
上 传 者:
sh-1993
说明: 用于构建与AWS Lambda一起使用的音频波形和ffmpeg二进制文件的Dockerfiles。
(Dockerfiles for building audiowaveform & ffmpeg binaries for use with AWS Lambda.)
文件列表:
audiowaveform (0, 2023-08-26)
audiowaveform\Dockerfile (348, 2023-08-26)
audiowaveform\build.sh (2313, 2023-08-26)
audiowaveform\package.json (387, 2023-08-26)
ffmpeg (0, 2023-08-26)
ffmpeg\Dockerfile (243, 2023-08-26)
ffmpeg\build.sh (865, 2023-08-26)
ffmpeg\package.json (371, 2023-08-26)
# About
These are Dockerfiles to conveniently build
[ffmpeg](https://github.com/FFmpeg/FFmpeg) and
[audiowaveform](https://github.com/bbc/audiowaveform) so they work in AWS Lambda
functions.
# Instructions
1. Clone this repo, and navigate into the folder for the tool you want to build.
1. The Dockerfiles default to pulling an x86_*** version of Amazon Linux. Feel free to edit the Dockerfile to pull arm*** instead.
1. Run `yarn build`, and go brew some coffee”this will take a while!
1. Run `yarn install`, which will copy the compiled binary into a `bin` folder
in the current directory.
1. Finally, run `yarn clean` to remove the Docker container (this won't remove
the binary file you just built).
# Using with Lambda
We recommend zipping up the binaries and creating a
[Lambda Layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)
so you can reduce the size of your Lambda code bundle, and update the binaries
independently of your Lambda function(s).
近期下载者:
相关文件:
收藏者: