whisper.cpp
whisper.cpp copied to clipboard
Option to store output in the same format that gets logged to console
I like the timestamp/transcription format that is used when logging transcriptions to the console, would it be possible to add an option to save that output format to a file (aside from simply redirecting the command output to a file)?
Also, I like the accuracy colors but that wouldn't be possible to save in a text file. Perhaps HTML could be an option, but I imagine storing the formatting data would be somewhat inefficient in terms of space usage.
@stevennyman
Try appending " | tee outfilename " to your "main" command. You'll get a file with the console output (stdout) without all the technical output (stderr) from "main".
Works on Windows using PowerShell, thanks for the tip @indokid9999 !
I can view the colors using VSCode with the ANSI Colors extension.
[TRANSCRIPTION]
Replace [TIMESTAMP] and [TRANSCRIPTION] with your actual timestamp and transcription data. You can expand this structure to include multiple entries.