FFmpeg has been removed from Ubuntu 14.04 and was replaced by Libav. This decision has been reversed so that FFmpeg is available now in Ubuntu 15.04 again, but there is still no official package for 14.04. In this tutorial, I will show you how to install FFmpeg from mc3man ppa. Add the mc3man ppa:

sudo add-apt-repository ppa:mc3man/trusty-media

And confirm the following message by pressing <enter>:

Also note that with apt-get a sudo apt-get dist-upgrade is needed for initial setup & with some package upgrades
More info: https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media
Press [ENTER] to continue or ctrl-c to cancel adding it

Update the package list.

sudo apt-get update
sudo apt-get dist-upgrade

Now FFmpeg is available to be installed with apt:

sudo apt-get install ffmpeg
Tagged on:     

19 thoughts on “How to install FFmpeg on Ubuntu 14.04

  • November 20, 2015 at 11:55 pm
    Permalink

    Thank you very much. I was looking all around stack overflow for a solution to this! Works perfect.

    Reply
  • January 6, 2016 at 1:20 pm
    Permalink

    Good job dude. I appreciate you.

    Reply
  • February 8, 2016 at 5:22 pm
    Permalink

    Thank you so much! Got ffmpeg installed and works perfectly! Cheers!

    Reply
  • April 18, 2016 at 5:42 am
    Permalink

    Hi,

    I am new to Ubuntu and trying to play my .cpi format videos and convert into other formats to play in other devices.

    I felt this article is very help and follow all provided steps to install ffmpeg codec into ubuntu 14 but when no luck to play my videos after restart to complete installation..

    when i open videos i am getting same error as before install as an error occurred.

    Please help me to how open .cpi format.

    thanks
    Prathap P

    Reply
    • January 14, 2017 at 8:16 pm
      Permalink

      Hello,

      FFmpeg is not a video player. You can use it to convert your media to other formats playable on your device. However, if you explicitly want to play it on your device without conversion, I would suggest you try VLC.

      If VLC cannot play your media, you might try other options I am not conversant about. In short, it (VLC) is the best media player I have ever known. All the best.

      Regards,
      Minda

      Reply
  • May 11, 2016 at 6:20 pm
    Permalink

    Excelente. Muchas gracias!

    Reply
  • June 6, 2016 at 6:41 am
    Permalink

    Is this going to install the latest version of ffmpeg ?

    Reply
  • July 22, 2016 at 10:44 pm
    Permalink

    Thanks a lot!! Exactly what i wanted.

    Reply
  • August 1, 2016 at 3:05 pm
    Permalink

    thank you installed like a charm

    Reply
  • August 3, 2016 at 11:03 pm
    Permalink

    How do I sudo apt-get install ffmpeg with libssh enabled?

    Reply
  • October 30, 2016 at 3:55 am
    Permalink

    Very cool, thanks.
    Initially I didn’t know how to how confidence in your suggested PPA, but then I went to ffmpeg’s main website and found the ppa address from there (which matches what you’ve provided).

    http://ffmpeg.org/download.html

    Reply
  • November 11, 2016 at 5:30 pm
    Permalink

    Thanks… worked perfectly

    Reply
  • November 12, 2016 at 6:18 pm
    Permalink

    thankyou so much….
    it worked appropriately…:D

    Reply
  • November 15, 2016 at 3:31 am
    Permalink

    Like magic, man. Thank you so much!

    Reply
  • November 23, 2016 at 7:29 am
    Permalink

    It helped me a lot. Thanks bro

    Reply
  • January 5, 2017 at 3:18 am
    Permalink

    This really helped a lot. Appreciated a lot

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *