Added ffmpeg installation
This commit is contained in:
parent
cfde9dac1b
commit
23ec263d46
13
install-ffmpeg.sh
Executable file
13
install-ffmpeg.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
URL="https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz"
|
||||||
|
FILENAME="ffmpeg-release-amd64-static.tar.xz"
|
||||||
|
|
||||||
|
stat "${FILENAME}" || wget "${URL}" -O "${FILENAME}"
|
||||||
|
tar xvf "${FILENAME}"
|
||||||
|
|
||||||
|
cp -vf ffmpeg-*-amd64-static/ffmpeg /usr/local/bin/
|
||||||
|
cp -vf ffmpeg-*-amd64-static/ffprobe /usr/local/bin/
|
||||||
|
cp -vf ffmpeg-*-amd64-static/qt-faststart /usr/local/bin/
|
||||||
|
|
||||||
|
rm -rvf ./ffmpeg-*-amd64-static
|
Loading…
Reference in New Issue
Block a user