Closed LainNya closed 1 year ago
Hello @LainNya, I checked the whisper.cpp underlying library and it seems that as long as the segment is longer than duration, the full segment is retrieved (not only the specified duration).
https://github.com/ggerganov/whisper.cpp/
I recommend you open an issue directly there, as unfortunately, it cannot be fixed from this wrapper:
Hi! I want to transcribe audio for only one duration. When I use both WithOffset() and WithDuration(), Whisper often outputs text that exceeds the duration setting length, is it my problem?