With hidden settings, you can force HandBrake to use GPU whether it is Nvidia NvEnc, AMD, or Intel for faster transcoding. Here's how.
HandBrake is one of the most popular software when it comes to video conversion or transcoding. You can convert almost any format with just a few clicks. The best thing is, HandBrake is not only free but is also very easy to use all the while being customizable with a ton of options. By default, Handbrake uses CPU to transcode video files. Depending on your CPU and the video file(s), it can take a lot of time to complete transcoding. In addition to that, while transcoding, HandBrake uses all your CUP resources making the system unusable at times. In fact, I ever wrote a simple guide or how you can reduce HandBrake CPU usage.
The good thing is, if you have a dGPU (Dedicated Graphics Processing Unit), you can force HandBrake to use that GPU instead of relying solely on the CPU resources. One of the biggest benefits of using GPU transcoding is that it takes less time compared to CPU transcoding, at least in my case.
So, without further ado, let me show you the steps to enable GPU support in HandBrake.
Things to Know Before Forcing GPU Transcode
Before you can go ahead and enable GPU support in Handbrake, there are few things you need to know.
- Your graphics card should have built-in hardware encoders. Specifically, VCE for AMD graphics cards, NVENC for Nvidia, and QSV for Intel. Generally, you can find if your graphics card supports these hardware encoders by looking at the spec sheet available on the manufacturer's website.
- If your GPU has no hardware encoders, you cannot use HandBrake with the GPU.
- When you force HandBrake to use GPU encoding, it comes at the expense of lower quality and higher file size compared to the CPU encoding. If you are interested, take a look at this support document that goes into great detail with various tests.
Steps to Force HandBrake to Use GPU
1. First, open HandBrake by searching for it in the start menu.
2. After opening HandBrake, click on the "Preferences" link appearing on the bottom left corner. You can also open the same from "Tools → Preferences".
3. In the Preferences window, go to the "Video" tab. On the right-panel, select the Encoder of your choice. HandBrake automatically detects your GPU hardware encoders. In my case, since I have Nvidia GPU with NvEnc, I selected the "Allow use of the Nvidia NVENC Encoders" option.
If the encoder options are greyed out, it means that your GPU doesn't support hardware encoders.
4. The settings are automatically saved. You can close the Preferences window.
5. After enabling GPU support, you need to select the video codec. To do that, add a video file to HandBrake and go to the "Video" tab. Here, select the hardware decoder from the "Video Codec" drop-down menu.
Since I'm using Nvidia, I'm selecting the "H.264 Nvidia NVENC" codec. If you are using Intel or AMD, you will see QSV or VCE respectively.
6. That is it. You can now start transcoding the file. If you want to, you can even create a custom preset with all your settings for quick access.
Do remember that though GPU transcoding will reduce the time it takes to transcode, it comes at the cost of quality and increased file size. So, enable the GPU support if you are ok with the trade-offs.
I hope that helps. If you are stuck or need some help, comment below and I will try to help as much as possible. If you like this article, do check out how to batch convert files in HandBrake.