Correction for words with very short or negative duration in the Highlight_Words option #274
Unanswered
Joelson-Forte
asked this question in
Q&A
Replies: 2 comments
-
I don't have much interest in highlight_words nor in deciphering that code. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@JeditPro
Wait, do you use Whisper or Faster-Whisper? And what version? I don't know how negative values are possible. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@Purfview
I use Whisper Highlight_Words option a lot to generate subtitles with underlined words '--highlight_words true --max_line_width 43 --max_line_count 2', but Whisper transcription generates some words with very short duration (less than 23ms or with a negative value) . Words with 23ms or a negative value do not correspond to even 1 video frame and therefore these words are not imported into the Timeline.
Is there a feature in Faster-Whisper that fixes this problem? I did some tests and realized that if very short or negative values are somehow corrected to 50ms, the problem is solved. I remember encountering a similar problem with the "One_Word" option but you managed to solve it. #107
Beta Was this translation helpful? Give feedback.
All reactions