Skip to content

Instantly share code, notes, and snippets.

@srcecde
Created November 19, 2021 08:19
Show Gist options
  • Save srcecde/f03267f88602871ce43e216b351e5ca1 to your computer and use it in GitHub Desktop.
Save srcecde/f03267f88602871ce43e216b351e5ca1 to your computer and use it in GitHub Desktop.
Install & configure ffmpeg, ffprobe on SageMaker (Amazon Linux)
cd /usr/local/bin
sudo mkdir ffmpeg && cd ffmpeg
# check https://johnvansickle.com/ffmpeg/ for latest build
sudo wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
sudo tar -xf ffmpeg-release-amd64-static.tar.xz
sudo ln -s /usr/local/bin/ffmpeg/ffmpeg-4.4.1-amd64-static/ffmpeg /usr/bin/ffmpeg
sudo ln -s /usr/local/bin/ffmpeg/ffmpeg-4.4.1-amd64-static/ffprobe /usr/bin/ffprobe
@snipptree
Copy link

Thanks a lot~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment