Upgrade already installed ffmpeg software on ubuntu server

I have ffmpeg version 2.2.5 installed on my server which is running on ubuntu. I want to update it to latest version and codecs/libraries.

I have tried the following commands but they are not working.

  • sudo apt-get update
  • sudo apt-get install ffmpeg
  • sudo apt-get update ffmpeg 2.8

( I tried doing the same on my local machine, before I do this on the server, which have ffmpeg 2.4.3 installed and after updating around 238 MB and tons of library. When I run ffmpeg -version or ffmpeg -buildconf it show me the same library and ffmpeg version as before. ) Am I missing something? Do I have to compile it or re-configure it?

Following is current console output for ffmpeg 2.2.5 on my server

ffmpeg version 2.2.5 Copyright (c) 2000-2014 the FFmpeg developers built on Aug 1 2014 09:24:02 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1) configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libtheora --enable-libx264 --enable-libvpx --enable-libmp3lame libavutil 52. 66.100 / 52. 66.100 libavcodec 55. 52.102 / 55. 52.102 libavformat 55. 33.100 / 55. 33.100 libavdevice 55. 10.100 / 55. 10.100 libavfilter 4. 2.100 / 4. 2.100 libswscale 2. 5.102 / 2. 5.102 libswresample 0. 18.100 / 0. 18.100 libpostproc 52. 3.100 / 52. 3.100 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libtheora --enable-libx264 --enable-libvpx --enable-libmp3lame

I want to upgrade to ffmpeg 2.8 version or atleast 2.4

Please guide me.

Edit:

Giving me this menu while running your mentioned command installation option. Are we pointing to only ffmpeg package?

1

2 Answers

If your Ubuntu version is 14.04 LTS, then you can add this ppa from Doug Mcmahon to upgrade your version of ffmpeg.

sudo add-apt-repository -y ppa:mc3man/trusty-media; sudo apt-get update; sudo apt-get install --only-upgrade ffmpeg

Here's a screenshot to verify:

1

27

Remove curent ffmpeg

apt-get remove ffmpeg

Add the repository for ffmpeg4

add-apt-repository -y ppa:savoury1/ffmpeg4

install ffmpeg

apt install -y ffmpeg

print out the version.

ffmpeg -version

Remove the apt repository

add-apt-repository --remove ppa:savoury1/ffmpeg4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like