FFMPEG Install on EC2 - Amazon Linux

Solution 1:

Well, the direct answer is no, but the correct answer is I can.

When you have missing dependencies during compile, you just need to hunt those down and compile them, then try again. If you're feeling really fancy, you can make your own package out of all those dependencies.

There is no fundamental incompatibility about it, just a bit of hard experience.

Solution 2:

On Fedora or RHEL I use ATRPMS to install ffmpeg. I'm not sure how well that'll work for Amazon Linux. Worst case is you'd pull down all the RPMs manually and then rebuild them locally which should be simpler than trying to build all the ffmpeg deps yourself. And you'd have RPMs you can put in your local repo or whatever.

In regards to the yum package update problem you will want to only include ffmpeg and the packages it depends on in the .repo file. This will keep yum from pulling in other packages from that repo. You can also set yum priorities as well.