Bug 446977

Summary: Speech recognition works only just for the first sentence
Product: [Applications] kdenlive Reporter: arozehnal
Component: Video Effects & TransitionsAssignee: Vincent PINON <vpinon>
Status: RESOLVED NOT A BUG    
Severity: normal CC: fritzibaby
Priority: NOR Flags: fritzibaby: timeline_corruption+
Version First Reported In: 21.12.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: PD WARRIOR WARMUP.mp4-cut1.kdenlive

Description arozehnal 2021-12-14 14:16:49 UTC
SUMMARY
***
Speech recognition has started to work again in this build
but only the first sentence of the entire clip is ever inserted in the timeline
***


STEPS TO REPRODUCE
1.  add clip into timeline
2. Project -> Subtitle -> Speech recognition - Time line zone (all track)
3. Process, after while message !"ubtitles imported",   subtitle  appears , but just first sentece from the clip
OBSERVED RESULT


EXPECTED RESULT
the subtitle for whole clip

SOFTWARE/OS VERSIONS
Windows: 10 Pro
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 emohr 2021-12-19 13:22:45 UTC
Thank you for reporting. Is this a clip with more than 1 audio stream? Can you upload here a short sequence of this clip?
Comment 2 arozehnal 2021-12-19 14:44:24 UTC
It was clip downloaded from YT https://youtu.be/Od_tnLP2Y18 (just one audio stream).
I tried multiple clips, mostly downloaded from YT.
Comment 3 emohr 2021-12-19 19:06:53 UTC
Created attachment 144686 [details]
PD WARRIOR WARMUP.mp4-cut1.kdenlive

I downloaded the clip from Youtube and speech to text is working. 
I upload here the speech to text which was generated as Kdenlive project.

Do you follow these steps: https://docs.kdenlive.org/en/effects_and_compositions/speech_to_text.html?highlight=speech?
Comment 4 arozehnal 2021-12-19 21:39:21 UTC
Oooh Jesus, I'm terribly sorry... these are my first steps with Kdenlive.
I forgot to expand the timeline markers for full length of the project before activating the STT.

STT works , the bug can be closed.
Comment 5 emohr 2021-12-20 15:46:45 UTC
Yes this is important. 
I close this bug. If it still appears in the latest version, please feel free to re-open it and update the affected version number.