Last active
March 23, 2019 17:15
-
-
Save taeram/4552318 to your computer and use it in GitHub Desktop.
Install the latest FFmpeg on Ubuntu 14.04
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 | |
# fail fast | |
set -e | |
TARBALL_URL="https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz" | |
echo "*** Downloading "$( basename "$TARBALL_URL" ) | |
TMP_DIR=$( mktemp -d ) | |
curl --silent $TARBALL_URL | sudo tar Jx -C $TMP_DIR --strip-components=1 | |
sudo mv $TMP_DIR/ff* /usr/local/bin | |
echo "Done! FFmpeg can be found in "$( which ffmpeg ) | |
# Cleanup | |
rm -rf $TMP_DIR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment