Skip to content

Commit a9a9e09

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

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.ebextensions/ffmpeg.config

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
packages:
2+
yum:
3+
ImageMagick: []
4+
ImageMagick-devel: []
5+
6+
commands:
7+
01-wget:
8+
command: "wget -O /tmp/ffmpeg.tar.xz https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-3.4.2-64bit-static.tar.xz"
9+
02-mkdir:
10+
command: "mkdir -p /opt/ffmpeg"
11+
03-tar:
12+
command: "tar xvf /tmp/ffmpeg.tar.xz -C /opt/ffmpeg"
13+
04-ln-ffmpeg:
14+
command: "if [ ! -f /usr/bin/ffmpeg ]; then ln -sf /opt/ffmpeg/ffmpeg-3.4.2-64bit-static/ffmpeg /usr/bin/ffmpeg; fi"
15+
05-ln-ffprobe:
16+
command: "if [ ! -f /usr/bin/ffprobe ]; then ln -sf /opt/ffmpeg/ffmpeg-3.4.2-64bit-static/ffprobe /usr/bin/ffprobe; fi"
17+
06-pecl-imagick:
18+
command: "pecl list | grep imagick || pecl install -f imagick"

0 commit comments

Comments
 (0)