{"id":46096,"date":"2024-04-06T15:46:12","date_gmt":"2024-04-06T15:46:12","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=46096"},"modified":"2026-08-05T00:23:13","modified_gmt":"2026-08-05T00:23:13","slug":"ffmpeg-7-0-ppa-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/04\/ffmpeg-7-0-ppa-ubuntu\/","title":{"rendered":"Install FFmpeg (9.0 Updated) via PPA in Ubuntu 26.04, 24.04, 22.04"},"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>FFmpeg media library is now at version 9.0! Here&#8217;s how to install it in Ubuntu 22.04, Ubuntu 24.04, Ubuntu 26.04, Linux Mint 21\/22 from PPA.<\/p>\n<p><a href=\"https:\/\/ffmpeg.org\/index.html#news\" target=\"_blank\" rel=\"noopener\">FFmpeg 9.0<\/a> was released on August 4th 2026, which features <b>animated WebP decoding<\/b>, decoding Apple <b>ProRes RAW<\/b> videos using <b>Apple&#8217;s VideoToolbox<\/b> framework, and Vulkan accelerated APV decoding.<br \/>\n<!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51764\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/ffmpeg9-about2604-700x542.webp\" alt=\"\" width=\"610\" height=\"472\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/ffmpeg9-about2604-700x542.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/ffmpeg9-about2604-300x232.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/ffmpeg9-about2604-768x595.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/ffmpeg9-about2604.webp 912w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>Other features in FFmpeg 9.0 include:<\/p>\n<ul>\n<li>Playdate video encoder and muxer.<\/li>\n<li>Vulkan accelerated 360 degree filter.<\/li>\n<li>NVIDIA GPU accelerated transpose_cuda filter.<\/li>\n<li>AMD GPU accelerated vf_frc_amf filter.<\/li>\n<li>AMF hardware memory mapping.<\/li>\n<li>LCEVC track muxing support in MP4 muxer.<\/li>\n<li>ONNX Runtime DNN backend with GPU execution provider support.<\/li>\n<li>Decoding of HE-AAC audio variant where each AAC frame contains 960 audio samples.<\/li>\n<li>Remove CELT decoding support (doesn&#8217;t affect Opus CELT).<\/li>\n<li>Remove ogg\/celt parsing.<\/li>\n<li>Remove deprecated NVIDIA NVENC options and support for pre-11.1 SDK versions<\/li>\n<\/ul>\n<p>And below are the changes in the last FFmpeg 8.0:<\/p>\n<ul>\n<li>Samsung&#8217;s Advanced Professional Video (APV) decoder.<\/li>\n<li>Apple&#8217;s ProRes RAW decoder.<\/li>\n<li>Sanyo LD-ADPCM, RealVideo 6.0, G.728, and ADPCM IMA Xbox decoders.<\/li>\n<li>Encoding support for APV (via libopenapv wrapper), libx265 alpha layer, and animated JPEG XL.<\/li>\n<li>Vulkan accelerated FFv1 encoding and decoding and ProRes RAW decoding.<\/li>\n<li>Vulkan accelerated VP9, VAAPI accelerated VVC decoding.<\/li>\n<li>Vulkan accelerated AV1 encoding.<\/li>\n<li>Hardware accelerated OpenHarmony H264\/5 decoding &amp; encoding.<\/li>\n<li>New filters: colordetect, pad_cuda, scale_d3d11, Whisper, and others.<\/li>\n<li>APV in MP4\/ISOBMFF muxing and demuxing<\/li>\n<li>VVC in Matroska,<\/li>\n<li>CENC AV1 support in MP4 muxer.<\/li>\n<\/ul>\n<p>Changes in FFmpeg 7.1:<\/p>\n<ul>\n<li>Native decoder\/encoder for VVC (aka H.266).<\/li>\n<li>Read and write IAMF (Immersive Audio) files, and new <code>-stream_group<\/code> CLI option to configure the IAMF structure.<\/li>\n<li>CLI (command-line) tool now is <b>multi-threaded<\/b>.<\/li>\n<li>Encoding support for DXV DXT1.<\/li>\n<li>Decoding support for LEAD MCMP and QOA audio, xHE-AAC, MV-HEVC, and MediaCodec AAC\/AMR-NB\/AMR-WB\/MP3.<\/li>\n<li>Both encoding and decoding for MPEG-5 Essential Video Coding (EVC).<\/li>\n<li>aap, tiltandshift, qrencode filter and qrencodesrc source, quirc, fsync filter, showinfo bitstream filters.<\/li>\n<li>supports for reading QOA, DVD-Video, and writing AEA, Raw Captions with Time (RCWT) closed caption.<\/li>\n<li>D3D12VA hardware accelerated H264, HEVC, VP9, AV1, MPEG-2 and VC1 decoding.<\/li>\n<li>Vulkan accelerated H.264 and H.265 (HEVC) encoder.<\/li>\n<li>ffplay with hwaccel decoding support.<\/li>\n<li>Support for HEIF\/AVIF still images and tiled still images<\/li>\n<\/ul>\n<h3>How to Install FFmpeg (9.0 updated) in Ubuntu<\/h3>\n<p><b>NOTE: FFmpeg is an IMPORTANT library that many graphical apps depend on it. Update FFmpeg MAY run into dependency issue and even break your apps! You MUST know what you&#8217;re going to do, and use the PPA at your own risk!!!<\/b><\/p>\n<p>Besides building the media library from the <a href=\"https:\/\/ffmpeg.org\/download.html\" target=\"_blank\" rel=\"noopener\">source tarball<\/a>, I&#8217;ve upload the new release packages into this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/ffmpeg9\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a> for Ubuntu 26.04, Ubuntu 24.04 and Ubuntu 22.04 on x86_64 and arm64\/armhf platforms.<\/p>\n<p><b>Update: <code>amd64v3<\/code> support added for Ubuntu 26.04 LTS.<\/b><\/p>\n<p><b>1.<\/b> First, press <code>Ctrl+Alt+T<\/code> on keyboard to open up a terminal window. When it opens, run command to add the PPA:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/ffmpeg9<\/pre>\n<p><i>Type user password (no asterisk feedback, just type in mind) when it asks and hit Enter to continue.<\/i><\/p>\n<p><b>Tips:<\/b> for users who still need FFmpeg 8.x or 7.x, use <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/ffmpeg7\" target=\"_blank\" rel=\"noopener\">this PPA<\/a> or <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/ffmpeg7\" target=\"_blank\" rel=\"noopener\">this PPA<\/a> instead.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51761\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/ffmpeg9-ppa-700x537.webp\" alt=\"\" width=\"610\" height=\"468\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/ffmpeg9-ppa-700x537.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/ffmpeg9-ppa-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/ffmpeg9-ppa.webp 702w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p><b>2.<\/b> Ubuntu now auto-refresh system package while adding PPA, but some Ubuntu based system may NOT. Just in case, you can run the command below to do the refresh manually:<\/p>\n<pre>sudo apt update<\/pre>\n<p><b>3.<\/b> Finally, run the command below to either install or upgrade to FFmpeg 9.0:<\/p>\n<pre>sudo apt install ffmpeg<\/pre>\n<p>Though it&#8217;s <strong>HIGHLY recommend to run <code>sudo apt upgrade<\/code> to update all the packages to the latest<\/strong> versions, to avoid in-completed installation.<\/p>\n<p><b>NOTE: For those who have Ubuntu Pro enabled, you need to specify package source (the PPA in the case) via the command below, or it&#8217;s always prior to install the one from Ubuntu ESM.<\/b><\/p>\n<pre>sudo apt install -t \"o=LP-PPA-ubuntuhandbook1-ffmpeg9\" ffmpeg<\/pre>\n<p><i>Also replace number 9 with 8 or 7 if you added the FFmpeg8\/FFmpeg7 PPA for the old versions.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51763\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/apt-ffmpeg9-700x537.webp\" alt=\"\" width=\"610\" height=\"468\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/apt-ffmpeg9-700x537.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/apt-ffmpeg9-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/apt-ffmpeg9.webp 702w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p><b>4.<\/b> After installation, run the command below in terminal to verify:<\/p>\n<pre>ffmpeg --version<\/pre>\n<p>The package in this PPA is backported from <a href=\"https:\/\/deb-multimedia.org\/\" target=\"_blank\" rel=\"noopener\">Deb Multimedia<\/a> repository, with few modifications due to different dependency packages between Debian and Ubuntu.<\/p>\n<p>If you found missing features, feel free to leave comment below, I&#8217;ll try to update it if possible!<\/p>\n<h3>How to Downgrade FFmpeg:<\/h3>\n<p>In case you want to downgrade the FFmpeg library to the stock version available in system repository. Open terminal and run command:<\/p>\n<pre>sudo apt install ppa-purge &amp;&amp; sudo ppa-purge ppa:ubuntuhandbook1\/ffmpeg9<\/pre>\n<p><b>NOTE: Keep an eye in terminal output before answering yes to confirm! It MAY remove some other useful app packages, though it should be able to install them back later.<\/b><\/p>","protected":false},"excerpt":{"rendered":"<p>FFmpeg media library is now at version 9.0! Here&#8217;s how to install it in Ubuntu 22.04, Ubuntu 24.04, Ubuntu 26.04, Linux Mint 21\/22 from PPA. FFmpeg 9.0 was released on August 4th 2026, which features animated WebP decoding, decoding Apple ProRes RAW videos using Apple&#8217;s VideoToolbox framework, and Vulkan accelerated APV decoding.<\/p>\n","protected":false},"author":1,"featured_media":37497,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[594],"class_list":["post-46096","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-ffmpeg"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46096","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=46096"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46096\/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=46096"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=46096"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=46096"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}