Skip to content

marchinthesun/HandBrake-AVX512

 
 

HandBrake (ZenScale & Threadripper Edition) macOS Build Windows Build Linux Build

This is a high-performance fork of HandBrake specifically optimized for AMD Ryzen 9 (7950X, 9950X) and Threadripper / Threadripper PRO (3990X, 7995WX) processors.

While the original HandBrake is an excellent general-purpose video transcoder, it often hits scalability bottlenecks on high-core-count architectures. This fork rewrites thread scheduling, memory allocation, and vectorization pipelines to fully unlock the power of multi-CCD, NUMA, and AVX-512 capable Zen architectures.


🚀 Key Optimization Features

Unlike upstream builds, this fork includes custom architectural enhancements tailored for professional workstation CPUs:

  • Multi-CCD Thread Affinity: Smart thread scheduling across Core Complex Dies (CCDs). The encoder forces heavy, inter-dependent video blocks to stay within a single CCD, significantly minimizing costly inter-die data penalties over the AMD Infinity Fabric.
  • AVX-512 Native Pipeline: Compiled from the ground up with native hardware acceleration flags (-mavx512f -mavx512vl -mavx512dq). This drastically accelerates CPU-bound video filters, including deinterlacing, color space conversions, and high-quality scaling on Ryzen 7950X and Threadripper 7000/9000 series.
  • NUMA-Aware Scaling for 3990X & 7995WX: Advanced memory-allocation optimizations designed for 64-core and 96-core monsters. The transcoder allocates memory pools locally to the active CPU node, preventing memory latency bottlenecks across massive logical core environments.
  • Latest SVT-AV1 & x265 High-Thread Integration: Injects the absolute bleeding-edge versions of SVT-AV1 and x265 directly from GitHub, featuring custom NUMA-node and thread-pool pooling that can seamlessly scale past 128+ threads without dropping encoding efficiency.

Overview

HandBrake is an open-source video transcoder available for Linux, Mac, and Windows, licensed under the GNU General Public License (GPL) Version 2.

HandBrake takes videos you already have and makes new ones that work on your mobile phone, tablet, TV media player, game console, computer, or web browser—nearly anything that supports modern video formats.

HandBrake works with most common video files and formats, including ones created by consumer and professional video cameras, mobile devices such as phones and tablets, game and computer screen recordings, and DVD and Blu-ray discs. HandBrake leverages tools such as FFmpeg, x264, and x265, SVT-AV1 to create new MP4, MKV or WebM video files from these Sources.

For information on downloading, building/installing, and using HandBrake, see the official HandBrake Documentation.

Community Support

For information on HandBrake's community support channels, please see Community Support.

Please familiarise yourself with our code of conduct.

Contributing

We welcome most contributions. While it is our goal to allow everyone to contribute, contributions not meeting the project's goals or standards may be rejected.

Please read our guide to contributing. This will provide you with all the information you need to start contributing to the project.

Translations

We are now accepting translations via Transifex

Please read our Translations Guide and follow the instructions if you are interested in joining the translation effort.

Additional Information

Application / Project Information
Authors
License
News

Special Thanks

MacStadium

and to many others who have contributed! Thanks

About

High-performance HandBrake fork optimized for AMD Ryzen 7950X, Threadripper 3990X/7995WX & Zen 4/5. Features advanced multi-CCD thread scheduling, native AVX-512 acceleration, and ultra-scalable SVT-AV1/x265 encoding for 4K/8K master workflows.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C 57.5%
  • C# 24.2%
  • Objective-C 14.2%
  • Python 1.4%
  • Shell 1.1%
  • Metal 0.7%
  • Other 0.9%