Forked from loong/Install ffmpeg on AWS Linux AMI
Last active
October 9, 2024 20:15
-
-
Save willmasters/382fe6caba44a4345a3de95d98d3aae5 to your computer and use it in GitHub Desktop.
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
# | |
sudo su - | |
cd /usr/local/bin | |
mkdir ffmpeg | |
cd ffmpeg | |
wget https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.2.1-amd64-static.tar.xz | |
tar xvf ffmpeg-4.2.1-amd64-static.tar.xz | |
mv ffmpeg-4.2.1-amd64-static/ffmpeg . | |
ln -s /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg | |
exit |
@januszm thanks for the code snippet but tar is not an option for me since it frozes the machine unfortunately :)
I followed this medium post for install ffmpeg installation in Amazon Linux.
Link: Click here for link
@rajaduraicloud hey it’s better form to post what specifically was needed that worked for you, with a delta of what was given above. Links can changes, sites can go down, but a real comment with real code is written to last. I personally am not seeing any difference in the medium article and the code suggested above?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@VladimirMikulic pretty cool, however this solution still relies on the remote server. I was in a situation where a public server for some package went down couple of times, disrupting deployments. For more "sensitive" projects I'd recommend periodically caching the file on your S3 bucket and using this solution:
You still have to download and upload the release file to S3, but it shouldn't be a big deal if you do it 2-3 times a year or have another CI/CD task to do it for you once a week.