Skip to content

Instantly share code, notes, and snippets.

@squizduos
Created November 5, 2019 14:59
Show Gist options
  • Save squizduos/3b7387c80fbd2ca86b4bb45dddb33c9d to your computer and use it in GitHub Desktop.
Save squizduos/3b7387c80fbd2ca86b4bb45dddb33c9d to your computer and use it in GitHub Desktop.
Installs static ffmpeg libraries
#!/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