Installing ffmpeg in Amazon Linux












2















So as the title says I am trying to install ffmpeg package on amazon linux.



I tried the commands:



wget http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm 
sudo rpm -Uhv rpmfusion-free-release-6-1.noarch.rpm
wget http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm
sudo rpm -Uhv rpmfusion-nonfree-release-6-1.noarch.rpm
sudo yum install ffmpeg


but I got the following error:



Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse-simple.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libschroedinger-1.0.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libva.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoradec.so.1(libtheoradec_1.0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_paranoia.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libSDL-1.2.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_cdda.so.0(CDIO_CDDA_0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libopenal.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoraenc.so.1(libtheoraenc_1.0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_cdda.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoradec.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libass.so.4()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse.so.0(PULSE_0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libgsm.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoraenc.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcelt0.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse-simple.so.0(PULSE_0)(64bit)
Error: Package: ffmpeg-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libSDL-1.2.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_paranoia.so.0(CDIO_PARANOIA_0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libv4l2.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libdc1394.so.22()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


Any suggestions?










share|improve this question

























  • I have no experience with rpm, but if you don't need any special libraries compiled with ffmpeg, you could also just download a static build and use that: johnvansickle.com/ffmpeg

    – slhck
    Feb 15 '17 at 9:58
















2















So as the title says I am trying to install ffmpeg package on amazon linux.



I tried the commands:



wget http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm 
sudo rpm -Uhv rpmfusion-free-release-6-1.noarch.rpm
wget http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm
sudo rpm -Uhv rpmfusion-nonfree-release-6-1.noarch.rpm
sudo yum install ffmpeg


but I got the following error:



Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse-simple.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libschroedinger-1.0.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libva.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoradec.so.1(libtheoradec_1.0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_paranoia.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libSDL-1.2.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_cdda.so.0(CDIO_CDDA_0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libopenal.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoraenc.so.1(libtheoraenc_1.0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_cdda.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoradec.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libass.so.4()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse.so.0(PULSE_0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libgsm.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoraenc.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcelt0.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse-simple.so.0(PULSE_0)(64bit)
Error: Package: ffmpeg-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libSDL-1.2.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_paranoia.so.0(CDIO_PARANOIA_0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libv4l2.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libdc1394.so.22()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


Any suggestions?










share|improve this question

























  • I have no experience with rpm, but if you don't need any special libraries compiled with ffmpeg, you could also just download a static build and use that: johnvansickle.com/ffmpeg

    – slhck
    Feb 15 '17 at 9:58














2












2








2








So as the title says I am trying to install ffmpeg package on amazon linux.



I tried the commands:



wget http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm 
sudo rpm -Uhv rpmfusion-free-release-6-1.noarch.rpm
wget http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm
sudo rpm -Uhv rpmfusion-nonfree-release-6-1.noarch.rpm
sudo yum install ffmpeg


but I got the following error:



Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse-simple.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libschroedinger-1.0.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libva.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoradec.so.1(libtheoradec_1.0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_paranoia.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libSDL-1.2.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_cdda.so.0(CDIO_CDDA_0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libopenal.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoraenc.so.1(libtheoraenc_1.0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_cdda.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoradec.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libass.so.4()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse.so.0(PULSE_0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libgsm.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoraenc.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcelt0.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse-simple.so.0(PULSE_0)(64bit)
Error: Package: ffmpeg-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libSDL-1.2.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_paranoia.so.0(CDIO_PARANOIA_0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libv4l2.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libdc1394.so.22()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


Any suggestions?










share|improve this question
















So as the title says I am trying to install ffmpeg package on amazon linux.



I tried the commands:



wget http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm 
sudo rpm -Uhv rpmfusion-free-release-6-1.noarch.rpm
wget http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm
sudo rpm -Uhv rpmfusion-nonfree-release-6-1.noarch.rpm
sudo yum install ffmpeg


but I got the following error:



Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse-simple.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libschroedinger-1.0.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libva.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoradec.so.1(libtheoradec_1.0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_paranoia.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libSDL-1.2.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_cdda.so.0(CDIO_CDDA_0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libopenal.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoraenc.so.1(libtheoraenc_1.0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_cdda.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoradec.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libass.so.4()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse.so.0(PULSE_0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libgsm.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libtheoraenc.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcelt0.so.1()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libpulse-simple.so.0(PULSE_0)(64bit)
Error: Package: ffmpeg-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libSDL-1.2.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libcdio_paranoia.so.0(CDIO_PARANOIA_0)(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libv4l2.so.0()(64bit)
Error: Package: ffmpeg-libs-0.10.15-1.el6.x86_64 (rpmfusion-free-updates)
Requires: libdc1394.so.22()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


Any suggestions?







linux ffmpeg amazon-web-services amazon-ec2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 24 '17 at 12:03









Suncatcher

4081415




4081415










asked Feb 14 '17 at 14:56









nonerthnonerth

1113




1113













  • I have no experience with rpm, but if you don't need any special libraries compiled with ffmpeg, you could also just download a static build and use that: johnvansickle.com/ffmpeg

    – slhck
    Feb 15 '17 at 9:58



















  • I have no experience with rpm, but if you don't need any special libraries compiled with ffmpeg, you could also just download a static build and use that: johnvansickle.com/ffmpeg

    – slhck
    Feb 15 '17 at 9:58

















I have no experience with rpm, but if you don't need any special libraries compiled with ffmpeg, you could also just download a static build and use that: johnvansickle.com/ffmpeg

– slhck
Feb 15 '17 at 9:58





I have no experience with rpm, but if you don't need any special libraries compiled with ffmpeg, you could also just download a static build and use that: johnvansickle.com/ffmpeg

– slhck
Feb 15 '17 at 9:58










1 Answer
1






active

oldest

votes


















0














I guess you used commands from this guide, but this method doesn't work.
This error happens because Amazon Linux doesn't include most multimedia libs including ffmpeg, Pulse and so on. You need to add CentOS repos, which contain these missing packages.



I had the same error and this is how I dealt with it.





  1. Create repo-file where you should include CentOS repos of proper version.This is important!
    If your AMI EPEL repos have 6th version, then use CentOS 6. If 7th, then CentOS 7.



    [base]
    name=CentOS-6 - Base
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os
    #baseurl=http://mirror.centos.org/centos/6/extras/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    [updates]
    name=CentOS-6 - Updates
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates
    #baseurl=http://mirror.centos.org/centos/6/updates/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    [extras]
    name=CentOS-6 - Extras
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras
    #baseurl=http://mirror.centos.org/centos/6/extras/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    #additional packages that extend functionality of existing packages



  2. Import GPG key for the repo



    sudo rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6



  3. Update repos



    yum -y update --skip-broken



  4. Install ffmpeg as usual



    yum install ffmpeg



The method was taken from this thread and a bit adapted to be more up to date.






share|improve this answer
























  • This also needs the nux dextop repo now as ffmpeg is not included in centos repo anymore vultr.com/docs/how-to-install-ffmpeg-on-centos

    – einSelbst
    Aug 8 '17 at 10:32











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1178704%2finstalling-ffmpeg-in-amazon-linux%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I guess you used commands from this guide, but this method doesn't work.
This error happens because Amazon Linux doesn't include most multimedia libs including ffmpeg, Pulse and so on. You need to add CentOS repos, which contain these missing packages.



I had the same error and this is how I dealt with it.





  1. Create repo-file where you should include CentOS repos of proper version.This is important!
    If your AMI EPEL repos have 6th version, then use CentOS 6. If 7th, then CentOS 7.



    [base]
    name=CentOS-6 - Base
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os
    #baseurl=http://mirror.centos.org/centos/6/extras/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    [updates]
    name=CentOS-6 - Updates
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates
    #baseurl=http://mirror.centos.org/centos/6/updates/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    [extras]
    name=CentOS-6 - Extras
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras
    #baseurl=http://mirror.centos.org/centos/6/extras/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    #additional packages that extend functionality of existing packages



  2. Import GPG key for the repo



    sudo rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6



  3. Update repos



    yum -y update --skip-broken



  4. Install ffmpeg as usual



    yum install ffmpeg



The method was taken from this thread and a bit adapted to be more up to date.






share|improve this answer
























  • This also needs the nux dextop repo now as ffmpeg is not included in centos repo anymore vultr.com/docs/how-to-install-ffmpeg-on-centos

    – einSelbst
    Aug 8 '17 at 10:32
















0














I guess you used commands from this guide, but this method doesn't work.
This error happens because Amazon Linux doesn't include most multimedia libs including ffmpeg, Pulse and so on. You need to add CentOS repos, which contain these missing packages.



I had the same error and this is how I dealt with it.





  1. Create repo-file where you should include CentOS repos of proper version.This is important!
    If your AMI EPEL repos have 6th version, then use CentOS 6. If 7th, then CentOS 7.



    [base]
    name=CentOS-6 - Base
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os
    #baseurl=http://mirror.centos.org/centos/6/extras/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    [updates]
    name=CentOS-6 - Updates
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates
    #baseurl=http://mirror.centos.org/centos/6/updates/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    [extras]
    name=CentOS-6 - Extras
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras
    #baseurl=http://mirror.centos.org/centos/6/extras/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    #additional packages that extend functionality of existing packages



  2. Import GPG key for the repo



    sudo rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6



  3. Update repos



    yum -y update --skip-broken



  4. Install ffmpeg as usual



    yum install ffmpeg



The method was taken from this thread and a bit adapted to be more up to date.






share|improve this answer
























  • This also needs the nux dextop repo now as ffmpeg is not included in centos repo anymore vultr.com/docs/how-to-install-ffmpeg-on-centos

    – einSelbst
    Aug 8 '17 at 10:32














0












0








0







I guess you used commands from this guide, but this method doesn't work.
This error happens because Amazon Linux doesn't include most multimedia libs including ffmpeg, Pulse and so on. You need to add CentOS repos, which contain these missing packages.



I had the same error and this is how I dealt with it.





  1. Create repo-file where you should include CentOS repos of proper version.This is important!
    If your AMI EPEL repos have 6th version, then use CentOS 6. If 7th, then CentOS 7.



    [base]
    name=CentOS-6 - Base
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os
    #baseurl=http://mirror.centos.org/centos/6/extras/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    [updates]
    name=CentOS-6 - Updates
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates
    #baseurl=http://mirror.centos.org/centos/6/updates/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    [extras]
    name=CentOS-6 - Extras
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras
    #baseurl=http://mirror.centos.org/centos/6/extras/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    #additional packages that extend functionality of existing packages



  2. Import GPG key for the repo



    sudo rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6



  3. Update repos



    yum -y update --skip-broken



  4. Install ffmpeg as usual



    yum install ffmpeg



The method was taken from this thread and a bit adapted to be more up to date.






share|improve this answer













I guess you used commands from this guide, but this method doesn't work.
This error happens because Amazon Linux doesn't include most multimedia libs including ffmpeg, Pulse and so on. You need to add CentOS repos, which contain these missing packages.



I had the same error and this is how I dealt with it.





  1. Create repo-file where you should include CentOS repos of proper version.This is important!
    If your AMI EPEL repos have 6th version, then use CentOS 6. If 7th, then CentOS 7.



    [base]
    name=CentOS-6 - Base
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os
    #baseurl=http://mirror.centos.org/centos/6/extras/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    [updates]
    name=CentOS-6 - Updates
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates
    #baseurl=http://mirror.centos.org/centos/6/updates/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    [extras]
    name=CentOS-6 - Extras
    mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras
    #baseurl=http://mirror.centos.org/centos/6/extras/x86_64/
    gpgcheck=1
    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
    priority=1
    #additional packages that extend functionality of existing packages



  2. Import GPG key for the repo



    sudo rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6



  3. Update repos



    yum -y update --skip-broken



  4. Install ffmpeg as usual



    yum install ffmpeg



The method was taken from this thread and a bit adapted to be more up to date.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 24 '17 at 10:52









SuncatcherSuncatcher

4081415




4081415













  • This also needs the nux dextop repo now as ffmpeg is not included in centos repo anymore vultr.com/docs/how-to-install-ffmpeg-on-centos

    – einSelbst
    Aug 8 '17 at 10:32



















  • This also needs the nux dextop repo now as ffmpeg is not included in centos repo anymore vultr.com/docs/how-to-install-ffmpeg-on-centos

    – einSelbst
    Aug 8 '17 at 10:32

















This also needs the nux dextop repo now as ffmpeg is not included in centos repo anymore vultr.com/docs/how-to-install-ffmpeg-on-centos

– einSelbst
Aug 8 '17 at 10:32





This also needs the nux dextop repo now as ffmpeg is not included in centos repo anymore vultr.com/docs/how-to-install-ffmpeg-on-centos

– einSelbst
Aug 8 '17 at 10:32


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1178704%2finstalling-ffmpeg-in-amazon-linux%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Сан-Квентин

8-я гвардейская общевойсковая армия

Алькесар