3/28/2023 0 Comments Handbrake 4kWhen I grabbed this screenshot, HandBrake was estimating 1h07m, but it ended up taking about 1h15m for the entire encode. Using all the same options but CPU encoding instead, HandBrake took 1 hour and 15 minutes to encode the file, so about 5 times as long. You can also see that even using the H.265 (NVenc) encoder, much of the processing is passed to the CPU, as shown in this screenshot that shows my GPU is working, but it’s certainly not being stressed: GPU load is on the left. My mouse is next to the estimated time for encoding the video: 16m50s. Using the H.265 (NVenc) encoder, it took about 17 minutes to convert the 31.7GB MKV file into a 8.4GB m4v file. Make sure you’ve adjusted your Audio, Subtitles, and Tags to your preferences, then click “Start.” That’s all there is to it – you now have GPU encoding. The two options you want are: H.264 (NVenc) or H.265 (NVenc). Again, my mouse is on the wrong option here. Regardless of which you choose, those two will push the encoding to your GPU instead of your CPU. That choice should really be driven by what device you’re going to be playing your videos on. The H.265 codec is newer and has somewhat better compression algorithms, but I’m not going to opine as to which of these you should choose. Those are the two options for using your GPU for the encoding versus using your CPU. In the middle of the screen, you’ll see a drop-down menu labeled “Video Encoder.” Click on that drop-down menu and you should see two NVENC options: H.264 (NVenc) and H.265 (NVenc). To change from CPU encoding to GPU encoding, click on the Video tab: My mouse is on Super HQ 480p 30 in the image, but I selected Super HQ 1080p. For this tutorial, I’m just going to use a General Preset, but I want to illustrate the difference in encoding speed, so I’m going to select Super HQ 1080p30 Surround rather than Fast 1080p30. Once it’s done, you’ll need to select what format you want to convert it to. HandBrake will run through the file, gathering information about the codec, subtitles, audio tracks, etc. Open up HandBrake and load your file you want to convert by clicking on “Open Source.” Find the file you want to convert and select “Open.” I’m going to convert that to a 1080p H265 video file that is substantially smaller in size. I used MakeMKV to pull the video off the BluRay disc, resulting in a 31.7GB file. I’m making a backup copy of the video to store on my file server. The video I’m using to illustrate how to use GPU encoding is a Blu-Ray rip of Pan’s Labyrinth. My GPU (GeForce GTX 1060) and my driver version: 440.100. My CPU is an AMD Ry6-Core, 12-Thread processor. I’m using a GTX 1060 and have Driver version 440.100 installed. Also, to use Nvenc encoding, you’ll need the Nvidia Graphics Driver 418.81 or later and an Nvidia GeForce GTX 1050+ series GPU or better per HandBrake’s documentation. How to Use NVENC GPU Encodingįirst, make sure you have the latest version of Handbrake installed (as of that is version 1.3.3). Version of HandBrake available from the PPA that has NVENC/GPU encoding capabilities. HandBrake 1.3.1 is the current option in the Ubuntu 20.04 repositories. In this post, I’ll show how to use this feature in Handbrake and show some comparisons to illustrate the benefits and tradeoffs that result. Regardless, this option offers dramatic speed improvements, particularly when working with 4K videos. I don’t know exactly when HandBrake added the capability of using the GPU for encoding, but it was somewhere between 1.3.1 (current version in the Ubuntu repositories) and 1.3.3 ( current version on PPA).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |