{"id":52066,"date":"2026-09-19T13:15:13","date_gmt":"2026-09-19T13:15:13","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=52066"},"modified":"2026-09-19T13:15:13","modified_gmt":"2026-09-19T13:15:13","slug":"ffmpeg-9-0-2-released-with-a-large-amount-of-fixes-improvements","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2026\/09\/ffmpeg-9-0-2-released-with-a-large-amount-of-fixes-improvements\/","title":{"rendered":"FFmpeg 9.0.2 Released with A Large Amount of Fixes &#038; Improvements"},"content":{"rendered":"<p><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\" \/><\/p>\n<p>FFmpeg 9.0.2, the second maintenance release for the 9.0 series of this popular multimedia library, is out!<\/p>\n<p>The new version of this free open-source software introduced a large number of bug-fixes, stability and performance improvements.<\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51834\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/ffmpeg-about901-700x479.webp\" alt=\"\" width=\"610\" height=\"417\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/ffmpeg-about901-700x479.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/ffmpeg-about901-300x205.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/ffmpeg-about901-768x526.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/ffmpeg-about901.webp 878w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>The 9.0.2 includes numerous codec updates. The <b>H.264<\/b> direct decoder now performs the validity check before loading the data. It includes a boundary-value correctness fix that can prevent an out-of-bounds read.<\/p>\n<p>It also includes a multi-threading\/synchronization correctness fix, ensures that both fields of an interlaced reference picture are decoded before using their data for direct prediction, as well the H.264 decoder now clears its error-recovery picture state when starting the second field of an interlaced picture.<\/p>\n<p>The <b>VP8<\/b> decoder got a fix that avoids waiting for invalid negative reference-frame rows. And, the PowerPC optimized VP8 decoder now supports storing 16-pixel rows at any memory alignment.<\/p>\n<p>The Vulkan accelerated <b>HEVC<\/b> decoder has been updated with fix for reference-frame handling by limiting per-category reference counts. And, it does no longer report error when the decoder encounters the remaining slices of a picture that has already been skipped.<\/p>\n<p>The <b>VVC<\/b> (aka H.266) decoder features improved IBC initialization by checking the CTU area, and, a memory-leak \/ error-handling fix by freeing the allocated table\/data structures if <code>pic_arrays_init()<\/code> fails.<\/p>\n<p>The CFHD \uff08CineForm HD\uff09 decoder now validates the channel number after processing each tag, resets allocated band sizes when freeing buffers, and enforces that relevant CFHD header tags must appear at the appropriate point in the bitstream, before the frame buffer is allocated.<\/p>\n<p>The <b>MOV demuxer<\/b> in FFmpeg 9.0.2 got some performance and security improvements. It now stops unnecessarily zero-initializing an array before filling it with file data, improving allocation efficiency.<\/p>\n<p>It avoids unnecessarily clearing a key-string buffer before reading the actual key into it. Thus, saving a small amount of memory initialization work and optimize performance and efficiency.<\/p>\n<p>And, it now limits the number of metadata-key entries according to the size of the keys atom, preventing a malformed MOV\/MP4 file from specifying an impossibly large number of entries.<\/p>\n<p>There are as well numerous other changes, see the <a href=\"https:\/\/github.com\/FFmpeg\/FFmpeg\/blob\/n9.0.2\/Changelog\" target=\"_blank\" rel=\"noopener\">Changelog file<\/a> for details.<\/p>\n<h3>Get FFmpeg 9.0.2<\/h3>\n<p>The source tarball as well as the community maintained packages for Linux, Windows, and macOS are available in FFmpeg website 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, besides waiting for the distribution package update, I&#8217;ll update the <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/ffmpeg9\" target=\"_blank\" rel=\"noopener\">PPA package<\/a> in the next few days and update the text here.<\/p>","protected":false},"excerpt":{"rendered":"<p>FFmpeg 9.0.2, the second maintenance release for the 9.0 series of this popular multimedia library, is out! The new version of this free open-source software introduced a large number of bug-fixes, stability and performance improvements.<\/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-52066","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-ffmpeg","tag-multimedia"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/52066","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=52066"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/52066\/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=52066"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=52066"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=52066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}