{"id":47324,"date":"2024-10-05T15:12:12","date_gmt":"2024-10-05T15:12:12","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=47324"},"modified":"2024-10-05T15:12:12","modified_gmt":"2024-10-05T15:12:12","slug":"ffmpeg-7-1-ubuntu-ppa","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/10\/ffmpeg-7-1-ubuntu-ppa\/","title":{"rendered":"FFmpeg 7.1 Added VVC decoder, Vulkan H.264\/HEVC Encoder [Ubuntu PPA]"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/02\/ffmpeg-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-37497\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/02\/ffmpeg-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/02\/ffmpeg-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/02\/ffmpeg-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/02\/ffmpeg-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/02\/ffmpeg-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/02\/ffmpeg-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>The popular FFmpeg media library released new version 7.1 a few days ago. Here are the new features and Ubuntu PPA for Ubuntu 22.04 and Ubuntu 24.04 users.<\/p>\n<p>The new release of FFmpeg library added <b>official\u00a0VVC decoder<\/b> support. Versatile Video Coding (VVC in short), also known as H.266, has about 50% better compression rate for the same quality compared to HEVC (aka H.265).\u00a0 It supports resolutions ranging from very low up to\u00a04K, 16K, and 360\u00b0 videos, as well as YCbCr 4:4:4, 4:2:2 and 4:2:0 with 8\u201310 bits per component, HDR, variable and fractional frame rates from 0 to 120 Hz, and more.<\/p>\n<p>FFmpeg added experimental VVC decoding support since the last 7.0 version. Now, the decoder goes official and it&#8217;s compatible with DVB test content. The release also supports for decoding VVC with Intel Quick Sync Video acceleration. As well, it supports <b>encoding VVC<\/b> using libvvenc library.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/ffmpeg-vvc-decoder.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47325\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/ffmpeg-vvc-decoder-700x420.webp\" alt=\"\" width=\"610\" height=\"366\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/ffmpeg-vvc-decoder-700x420.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/ffmpeg-vvc-decoder-300x180.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/ffmpeg-vvc-decoder-768x460.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/ffmpeg-vvc-decoder.webp 1086w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<p>Besides VVC, FFmpeg 7.1 also added support for <b>decoding xHE-AAC audio codec, and MV-HEVC<\/b> (the multiview extension of HEVC). There are as well MediaCodec AAC\/AMR-NB\/AMR-WB\/MP3 decoding, both decoding and encoding support for <b>LC3\/LC3plus<\/b> through external library <code>liblc3<\/code> with version 1.1.0 or higher.<\/p>\n<p>The new release as well added D3D12VA accelerated HEVC encoder, Vulkan accelerated H.264 and H.265 (HEVC) encoder, as well as qsv_params option for QSV encoders.<\/p>\n<p>According to the <a href=\"https:\/\/ffmpeg.org\/index.html#news\" target=\"_blank\" rel=\"noopener\">release note<\/a>, FFmpeg 7.1 also fixed a more than 10 years old issue about the color range:<\/p>\n<p><i>&#8220;Previously, color range data had two paths, no negotiation, and was unreliably forwarded to filters, encoders, muxers. Work on cleaning the system up started more than 10 years ago, however this stalled due to how fragile the system was, and that breaking behaviour would be unacceptable. The new system fixes this, so now color range is forwarded correctly and consistently everywhere needed, and also laid the path for more advanced forms of negotiation.&#8221;<\/i><\/p>\n<p>Other changes in the release include:<\/p>\n<ul>\n<li>pad_vaapi, drawbox_vaapi filters<\/li>\n<li>LCEVC filter<\/li>\n<li>ffmpeg CLI filtergraph chaining<\/li>\n<li>LC3\/LC3plus demuxer and muxer<\/li>\n<li>Cropping metadata parsing and writing in Matroska and MP4\/MOV de\/muxers<\/li>\n<li>deprecated vf_scale2ref<\/li>\n<li>removed DEC Alpha DSP and support code<\/li>\n<li>See <a href=\"https:\/\/git.ffmpeg.org\/gitweb\/ffmpeg.git\/blob\/refs\/heads\/release\/7.1:\/Changelog\" target=\"_blank\" rel=\"noopener\">here<\/a> for more.<\/li>\n<\/ul>\n<h3>How to Install FFmpeg 7.1 in Ubuntu<\/h3>\n<p>The source code for the new release is available to download via the link below:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/ffmpeg.org\/download.html\" target=\"_blank\" rel=\"noreferrer noopener\">Download FFmpeg<\/a><\/div>\n<\/div>\n<p>For Ubuntu users, besides building from the source tarball, I&#8217;ve uploaded it into this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/ffmpeg7\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a> for Ubuntu 22.04 and Ubuntu 24.04.<\/p>\n<p>Either run the 3 commands below one by one to add PPA and install FFmpeg 7.1, or see this <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2024\/04\/ffmpeg-7-0-ppa-ubuntu\/\" target=\"_blank\" rel=\"noopener\">step by step<\/a> guide.<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/ffmpeg7<\/pre>\n<pre>sudo apt update<\/pre>\n<pre>sudo apt install ffmpeg<\/pre>\n<p><b>NOTE: Install non-system version of FFmpeg MAY run into dependency issue and even break your system! You MUST know what you&#8217;re going to do, and know how to restore!!!<\/b><\/p>","protected":false},"excerpt":{"rendered":"<p>The popular FFmpeg media library released new version 7.1 a few days ago. Here are the new features and Ubuntu PPA for Ubuntu 22.04 and Ubuntu 24.04 users. The new release of FFmpeg library added official\u00a0VVC decoder support. Versatile Video Coding (VVC in short), also known as H.266, has about 50% better compression rate for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":37497,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[594,1154],"class_list":["post-47324","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-ffmpeg","tag-multimedia"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/47324","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=47324"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/47324\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/37497"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=47324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=47324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=47324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}