Since my wife’s English isn’t great, I wanted to give the subtitle feature a try.
For some reason I can’t get it to work.
Screenshots on the internet show an “Install missing dependencies” button but I don’t have such a thing.
So I tried to install the modules manually but it doesn’t seem to work.
I am using Linux Mint and Kdenlive 24.05.0 Flatpak.
Can anyone point me in the right direction?
Try with the AppImage from the download page: Download - Kdenlive to see if this is a packaging issue on Flatpak.
Can confirm it’s the Flatpak causing issues.
Wasn’t possible for me to enable the python virtual environment or install Whisper dependencies with the Flatpak version.
Thanks!
Thank you for your reply,
For some reason I can’t seem te get the AppImage running.
I did set it as executable and checked again. Nothing happens when I try to open it.
I must have messed up my system somehow.
Update your Linux OS to the latest version. Then the AppImage should run.
Thank you. For now I have no opportunity to do so.
Mint 20 is still maintained but I will need to upgrade fairly soon.
I’ll keep you guys and girls posted.
Did it work without problems using AppImage?
I can’t test it right now since Mint 20 doesn’t support AppImage.
I will upgrade as soon as I have the opportunity.
Thanks in advance.
It worked without problems using AppImage for me, but I’m on Ubuntu 22.04.4 that apparently supports AppImages.
Just don’t change your audio driver to one you don’t have on your system(Pipewire in my case) in the Kdenlive settings cause it made Kdenlive confused and crash on exit and then again on relaunch(not able to open preview window or something).
So had to reset to default configuration and that fixed it again.
I thought Kdenlive showed me the audio drivers that were installed on my system but nope
Thanks again.
Tonight I gave a more recent version of Mint a go from USB.
And you are completely right! AppImage does the trick.
I could easily install the dependencies and get it to work as it should.
Since Flatpak won’t do this, I will be patient and install the latest Mint when I am ready.
Inside Flatpak it is not really possible to install dependencies at runtime.
Due to this limitation Kdenlive Flatpak doesn’t contain: Whisper subtitle and SeamlessM4T translation due to is big size.
The Kdenlive Flatpak includes vosk, SRT and OTIO.
I also wanted to try this feature, and I also use flatpak. I was a little lost because the docs don’t help you much in this case. Maybe we should open an issue?
Anyway, I followed Veronica’s Explains blog which is marvelously well explained in case someone else want to do this but with flatpak instead of an appimage.
But since this is some thinkering maybe you should do a system snapshot in case you break something and want to go back. I have not done this myself, but I’ve been recommended timeshift
Could you explain what do you mean by “install dependencies at runtime”?
PS: I kinda dislike I wasn’t able to add a link
It’s all about tradeoffs - one of the supposed advantages of flatpak is that it can sandbox the application, which limits what it is able to do.
The appimage is a slightly more open container that let’s you bundle app-specific dependencies, without shutting you off from the host system capabilities as much (but as we’ve discussed elsewhere here, can still limit access (not always desirably) to things like system plugins).
What is your objection to using the appimage, if its model better supports what you want to do in this case?
(you’ll be able to post links once you’ve been here for a bit and earned some trust that you’re not a hit-and-run spammer. it’s occasionally annoying but overall usually a not unreasonable thing)