Created
November 5, 2019 14:59
-
-
Save squizduos/3b7387c80fbd2ca86b4bb45dddb33c9d to your computer and use it in GitHub Desktop.
Installs static ffmpeg libraries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# $ARCH=$(dpkg --print-architecture) | |
$ARCH="amd64" | |
mkdir -p /tmp/ffmpeg | |
wget "https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-"$ARCH"-static.tar.xz" -O /tmp/ffmpeg/ffmpeg.tar.xz | |
tar -xf /tmp/ffmpeg/ffmpeg.tar.xz -C /tmp/ffmpeg/ --strip-components 1 | |
cp /tmp/ffmpeg/ffmpeg /tmp/ffmpeg/ffprobe /tmp/ffmpeg/qt-faststart /usr/bin | |
rm -rf /tmp/ffmpeg/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment