New (23+ ver.) of Kdenlive is able to use OpenAI-Whisper to speech recognition and automatic subtitles generation and do it, I’ve to admit, quite well. I’ve used it for movies in Russian and Kazakh languages for now - with Russian did it almost perfect, with Kazakh went worse, but still - Kazakh language?! There’s only 15 mln of Kazakh on this planet and noticeable part of them still live in tents!
However, to get Kdenlive work on openSUSE with all that AI fancy mechanism is tricky because of, as I suppose, invalid settings of depedencies (Kdenlive uses Python a lot, and lack of even tiny script could be a problem).
At the beginning I was unable even to start the app on fresh Tumbleweed Krypto, with everything up to date and nothing messed - just official repos. Kdenlive demanded 2 plugins, which, as I checked, were already on my HDD, installed with Kdenlive itself and it’s official depedencies, so I was in a huge confusion. I’ve checked on RHEL 9 at work - everything worked out-of-the-box there.
As neither uncle Google, nor Kdenlive manual didn’t help, I use “pure logic + lottery method” - checked all not installed packages with “mlt” or “melt” (multimedia framework, on which kdenlive depends on) in their names. One of them had also “python” in it’s name, so… to start Kdenlive you need, besides of it’s declared depedencies, these packages:
phyton3-mlt
libmlt7-module-qt6 (only if you use Qt6 library - with Qt5 additional module is not needed)
Then you can configure (in Settings > Speech recognition) using OpenAI-Whisper. Kdenlive offer you to install necessary addons (Python modules) on it’s own, from the application level. That’s very convinient and user-friendly, but… here the depedencies problem appears again.
After quite long searches and using mentioned above “pure logic + lottery method” I got such list of Python and Python-releated extra (it means besides these, which are marked as kdenlive depedencies in YaST) packages, which made my Kdenlive work and use OpenAI-Whisper:
python311-xmltodict
python311-pip-api
python311-pip-tools
python311-wheel
python311-pip-wheel
python311-build
python311-pipx
pyenv
If your openSUSE uses another Python version, use packages with correct version in their names (python310… for Python 3.10, python39… for Python 3.9 etc.).
Install them, of course, with all their depedencies.
I’m not 100% sure, if all of them are necessary - I’m not an expert (I remind - I’ve used “pure logic + lottery” method!), but everything, at last, works, so I don’t need more
Maybe that info will be useful for some else also.