Skip to content

Commit 5aef966

Browse files
committed
fix layer id
1 parent c6fcfc5 commit 5aef966

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BASE_NAME=ffmpeg
22
DEPLOYMENT_BUCKET_NAME := desole-packaging
33
DEPLOYMENT_KEY := $(shell echo $(BASE_NAME)-$$RANDOM.zip)
4-
STACK_NAME := $(BASE_NAME)-layer
4+
STACK_NAME := $(BASE_NAME)-lambda-layer
55

66
clean:
77
rm -rf build
@@ -10,7 +10,7 @@ build/bin/ffmpeg:
1010
mkdir -p build/bin
1111
rm -rf build/ffmpeg*
1212
cd build; \
13-
curl https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-i686-static.tar.xz | tar x
13+
curl https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-arm64-static.tar.xz | tar x
1414
mv build/ffmpeg*/ffmpeg build/ffmpeg*/ffprobe build/bin
1515

1616
build/layer.zip: build/bin/ffmpeg

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is an AWS Lambda layer containing statically linked `ffmpeg` and `ffprobe`
44

55
## Use within Lambda
66

7-
You can use a pre-deployed ARN: `arn:aws:lambda:us-east-1:145266761615:layer:ffmpeg:1` or deploy yourself -- edit Makefile to set your deployment bucket etc, then just run `make deploy`.
7+
You can use a pre-deployed ARN: `arn:aws:lambda:us-east-1:145266761615:layer:ffmpeg:3` or deploy yourself -- edit Makefile to set your deployment bucket etc, then just run `make deploy`.
88

99
The binares will be in `/opt/bin/ffmpeg` and `/opt/bin/ffprobe` inside your Lambda container.
1010

0 commit comments

Comments
 (0)