FFmpeg Lands Latest AVX-512 Optimization: 1.372x Faster In Pixel Format Conversion

Written by Michael Larabel in Multimedia on 19 July 2026 at 07:00 AM EDT. 14 Comments
MULTIMEDIA
The latest hand-tuned code in the FFmpeg multimedia library for allowing better performance on today's modern Intel/AMD AVX-512-capable processors is showing 1.372x faster performance for RGB24 to RGBA pixel format conversions.

Prominent FFmpeg developer Niklas Haas has extended the FFmpeg libswscale to make use of AVX-512's Vector Permute Byte "VPERMB" instructions to help with more efficient video scaling and pixel format conversion. With VPERMB the code now benefits from full cross-lane byte permutation to provide better performance for non-lane-aligned scenarios.

The exciting takeaway for end-users of FFmpeg is that Haas found RGBA24 1920x1080 to RGBA 1920x1080 conversion was 1.372x faster with this reworked code on AVX-512 processors. This is great news for AMD Zen 4 and newer CPUs or Intel Xeon and other select Intel CPUs supporting AVX-512.

More details for those interested in this commit.
Related News
About The Author

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week