Calipus Software

How to Install FFmpeg in Ubuntu/Mint 17 (Part -1)

FFmpeg is a free software project that can record, convert and stream audio and video. It is a very fast video and audio converter.

The syntax of FFmpeg’ command is

[code]ffmpeg [global_options] {[input_file_options] -i input_file} … {[output_file_options] output_file} … [/code]

You can install FFmpeg in two ways :

1. Install From Repository

2. Download Source Code and compile it.

Let’s first discuss about installing from Ubuntu Repository.

Open the terminal and Execute following commands :
$ sudo add-apt-repository ppa:samrog131/ppa

$ sudo apt-get update

$ sudo apt-get install ffmpeg-real

In case, you don’t encounter an error that means you have successfully installed ffmpeg.

Now let’s discuss another scenario, where we shall be installing FFmpeg by compiling source code.

And same can be achieved by following these instructions :
a) Download from

b) Go to the location of downloaded folder and extract the content of tar file. Go to extracted folder and fire following command

$ ./configure

In case, you get following error

"yasm/nasm not found or too old. Use –disable-yasm for a crippled build"

then execute following command

$ apt-get install yasm

which then be followed by following sequence of commands

$ ./configure –enable-shared

$ make

$ make install


If you have executed all command successfully and have not resulted any error then it means that you have successfully installed FFmpeg.

Start Playing with FFmpeg, in upcoming tutorials we shall discuss more about the usage of FFmpeg.

In case you want to learn more about the FFmpeg then is the best resource to start with.

Please share your experiences and feel free to write in case you face any issue in installation of FFmpeg.

Sandeep Kumar

Sandeep Kumar is a web consultant having experience of more than 9 years in website development, Brand Promotion, Digital Marketing and Social Media Marketer. Sandeep consults, develops, speak and write about building high quality web based solutions. He loves to interact with people and believe that communication is the key to success and helps to solve complex problems. He can be reached at

Leave a Reply