From 23ec263d461789ee6b8fb3fc94a37e96268c67c4 Mon Sep 17 00:00:00 2001 From: Eliezer Croitoru Date: Fri, 27 Sep 2024 16:29:47 +0300 Subject: [PATCH] Added ffmpeg installation --- install-ffmpeg.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 install-ffmpeg.sh diff --git a/install-ffmpeg.sh b/install-ffmpeg.sh new file mode 100755 index 0000000..fc3f7b4 --- /dev/null +++ b/install-ffmpeg.sh @@ -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