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

Generating a .txt file

Open LateGame272 opened this issue 2 years ago • 3 comments

Hey there. I'm very new to coding and such and I don't know how to generate an actual txt file with the transcribted audio. I could copy and past the result but then the timestamps would be all over the place, so please help

(EDIT) I used to use the python version on google colab and it auto generates the txt files there.

LateGame272 avatar Oct 28 '23 22:10 LateGame272

(EDIT) I used to use the python version on google colab and it auto generates the txt files there.

Python binding?

bobqianic avatar Oct 29 '23 10:10 bobqianic

You can use the --output-txt flag, look at the help output whisper -h for more output formats. Subtitle output is really useful, even for audio only as you can check results quickly alongside playing audio.

JohnJohnstone avatar Nov 03 '23 22:11 JohnJohnstone

for --output-txt is there a way to set the name of the file? i.e. a uuid string?

mazz avatar Feb 02 '25 02:02 mazz