I’m using Handbrake to convert some 4K videos to H.265 files but Handbrake is overheating my CPU and causing the computer to freeze and crash. I want to limit the Handbrake CPU usage when using x265 so I can use my device while encoding and for temp reasons. How can I do that?
Handbrake is using too much CPU, like 100% CPU during the video encoding. This is good as Handbrake will run all cores of a CPU at 100% usage at full throttle for faster video encoding. However, this is not always good. In some cases, the high Handbrake CPU usage leads to high temperature and crashes on Mac or PC. This problem happens more frequently when using x265 encoders. How to fix Handbrake high CPU temp/usage? How to limit Handbrake CPU usage on Mac and Windows for other work?
1. Limit Handbrake CPU Usage
While Handbrake video encoding is very CPU intensive, there are several settings to tell Handbrake to use fewer CPU cores. Here is how to limit the CPU usage in Handbrake:
- Open Handbrake, add the source video or DVD to convert. Select all the settings for the convert and then click the Video tab and find the Advanced Options (Windows) or Additional Options (macOS).
- Then add the following text to the end of the entry in the box at bottom of advance settings: -x threads=1 to let Handbrake use one CPU thread during the encoding.
- You can also use the --encoder-preset=veryslow to help improve the Handbrake high CPU usage and reduce the CPU heat while keeping good output quality.
- If the threads settings won't work, also try to add "pools=x" to "Advanced Options" under the "Video" tab.
On Windows PC, you can also force Handbrake to use one or more specific CPU cores by changing the affinity in the Task Manager. Below are the simple steps:
- When Handbrake is running, right-click on the Windows taskbar and open Task Manager.
- When the Task Manager opens, click on the Details tab and scroll down to Handbrake.exe.
- Right-click on the Handbrake application and select Set Affinity. You will then see all the CPU cores you can use for Handbrake. Check or disable any CPU cores you'd like.
2. Change HandBrake CPU Priority
On Windows, Handbrake allows you to set the CPU priority to avoid Handbrake high CPU usage and computer freezes/crashes when you need to handle other tasks. Here is how:
- Open Handbrake and click the Preferences and choose Tools.
- Go to the Advanced tab under the Preference Tools window and find the Priority Level.
- Open the dropdown menu and set the Priority Level to Below Normal or Low. Then Handbrake video encoding will be given less CPU when there are other tasks in progress.
3. Enable GPU Hardware Acceleration
If you select a profile that is using hardware encoding with a supported hardware encoder, the video conversion will be handled by the GPU and the CPU will be released. Thus there will be no Handbrake high CPU usage, overheating, or system crashes. GPU hardware encoding is especially important for H.265 encoding. However, your computer must have the supported hardware. If your Mac or PC comes with no compatible hardware, the video decoding, encoding, metadata processing, remuxing, commercial removal, etc. are purely CPU-intensive tasks.
But take into account that CPU encoding is always better in quality and smaller in size. Check Handbrake GPU acceleration >>
- Open Handbrake, add the source video or DVD to convert.
- Click Video and open the Video Encoder dropdown menu. If there is hardware acceleration support on your Mac or PC, you will see GPU H.264/H.265 encoders available.
- Select a GPU encoder for the conversion and Start.
Your computer is inadequate for the GPU conversion? Try MacX Video Converter Pro, a more powerful video converter than Handbrake.
It supports Intel® QSV, Nvidia® (CUDA/NVENC) and AMD to offer 5X faster converting speed; If GPU hardware acceleration is not available, it will apply Hyper-Threading and Multi-Core to speed up the 4K/HD video encoding process. No CPU overheating or crashes.