This is an AWS Lambda layer containing statically linked ffmpeg
and ffprobe
binary utilities from the FFmpeg
Linux package, allowing you to convert videos and extract metadata about video files in AWS Lambda, deployable as an AWS lambda layer. It can help you get started quickly with FFmpeg inside Lambda functions.
You can use a pre-deployed ARN: arn:aws:lambda:us-east-1:145266761615:layer:ffmpeg:4
or deploy yourself -- edit Makefile to set your deployment bucket etc, then just run make deploy
.
The binares will be in /opt/bin/ffmpeg
and /opt/bin/ffprobe
inside your Lambda container.
Check out the Serverless Video Thumbnail Builder project for an example of how to wire this to a Lambda function.
This package includes FFmpeg 4.1, packaged by Johan Van Sickle. Please consider supporting him for maintaining statically built FFmpeg packages. For more information, check out https://johnvansickle.com/ffmpeg/
FFMpeg is licensed under GNU GENERAL PUBLIC LICENSE 2.1 or later.