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

Is there a way to export the .srt file for the audio clip?

Open YiYuGit opened this issue 2 years ago • 1 comments

Or provide the timestamp for each section of the transcripts?

YiYuGit avatar Jan 05 '24 21:01 YiYuGit

Check "4 - Subtitles" example scene which creates and playback subtitles for audioclip. It doesn't serialize them to .srt, but this should be easy to add.

Alternatively, you can use original whisper.cpp main.exe with "-osrt" flag to transcribe audio file to .srt.

Macoron avatar Jan 06 '24 11:01 Macoron