Archives For ffmpeg

How to Install FFMPEG 3.1.3 in Ubuntu 16.04 via PPA

Last updated: September 16, 2016

FFMPEG

The popular FFmpeg multimedia library has reached the 3.1.3 release. Here’s how to install it in Ubuntu 16.04 / 14.04 via PPA.

FFmpeg 3.1 features:

  • DXVA2-accelerated HEVC Main10 decoding for Windows
  • a variety of new filters
  • MediaCodec H.264 decoding
  • new muxers/demuxers
  • VA-API accelerated H.264/HEVC/MJPEG encoding
  • an OpenMAX IL encoder with support for the Raspberry Pi
  • OpenEXR other improvements.

Install FFmpeg 3.1.3 via PPA:

Some applications, e.g., DVDStyler and LiVEs, in your system may still use the old FFmpeg libraries. You need to rebuild them yourself to make the new FFmpeg libraries take place

J Fernyhough is maintaining a PPA with FFmpeg 3.1.3 packages for Ubuntu 14.04 and Ubuntu 16.04.

1. Open terminal and run command to add PPA:

sudo add-apt-repository ppa:jonathonf/ffmpeg-3

ffmpeg-3-ppa

2. To upgrade from a previous release, just launch Software Updater and upgrade the software libraries after checking for updates.

upgrade ffmpeg

Or run the commands below in terminal:

sudo apt update && sudo apt install ffmpeg libav-tools x264 x265

After installation, run ffmpeg in terminal to get the version info and build details.

How to restore:

To restore and downgrade FFmpeg to the stock version in Ubuntu 16.04, purge the ppa via ppa-purge:

sudo apt install ppa-purge && sudo ppa-purge ppa:jonathonf/ffmpeg-3

Install Latest FFmpeg Ubuntu

This tutorial is going to show you how to install the latest version of FFmpeg, so far it’s FFmpeg 2.1.2, in Ubuntu, Linux Mint and their derivatives via PPA.

FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. 2.1.2 was released on 2014-01-13. It is the latest stable FFmpeg release from the 2.1 release branch, which was cut from master on 2013-10-28. Amongst lots of other changes, it includes all changes from ffmpeg-mt, libav master of 2013-10-27, libav 9 as of 2013-10-27.

Sam Rog has been maintaining the most recent FFmpeg packages in his PPA for Ubuntu, Linux Mint and their derivatives. The PPA is trustable and so far it supports Ubuntu 14.04, Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10.

The PPA changes so much, now it only provides FFmpeg 2.2.3 for Ubuntu 14.04 and FFmpeg 2.1.4 for Ubuntu 13.10. Please check out the packages from the PPA launchpad page first.

To add the PPA, press Ctrl+Alt+T on keyboard to open terminal. When it open, run below command:

sudo add-apt-repository ppa:djcj/vlc-stable

Then you can check for updates via Synaptic Package Manager. Or just run below commands instead:

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install ffmpeg

install latest ffmpeg ubuntu

The FFmpeg 2.0 has been released for months. If you don’t want to build it from source, now you can install in Ubuntu 13.10 Saucy, Ubuntu 13.04 Raring, and Ubuntu 12.10 Quantal via a PPA repository.

ffmpeg logo

As you may know, FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec – the leading audio/video codec library. Version 2.0 is a major release which brings FTP Protocol support and filter graph description readable from file just to name two. Read more at www.ffmpeg.org

Install FFmpeg 2.0 via PPA:

Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below command to add the ppa:

sudo add-apt-repository ppa:samrog131/ppa

Then update package lists and install ffmpeg:

sudo apt-get update; sudo apt-get install ffmpeg

The PPA also contains other packages that you may not want. Remove the ppa after installation by:

sudo apt-add-repository --remove ppa:samrog131/ppa; sudo apt-get update

Enjoy!