I recently had the need to create video thumbnails in a project, and to generate them I used the good old ffmpeg . No tutorial worked properly for installation on an Amazon EC2 instance, and that was the only way I could achieve that.
This file contains 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
mkdir -v -p /usr/local/bin/ffmpeg | |
cd /usr/local/bin/ffmpeg | |
wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-i686-static.tar.xz | |
tar -v -xf ffmpeg-release-i686-static.tar.xz --strip-components=1 | |
rm -v -f ffmpeg-release-i686-static.tar.xz | |
ln -snf /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg | |
ln -snf /usr/local/bin/ffmpeg/ffpropbe /usr/bin/ffpropbe |
Credits ansible