jianfch / stable-ts

Transcription, forced alignment, and audio indexing with OpenAI's Whisper
MIT License
1.59k stars 176 forks source link

I want to set threshold producing srt in order not to let the string length too long. #366

Closed t5862755 closed 5 months ago

t5862755 commented 5 months ago

In my program, I’m only using result_to_srt_vtt() and transcribe(). And I want to set threshold producing srt in order not to let the string length too long in certain timestamp. I only saw the argument “min_word_dur” in result_to_srt_vtt() to set the minimum word for srt file. Thank you for your reading and advice.