Bug 438306

Summary: Speech to text doesn't work
Product: [Applications] kdenlive Reporter: thomas.verniers
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: grave CC: fritzibaby, julius.kuenzel, kde.bugs
Priority: NOR    
Version First Reported In: 21.04.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 21.04.3
Sentry Crash Report:

Description thomas.verniers 2021-06-09 06:35:42 UTC
SUMMARY


STEPS TO REPRODUCE
1. Install vosk-model-fr-0.6-linto-2.0.0 or the same model in 2.2.0
2. Update the speech to text configuration to vosk 0.3.30, SRT 3.4.1
3. Use the speech to text normally

OBSERVED RESULT

The speech to text run but after the process there is no subtitle in the timeline. Before the update of the speech to text configuration that worked.

A try the same configuration on a Ubuntu 20.04.2 LTS i have the same result. 


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: Windows 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 emohr 2021-06-13 14:59:40 UTC
Thank you for reporting. I updated vosk to vosk 0.3.30, SRT 3.4.1. Speech to text seems not to work with vosk 0.3.30, SRT 3.4.1 anymore.
Comment 2 thomas.verniers 2021-06-15 06:49:59 UTC
Thanks for your reply. So is there any solution to reuse the speech to text ?
Comment 3 emohr 2021-06-15 16:44:27 UTC
Before a fix is available you can try to set back the vosk version. Open a command window (under Windows: window+r -> type "cmd") and type "pip3 install -I vosk==0.3.22" (without " sign). This will install vosk version 0.3.22 and the subtitle should work again.
Comment 4 Claudius 2021-06-17 21:59:29 UTC
@emohr: I can report that I have vosk 0.3.30 running here. (I also successfully used 0.3.27 before that) Both in kdenlive 21.04.1 on a windows machine.
Comment 5 emohr 2021-06-18 14:49:59 UTC
Thanks for the feedback, interesting. I tested it on Win7 with Kdenlive 21.04.2. Which Win10 build do you have?
Comment 6 Claudius 2021-06-18 15:23:36 UTC
I run windows 10, but I _also_ had problems with 21.04.2. Could you try 21.04.1 instead?

I reported my exact error here: https://bugs.kde.org/show_bug.cgi?id=438831
Comment 7 Claudius 2021-06-18 15:24:09 UTC
windows 10 20H2 Build 19042.1052 to be precise
Comment 8 Julius Künzel 2021-07-02 21:37:21 UTC
*** Bug 438831 has been marked as a duplicate of this bug. ***