Skip to content

enparadigm/ffmpeg-aws-lambda-layer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FFmpeg/FFprobe for AWS Lambda

A Lambda layer containing a static version of FFmpeg/FFprobe utilities from the FFmpeg Linux package, compatible with Amazon Linux 2.x and Amazon Linux 1.x instances (including the nodejs16.x runtime, and the updated 2018.03 Amazon Linux 1 runtimes).

Deploying the lambda layer

Prerequisites

  • Unix Make environment
  • AWS command line utilities (just for deployment)

Deploying to AWS as a layer

This package includes FFmpeg 4.1.3, packaged by John Van Sickle. Please consider supporting him for maintaining statically built FFmpeg packages. For more information, check out https://johnvansickle.com/ffmpeg/

The output will be in the result dir.

Run the following command to deploy the compiled result as a layer in your AWS account.

make deploy DEPLOYMENT_BUCKET=<YOUR BUCKET NAME> STACK_NAME=<YOUR STACK NAME> PROFILE=<YOUR AWS PROFILE>

Warning Make sure that the value passed to DEPLOYMENT_BUCKET is unique across all AWS accounts. Defaults to sharpsell-ffmpeg-lambda-layer.

  • The value passed to STACK_NAME is used to name the CloudFormation stack that will be created. Defaults to sharpsell-ffmpeg-lambda-layer.
  • The value passed to PROFILE is used to specify the AWS profile to use for deployment. This user must have permissions to create CloudFormation stacks and S3 buckets. Defaults to sharpsell-ffmpeg-lambda-deploy-role. Contact the maintainer for more information

Author

Gojko Adzic https://gojko.net

License

LGPL version

About

FFmpeg/FFprobe AWS Lambda layer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 100.0%