Skip to content

Commit 3d00bfc

Browse files
committed
chore: ffmpeg 설치 config파일 추가
1 parent 3cb6288 commit 3d00bfc

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.ebextensions/ffmpeg.config

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
packages:
2+
yum:
3+
wget: []
4+
tar: []
5+
6+
commands:
7+
01-download-ffmpeg:
8+
command: "wget -O /tmp/ffmpeg.tar.xz https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-3.4.2-64bit-static.tar.xz"
9+
10+
02-create-dir:
11+
command: "mkdir -p /opt/ffmpeg"
12+
13+
03-extract:
14+
command: "tar -xvf /tmp/ffmpeg.tar.xz -C /opt/ffmpeg --strip-components=1"
15+
16+
04-link-ffmpeg:
17+
command: "ln -sf /opt/ffmpeg/ffmpeg /usr/bin/ffmpeg"
18+
19+
05-link-ffprobe:
20+
command: "ln -sf /opt/ffmpeg/ffprobe /usr/bin/ffprobe"

0 commit comments

Comments
 (0)