FFmpeg 9.0"Lei"版本正式发布,这是一个包含超过2200次提交、来自160多位作者贡献的重大版本更新[1]。本次更新涉及1781个文件的修改,新增85000行代码并删除33000行代码[1]。
该版本的核心改进包括对swscale模块长达20年代码的全面重写[1]。重写后的swscale支持CPU和GPU双重后端,涵盖x86 SIMD、AArch64 NEON以及Vulkan SPIR-V后端[1]。此外,FFmpeg新增了原生animated WebP解码能力,关闭了自2015年开启的issue #4907[1],并增加了Dolby Vision Profile 7支持,可通过dovi_split bitstream filter处理UHD Blu-ray流[1]。
版本更新还进行了大规模代码清理工作,移除了OpenMAX编码器、NPP过滤器、CELT独立解码器和Sonic编解码器[1]。七个核心库的主版本号均有提升——libavutil升至61、libavcodec升至63、libavformat升至63、libavdevice升至63、libavfilter升至12、libswscale升至10、libswresample升至7[1],这些变动产生了ABI兼容性破裂[1]。同时,FFmpeg现在默认验证TLS对等证书[1]。
FFmpeg 9.0 "Lei," the project's latest major version, has been released with over 2,200 commits from 160 contributors, modifying 1,781 files with 85,000 lines added and 33,000 removed [1]. The release introduces significant architectural improvements across multiple fronts, including a complete rewrite of the swscale library that has remained largely unchanged for two decades [1].
The swscale redesign now supports both CPU and GPU processing backends, encompassing x86 SIMD optimizations, AArch64 NEON instructions, and a Vulkan SPIR-V backend for hardware acceleration [1]. New decoder capabilities include native support for animated WebP files, resolving issue #4907 that had been open since 2015 [1]. Additionally, FFmpeg 9.0 introduces Dolby Vision Profile 7 support, enabling processing of UHD Blu-ray streams through the dovi_split bitstream filter [1].
The update brings major version increments across all seven core libraries—libavutil to 61, libavcodec to 63, libavformat to 63, libavdevice to 63, libavfilter to 12, libswscale to 10, and libswresample to 7—resulting in breaking ABI compatibility [1]. As part of a comprehensive cleanup effort, the release removes the OpenMAX encoder, NPP filters, CELT standalone decoder, and Sonic codec, while implementing default TLS certificate verification for enhanced security [1].