Skip to content

Instantly share code, notes, and snippets.

@taeram
Last active March 23, 2019 17:15
Show Gist options
  • Save taeram/4552318 to your computer and use it in GitHub Desktop.
Save taeram/4552318 to your computer and use it in GitHub Desktop.
Install the latest FFmpeg on Ubuntu 14.04
#!/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