Summary: | MELT.EXE can support GPU if enabled | ||
---|---|---|---|
Product: | [Applications] kdenlive | Reporter: | Peter Whisker <peter> |
Component: | Video Display & Export | Assignee: | Jean-Baptiste Mardelle <jb> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | facorread, fritzibaby, snd.noise |
Priority: | NOR | Flags: | fritzibaby:
Brainstorm+
|
Version: | git-master | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Peter Whisker
2020-09-03 08:00:48 UTC
Tested on Win7 (NVidia 1650) and Win10 (Intel HD 620). Following your steps and select "H264_QSV" I get the error message "unsupported video codec: h264_qsv". How do you manage to get GPU rendering? Which Kdenlive version and which Shotcut version do you use? I am currently using 20.11.70 which is a daily although I think it also works on the latest formal release. I have deliberately not checked "Bypass codec verification" on the Configure page as that causes another problem because it corrupts the GUI when it comes across the [misc] section on the kdenliverc file (see bug #420595). So when you start kdenlive the Custom codecs in the Rendering menu have a red X and "Unsupported video codec" message, simply select one of them and hit the edit button and then press OK and they will come back to life for that kdenlive session and should work fine. PS: By "Swap the version of melt.exe" what I mean is that I configured the Environment section, MLT environment tab to the following: * C:/Program Files/Shotcut/ffmpeg.exe * C:/Program Files/Shotcut/ffplay.exe * :/Program Files/Shotcut/ffprobe.exe * C:/Program Files/kdenlive/share/mlt/profiles * C:/Program Files/Shotcut/melt.exe I did not move any files around. Thanks for the information. In fact, this is possible in Shotcut because they built FFmpeg with all libraries necessary for GPU accel: NVENC: git://github.com/FFmpeg/nv-codec-headers.git AMF: git://github.com/GPUOpen-LibrariesAndSDKs/AMF.git QSV: git://github.com/lu-zero/mfx_dispatch.git For reference, Shotcut's build script including FFmpeg and MLT's builds is here: https://github.com/mltframework/shotcut/blob/master/scripts/build-shotcut.sh So to have this in Kdenlive's Windows version, we need to add these libraries to Craft, so they can be used when building FFmpeg and MLT. We need to create recipes to build these libs, like is currently done for the other libraries : https://invent.kde.org/packaging/craft-blueprints-kde/-/tree/master/libs/_autotools Also, Craft's FFmpeg version is currently 4.1 while Shotcut uses 4.3 Probably won't have time in the very near future myself so if someone wants to explore this, welcome! This is fixed right? (In reply to farid from comment #5) > This is fixed right? I don't think so. And if you want to render subtitles you have to use the Kdenlive version of melt and do without GPU support. |