I am trying to get KdenLive to use my GPU for video rendering. I am using version 24.08.1 and I have downloaded the shared ffmeg library from www.gyan.dev / ffmpeg / builds/ and copied the files to the KdenLive bin folder. I have also copied the profiles to KdenLive’s \share\ffmpeg folder. The changes have been applied using Settings > Configuration wizard and the relevant new presets appear in the rendering dialog under “Hardware Accelerated (experimental)”.
When I try to render a project using one of these settings (NVENC AV1 VBR, NVENC H264 VBR, NVENC H264 ABR), the rendering process crashes after a short time with the error “Rendering crashed”.
Without hardware acceleration the rendering takes an inordinately long time to complete.
My system details are:
Hardware: HP Probook 450 G5 with Intel i7 8550U CPU and Nvidia GeForce 930 MX GPU.
Operating system: Windows 11.
I would be very glad to know that KdenLive can actually support GPU rendering.
A simple search for “Kdenlive GPU rendering” would have resulted in many hits saying that until the movit library is fixed, Kdenlive does NOT have GPU support for playback etc., and that GPU rendering is limited to the ENCODING part of the rendering process, and only if the respective profile is selected (NVENC or VAAPI).
Please do some due diligence (aka internet searches) before posting a question.
Oh, and BTW, there are not that many professional video editing applications out there that truly have GPU rendering.
I did in fact do the due diligence that you speak of. The first hit has the heading “Kdenlive and GPU acceleration is awesome!”, and there are other posts which indicate that it can be done. Even if it is limited to the encoding part of the rendering, I would be glad if I could at least get that working. I am not too concerned about GPU-enabled playback at this stage as it works fast enough for my needs.
I also followed the best instructions I could find for using the GPU to do the encoding, and that’s what I indicated in my original post.
However, after implementing all these instructions as carefully as I can Kdenlive still crashes when I try to render. That is the reason for my post — to see if anyone can provide some guidance on doing GPU encoding successfully.
There was a time when Kdenlive could use HW acceleration via MLT’s movit library. Unfortunately, something broke between MLT and movit, and the use of it had to be disabled (see the greyed out GPU processing in the Settings). So, this statement is probably rather old or relates to a version where GPU processing was supported.
This can have multiple reasons, the sources being one, so I suggest to try with different clips. Also, try the standalone version of Kdenlive as it comes with its own copy of ffmpeg.
Try the standalone version. And if it still crashes, start it from the command line and look for any terminal output that may point towards the cause for the crash (e.g. no disk space, authorization issues, missing libraries).