-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.yaml
More file actions
69 lines (65 loc) · 2 KB
/
Copy pathtemplate.yaml
File metadata and controls
69 lines (65 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
AWSTemplateFormatVersion: "2010-09-09"
Transform: AWS::Serverless-2016-10-31
Description: >
FFmpeg & ffprobe as an AWS Lambda Layer, built for Amazon Linux 2023
Lambda runtimes (nodejs20.x, nodejs22.x, python3.12, python3.13,
provided.al2023, ...). The binary is the latest static release from
johnvansickle.com.
Metadata:
AWS::ServerlessRepo::Application:
Name: ffmpeg-lambda-layer-for-amazon-linux-2023
Description: >-
Latest static FFmpeg & ffprobe packaged as a Lambda Layer, compatible
with Amazon Linux 2023 Lambda runtimes. Binaries are exposed on $PATH
as /opt/bin/ffmpeg and /opt/bin/ffprobe.
Author: Mykhailo Toporkov
SpdxLicenseId: GPL-3.0-or-later
LicenseUrl: LICENSE
ReadmeUrl: README.md
Labels:
- ffmpeg
- ffprobe
- video
- audio
- media
- transcoding
- lambda
- layer
- al2023
- amazon-linux-2023
HomePageUrl: https://github.com/cookiemonsterdev/ffmpeg-aws-lambda-layer
SemanticVersion: 1.0.0
SourceCodeUrl: https://github.com/cookiemonsterdev/ffmpeg-aws-lambda-layer
Parameters:
LayerName:
Type: String
Default: ffmpeg
Description: Name of the published Lambda Layer.
Resources:
FfmpegLayer:
Type: AWS::Serverless::LayerVersion
Properties:
LayerName: !Ref LayerName
Description: >-
FFmpeg & ffprobe static binaries for AWS Lambda on Amazon Linux 2023.
Invoke via /opt/bin/ffmpeg or simply `ffmpeg` (already on PATH).
ContentUri: build/layer
CompatibleRuntimes:
- nodejs18.x
- nodejs20.x
- nodejs22.x
- python3.11
- python3.12
- python3.13
- provided.al2
- provided.al2023
CompatibleArchitectures:
- x86_64
LicenseInfo: GPL-3.0-or-later
RetentionPolicy: Retain
Outputs:
LayerVersionArn:
Description: ARN of the published FFmpeg Lambda Layer version.
Value: !Ref FfmpegLayer
Export:
Name: !Sub "${AWS::StackName}-LayerVersionArn"