
{"id":6247,"date":"2016-09-16T15:25:09","date_gmt":"2016-09-16T15:25:09","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=6247"},"modified":"2016-09-16T15:26:53","modified_gmt":"2016-09-16T15:26:53","slug":"install-ffmpeg-3-1-ubuntu-16-04-ppa","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2016\/09\/install-ffmpeg-3-1-ubuntu-16-04-ppa\/","title":{"rendered":"How to Install FFMPEG 3.1.3 in Ubuntu 16.04 via PPA"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/ffmpeg-icon245.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/ffmpeg-icon245.png\" alt=\"FFMPEG\" width=\"245\" height=\"250\" class=\"alignleft size-full wp-image-6248\" \/><\/a><\/p>\n<p>The popular FFmpeg multimedia library has reached the 3.1.3 release. Here&#8217;s how to install it in Ubuntu 16.04 \/ 14.04 via PPA.<\/p>\n<p>FFmpeg 3.1 features:<\/p>\n<ul>\n<li>DXVA2-accelerated HEVC Main10 decoding for Windows<\/li>\n<li>a variety of new filters<\/li>\n<li>MediaCodec H.264 decoding<\/li>\n<li>new muxers\/demuxers<\/li>\n<li>VA-API accelerated H.264\/HEVC\/MJPEG encoding<\/li>\n<li>an OpenMAX IL encoder with support for the Raspberry Pi<\/li>\n<li>OpenEXR other improvements. <\/li>\n<\/ul>\n<h4>Install FFmpeg 3.1.3 via PPA:<\/h4>\n<div class=\"arconix-box arconix-box-yellow\"><i class='fa fa-2x pull-left fa-lightbulb-o'><\/i><div class=\"arconix-box-content\">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<\/div><\/div>\n<p><a href=\"https:\/\/launchpad.net\/~jonathonf\/+archive\/ubuntu\/ffmpeg-3\" target=\"_blank\">J Fernyhough<\/a> is maintaining a PPA with FFmpeg 3.1.3 packages for Ubuntu 14.04 and Ubuntu 16.04. <\/p>\n<p>1. Open terminal and run command to add PPA:<\/p>\n<pre style=\"border:None;\">sudo add-apt-repository ppa:jonathonf\/ffmpeg-3<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/ffmpeg-3-ppa.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/ffmpeg-3-ppa-600x92.jpg\" alt=\"ffmpeg-3-ppa\" width=\"600\" height=\"92\" class=\"aligncenter size-large wp-image-6249\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/ffmpeg-3-ppa-600x92.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/ffmpeg-3-ppa-450x69.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/ffmpeg-3-ppa.jpg 750w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>2. To upgrade from a previous release, just launch <b>Software Updater<\/b> and upgrade the software libraries after checking for updates.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/upgrade-ffmpeg.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/upgrade-ffmpeg-450x350.jpg\" alt=\"upgrade ffmpeg\" width=\"450\" height=\"350\" class=\"aligncenter size-medium wp-image-6250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/upgrade-ffmpeg-450x350.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/upgrade-ffmpeg-600x467.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/upgrade-ffmpeg.jpg 859w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>Or run the commands below in terminal:<\/p>\n<pre style=\"border:None;\">sudo apt update && sudo apt install ffmpeg libav-tools x264 x265<\/pre>\n<p>After installation, run <code>ffmpeg<\/code> in terminal to get the version info and build details.<\/p>\n<h4>How to restore:<\/h4>\n<p>To restore and downgrade FFmpeg to the stock version in Ubuntu 16.04, purge the ppa via ppa-purge:<\/p>\n<pre style=\"border:None;\">sudo apt install ppa-purge && sudo ppa-purge ppa:jonathonf\/ffmpeg-3<\/pre>","protected":false},"excerpt":{"rendered":"<p>The popular FFmpeg multimedia library has reached the 3.1.3 release. Here&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[594],"class_list":["post-6247","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-ffmpeg"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/6247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=6247"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/6247\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=6247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=6247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=6247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}