Bug 446977 - Speech recognition works only just for the first sentence
Summary: Speech recognition works only just for the first sentence
Status: RESOLVED NOT A BUG
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (show other bugs)
Version: 21.12.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-14 14:16 UTC by arozehnal
Modified: 2021-12-20 15:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
fritzibaby: timeline_corruption+


Attachments
PD WARRIOR WARMUP.mp4-cut1.kdenlive (45.61 KB, application/xml)
2021-12-19 19:06 UTC, emohr
Details

Note You need to log in before you can comment on or make changes to this bug.
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.