In the 22.04.0 (and all newer versions, including the master branch) update, the ability to export using the nvenc hardware encoder has disappeared. I solved the problem by editing the profiles.xml file in the program's system folder. I replaced nvenc_h264 with h264_nvenc and the hardware export started working. Dear developers, I ask you to correct this error. Thank you.
Git commit bbd3f61fadb0d77b48483387cca34012c3c5ad1c by Jean-Baptiste Mardelle. Committed on 27/05/2022 at 14:22. Pushed by mardelle into branch 'master'. Fix nvenc codec M +2 -2 data/profiles.xml https://invent.kde.org/multimedia/kdenlive/commit/bbd3f61fadb0d77b48483387cca34012c3c5ad1c
Git commit 456bb4fb76c6f1066ab637687f97658ea47abee3 by Jean-Baptiste Mardelle. Committed on 02/06/2022 at 06:28. Pushed by mardelle into branch 'release/22.04'. Fix nvenc codec M +2 -2 data/profiles.xml https://invent.kde.org/multimedia/kdenlive/commit/456bb4fb76c6f1066ab637687f97658ea47abee3
*** Bug 443468 has been marked as a duplicate of this bug. ***