Bug 512041

Summary: Speech to text subtitles processed but no subtitles in timeline (Kdenlive 25.08.2 & 25.08.3)
Product: [Applications] kdenlive Reporter: Mailboxawoo
Component: Title Clips & SubtitlesAssignee: Jean-Baptiste Mardelle <jb>
Status: REPORTED ---    
Severity: major CC: Mailboxawoo
Priority: NOR    
Version First Reported In: 25.08.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Error in action with 2 VOSK libraries

Description Mailboxawoo 2025-11-13 18:19:18 UTC
Created attachment 186751 [details]
Error in action with 2 VOSK libraries

SUMMARY
When I run any VOSK library regardless of size, the Speech Recognition engine runs for a few seconds then says "Subtitles Imported" in the edit subtitles popout as if it worked properly, but at the bottom right of the Timeline a red error message appears. The "SRT" it points to in the error is always different and never exists (Though I have caught a .WAV file by that name briefly existing at that path).

I've tried with various combinations of the tracks locked/unlocked, I've tried with various combinations of the tracks active/inactive. I've even tried making a brand new project with only that audio track in it. I've uninstalled/reinstalled VOSK, updated PYTHON, PIP, SRT, and KDEN. Installed VOSK and SRT directly in Python via Conda Prompt. I've done the default and custom folders as install paths. And of course I've checked around to see if anyone else has had this issue.

Screenshots of error message if not visible in attachment: https://imgur.com/a/qbm6ASl

STEPS TO REPRODUCE
1. Install VOSK
2. Import Audio clip
3. Run Speech Recognition

OBSERVED RESULT
No subtitles generated, "Subtitles Imported" message in subtitling menu, error message at bottom right

EXPECTED RESULT
Speech analyzed and subtitles generated to audio track

SOFTWARE/OS VERSIONS
Windows: 10 Version 22H2 (10.0.19045 Build 19045)
MLT: 7.33.0
KDE Plasma Version: N/A?
KDE Frameworks Version: 6.18.0 & also 6.19.0
Qt Version: 6.92 and built against 6.92
SRT: 3.5.3
VOSK: 0.3.45

ADDITIONAL INFORMATION
Similar to Bug ID 438306 marked "Resolved Fixed", but that bug is almost 4 years old and no note about error message in bug. Proposed fix does not seem to work.