Recentemente tive a necessidade de criar thumbnails de vídeos em um projeto, e para gerar as mesmas recorri ao bom e velho ffmpeg. Nenhum tutorial funcionou de forma adequada para a instalação em uma instancia EC2 da amazon, e essa foi a única forma que consegui.
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 |
Créditos ansible