whisper.cpp icon indicating copy to clipboard operation
whisper.cpp copied to clipboard

add duration to transcribe

Open eazyliving opened this issue 2 years ago • 0 comments

In addition to --offset-t I'd love to have an option to limit the duration the transcription is done.

smth like

--offset-t 10000 -duration 30000

would start at second 10 and transcribe 30 seconds of audio, stopping at second 40.

I try to create smth like distributed transcription for podcasts. Some episodes having more than an hour (that goes up to 9h easily) is hard to transcribe in one got on one machine. Cutting that audio, distributing parts and then calculating the resulting transcipt may be possible, but not having to cut the audio beforehand would make things way easier.

eazyliving avatar Feb 01 '23 09:02 eazyliving