{"id":7242,"date":"2017-10-16T11:33:59","date_gmt":"2017-10-16T11:33:59","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=7242"},"modified":"2017-10-16T11:33:59","modified_gmt":"2017-10-16T11:33:59","slug":"ffmpeg-3-4-released-install-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2017\/10\/ffmpeg-3-4-released-install-ubuntu-16-04\/","title":{"rendered":"FFmpeg 3.4 Released! How to Install it in Ubuntu 16.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-6248\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/ffmpeg-icon245.png\" alt=\"FFMPEG\" width=\"245\" height=\"250\" \/><\/p>\n<p>The FFmpeg multimedia library 3.4 &#8220;Cantor&#8221; was released earlier today. Here&#8217;s how to install it in Ubuntu 14.04, Ubuntu 16.04 via PPA.<\/p>\n<details>\n<summary>Click to see what&#8217;s new in FFmpeg 3.4:<\/summary>\n<ul>\n<li>deflicker video filter<\/li>\n<li>doubleweave video filter<\/li>\n<li>lumakey video filter<\/li>\n<li>pixscope video filter<\/li>\n<li>oscilloscope video filter<\/li>\n<li>config.log and other configuration files moved into ffbuild\/ directory<\/li>\n<li>update cuvid\/nvenc headers to Video Codec SDK 8.0.14<\/li>\n<li>afir audio filter<\/li>\n<li>scale_cuda CUDA based video scale filter<\/li>\n<li>librsvg support for svg rasterization<\/li>\n<li>crossfeed audio filter<\/li>\n<li>spec compliant VP9 muxing support in MP4<\/li>\n<li>remove the libnut muxer\/demuxer wrappers<\/li>\n<li>remove the libschroedinger encoder\/decoder wrappers<\/li>\n<li>surround audio filter<\/li>\n<li>sofalizer filter switched to libmysofa<\/li>\n<li>Gremlin Digital Video demuxer and decoder<\/li>\n<li>headphone audio filter<\/li>\n<li>superequalizer audio filter<\/li>\n<li>roberts video filter<\/li>\n<li>The x86 assembler default switched from yasm to nasm, pass <code>--x86asmexe=yasm<\/code> to configure to restore the old behavior.<\/li>\n<li>additional frame format support for Interplay MVE movies<\/li>\n<li>support for decoding through D3D11VA in ffmpeg<\/li>\n<li>limiter video filter<\/li>\n<li>libvmaf video filter<\/li>\n<li>Dolby E decoder and SMPTE 337M demuxer<\/li>\n<li>unpremultiply video filter<\/li>\n<li>tlut2 video filter<\/li>\n<li>floodfill video filter<\/li>\n<li>pseudocolor video filter<\/li>\n<li>raw G.726 muxer and demuxer, left- and right-justified<\/li>\n<li>NewTek NDI input\/output device<\/li>\n<li>Some video filters with several inputs now use a common set of options: blend, libvmaf, lut3d, overlay, psnr, ssim. They must always be used by name.<\/li>\n<li>FITS demuxer and decoder<\/li>\n<li>FITS muxer and encoder<\/li>\n<li>add <code>--disable-autodetect<\/code> build switch<\/li>\n<li>drop deprecated qtkit input device (use avfoundation instead)<\/li>\n<li>despill video filter<\/li>\n<li>haas audio filter<\/li>\n<li>SUP\/PGS subtitle muxer<\/li>\n<li>convolve video filter<\/li>\n<li>VP9 tile threading support<\/li>\n<li>KMS screen grabber<\/li>\n<li>CUDA thumbnail filter<\/li>\n<li>V4L2 mem2mem HW assisted codecs<\/li>\n<li>Rockchip MPP hardware decoding<\/li>\n<li>vmafmotion video filter<\/li>\n<li>use MIME type &#8220;G726&#8221; for little-endian G.726, &#8220;AAL2-G726&#8221; for big-endian G.726<\/li>\n<\/ul>\n<\/details>\n<h4>How to Install FFmpeg 3.4 via PPA in Ubuntu:<\/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\">Not recommended to upgrade from distribution build of FFmpeg, unless you need the latest version for special reasons. And some FFmpeg based applications may need to be re-built after following steps.<\/div><\/div>\n<p><b>1.<\/b> Open terminal via Ctrl+Alt+T or by searching for &#8220;Terminal&#8221; from the dash. When it opens, run command to add the <a href=\"https:\/\/launchpad.net\/~jonathonf\/+archive\/ubuntu\/ffmpeg-3\" target=\"_blank\" rel=\"noopener noreferrer\">PPA repository<\/a> (unofficial):<\/p>\n<pre style=\"border: None;\">sudo add-apt-repository ppa:jonathonf\/ffmpeg-3<\/pre>\n<p><i>Type in password (no visual feedback due to security reason) and hit Enter.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-6249\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/ffmpeg-3-ppa-600x92.jpg\" alt=\"\" width=\"600\" height=\"92\" 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\" \/><\/p>\n<p><b>2. (For Ubuntu 14.04 only)<\/b>, you also need to add another PPA for the dependencies:<\/p>\n<pre style=\"border: none;\">sudo add-apt-repository ppa:jonathonf\/tesseract<\/pre>\n<p><b>3.<\/b> Then upgrade FFmpeg using Software Updater:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-6250\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/upgrade-ffmpeg-600x467.jpg\" alt=\"upgrade ffmpeg\" width=\"600\" height=\"467\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/upgrade-ffmpeg-600x467.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/upgrade-ffmpeg-450x350.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/upgrade-ffmpeg.jpg 859w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Or simply run command:<\/p>\n<pre style=\"border: none;\">sudo apt update &amp;&amp; sudo apt upgrade<\/pre>\n<p><b>How to Restore:<\/b><\/p>\n<p>To undo the changes and restore to the stock version of FFmpeg in main Ubuntu repositories, purge the PPA via command:<\/p>\n<pre style=\"border: none;\">sudo apt install ppa-purge &amp;&amp; ppa-purge ppa:jonathonf\/ffmpeg-3<\/pre>","protected":false},"excerpt":{"rendered":"<p>The FFmpeg multimedia library 3.4 &#8220;Cantor&#8221; was released earlier today. Here&#8217;s how to install it in Ubuntu 14.04, Ubuntu 16.04 via PPA. Click to see what&#8217;s new in FFmpeg 3.4: deflicker video filter doubleweave video filter lumakey video filter pixscope video filter oscilloscope video filter config.log and other configuration files moved into ffbuild\/ directory update [&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,6],"tags":[594],"class_list":["post-7242","post","type-post","status-publish","format-standard","hentry","category-howtos","category-news","tag-ffmpeg"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/7242","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=7242"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/7242\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=7242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=7242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=7242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}