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)

How to Download Linux CentOS

VersionMinor releaseCD and DVD ISO Images
CentOS-77.0.1406For 32-bit & 64-bit http://mirrors.nayatel.com/centos/7/isos/x86_64/
CentOS-66.6For 32-bit   http://mirrors.nayatel.com/centos/6.6/isos/i386/
For 64-bit   http://mirrors.nayatel.com/centos/6.6/isos/x86_64/
CentOS-55.1For 32-bit   http://mirrors.nayatel.com/centos/5.11/isos/i386/
For 64-bit   http://mirrors.nayatel.com/centos/5.11/isos/x86_64/