Posts

How to Install ffmpeg package in Linux

Step 1: Prerequisites

In order to install ffmpeg package in linux first download the following libraries:

# wget ftp://rpmfind.net/linux/centos/6.5/os/x86_64/Packages/libdc1394-2.1.2-3.4.el6.x86_64.rpm
# yum -y localinstall libdc1394-2.1.2-3.4.el6.x86_64.rpm
# rpm -ivh http://dl.atrpms.net/el7-x86_64/atrpms/stable/atrpms-repo-7-7.el7.x86_64.rpm
# yum -y localinstall atrpms-repo-7-7.el7.x86_64.rpm

Step 2: Installation

RHEL/CentOS/Fedora

Now install ffmpeg package using the following command:

# yum -y install ffmpeg

Ubuntu/Debian

For Ubuntu and Debian Users execute the following command:

# apt-get update
# apt-get install ffmpeg

Step 3: Check Version

To check the current version of ffmpeg, execute the below command:

# ffmpeg -version

ffmpeg version 2.0.2
built on Oct 27 2013 11:21:04 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)