Good morning. I installed Kdenlive and I can't install missing dependencies for vocal recognition for creating subtitles. On the software configuration page, "The Python Vosk module appears for the voice recognition feature. The Python SRT module is required for automatic subtitles", but clicking does not install anything. What should I do? I'm sorry for my English, I have the program in Italian and I had to translate. STEPS TO REPRODUCE 1. settings Kdenlive 2. speech-to-text 3. install missing dependencies OBSERVED RESULT "The Vosk Python module is required for speech features. The SRT Python module is required for automatic subtiting" SOFTWARE/OS VERSIONS Linux: Ubuntu 20.04.3 LTS ADDITIONAL INFORMATION Instead, it allows me to download voice models from https://alphacephei.com/vosk/models. I also installed Phyton.
Do you follow these steps https://docs.kdenlive.org/de/effects_and_compositions/speech_to_text.html?highlight=speech ?
Good evening. First of all, thank you for the reply! I followed the instructions through the attached link (Phyton installed and terminal drivers) but the problem persists. What can you do yet?
Do you have done this step: On Linux open a terminal and put in and run: pip3 install vosk;pip3 install srt
Yes, I have already installed correctly from the terminal! I'm thinking that maybe I haven't completely installed Phyton but I just unpacked ... how do you launch or how to install phyton? The "Install-sh" file is present and not present "install.sh" ...
Thanks for your report! First of all it would be important to know how you installed Kdenlive (Appimage, Flatpak, PPA,…) On Ubuntu python3 is usually pre-installed so there is no need to install it. You can check if python3 is installed by running the following command in a terminal: python3 -V
Yes, typing "python3 -V" from Terminal It comes out "It comes out "Python 3.8.10"! Moreover, always from the terminal, when typing "pip3 install vosk;pip3 install srt" it comes out from the terminal "Requirement already satisfied". Launching the program KdenLive on "vocal recognition" still comes out "The Vosk Python module is required for speech features. The SRT Python module is required for automatic subtiting". Clicking the keys "Install missing dependencies" and "Check the configuration" nothing works... So, why doesn't it Kdenlive work to speech-to-text? Is there any other problem on my computer? No other drivers are missing? I'm sorry but I am not a Linux expert because I only use it for just over 1 year ... I'm also unhappy because that it's a beautiful program and I would like to learn how to use it! Please, can you help me somehow?
I might be able to help you, but ones again: it is important to know how you installed Kdenlive (Appimage, Flatpak, PPA,…)!!! This is an important information that should be included in any bug report, but especially in those dealing with installation or path problems (like this one
Thanks again for all the answers! I automatically installed KDENLIVE from the Store of Ubuntu but AppImage, FLATPAK and PPA they would have to be included in the operating system I think .. sooner or later I would like to format everything and install the latest updated version of Ubuntu (21.10 current) ... I don't know if I solve so ... otherwise, would he have any other advice to give me?
I have to type some command from the terminal to understand what's wrong?
> Thanks again for all the answers! > I automatically installed KDENLIVE from the Store of Ubuntu Okay. So we are coming closer to identify your issue. If you installed it from the Ubuntu Software Store it is likely that you installed the Snap package. The Snap package is not officially maintained by the Kdenlive team and has some more issues than just this one. Please install Kdenlive with one of the methods on https://kdenlive.org/download2/ Do use Fla(In reply to simone141080 from comment #8) > but AppImage, FLATPAK and PPA they would have to be included in > the operating system I think .. No. The easiest way is to download the Appimage. It is a single file that you can just execute by double clicking on it without any further installation, but one downside it that it does not receive updates automatically. Flatpak and PPA can be setup on Ubuntu 20.04 without problems. For Flatpak please see https://flatpak.org/setup/Ubuntu/ and https://flathub.org/apps/details/org.kde.kdenlive for instructions For the PPA see the "Adding this PPA to your system" section on this page: https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-stable
Good evening. I clicked on the links attached and followed the indicated instructions. I performed these terminal commands: For the PPA: - sudo add-apt-repository ppa:kdenlive/kdenlive-stable - sudo apt-get update For the FlatHub: sudo apt install flatpak sudo apt install gnome-software-plugin-flatpak flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo But only this command gave me error signal: flatpak run org.kde.kdenlive I raised the program but the error did not remove ... Did I do something wrong?
(In reply to simone141080 from comment #11) > Good evening. > I clicked on the links attached and followed the indicated instructions. I > performed these terminal commands: > For the PPA: > - sudo add-apt-repository ppa:kdenlive/kdenlive-stable > - sudo apt-get update > You don't need to use PPA and Flatpak. One of both is sufficient. However you also need to installed Kdenlive: sudo apt-get install kdenlive > For the FlatHub: > sudo apt install flatpak > sudo apt install gnome-software-plugin-flatpak > flatpak remote-add --if-not-exists flathub > https://flathub.org/repo/flathub.flatpakrepo > Same here: flatpak install org.kde.kdenlive > But only this command gave me error signal: > flatpak run org.kde.kdenlive > > I raised the program but the error did not remove ... > Did I do something wrong? Since you probably forgot to install Kdenlive in the previous steps (???) it is somehow expected that nothing changed. You should also consider to remove the snap version by uninstalling it from the software center where you installed it.
I uninstalled the version downloaded from the store and followed that your indications and finally works !!! Obviously that version has bugs ... I don't know how to thank you!! A warm greeting from Simone.
Nice to hear it works! BTW in this case it was right to open a bug report since it is indeed a bug with the Snap version. However if you have further questions that are not related to a bug we have Telegram and Matrix groups: https://community.kde.org/Kdenlive#Contact
We should keep it open since it is not fixed in the Snap pack. It was just worked around by using a different package type
Ok. Thank you again!
A possibly relevant merge request was started @ https://invent.kde.org/packaging/snapcraft-kde-applications/-/merge_requests/14