Installing ffmpeg On Amazon EC2 Linux AMI 2013.03 | UbuntuCafe

Installing ffmpeg On Amazon EC2 Linux AMI 2013.03

This simple guide will help you to install and configure ffmpeg on Amazon EC2

You have to add CentOS repository first to get the ffmpeg packages on Amazon Linux AMI

Go ahead and create /etc/yum.repos.d/centos.repo :
sudo vi /etc/yum.repos.d/centos.repo

Paste the following lines in it.

[centos]
name=CentOS-6 – Base
baseurl=http://mirror.centos.org/centos/6/os/x86_64/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
enabled=1
priority=1
protect=1
But some libraries are hidden in EPEL repository, it should be already added but not enabled, so edit /etc/yum.repos.d/epel.repo and make sure you have enabled=1 there.

Now we're ready to Install ffmpeg on Linux AMI

sudo yum update
sudo yum -y install ffmpeg

Post a Comment