9 comments

[ 3.1 ms ] story [ 28.4 ms ] thread
This says it can generate subtitle files, which is something I've wanted from whisper for a while. But does anyone know of a way to do that with just a cli tool that I can run locally? Like, ideally, just `whisper-make-subtitles ./*.mp4` to loop over every .mp4 in a directory and create matching subtitle files.
The whisper command at https://github.com/openai/whisper can generate .srt and .vtt subtitle files using --output_format.
whisper.cpp also has args for this
Well now I feel dumb:P In my defense, that requires finding that option (the readme doesn't discuss options) and knowing that .srt/.vtt are subtitle formats. This is great, thanks!
--help does list the info btw, but that wouldn’t have helped if you didn’t know the file format extensions
This was a lab assignment I gave my students at KTH in Nov 2022Ö https://github.com/ID2223KTH/id2223kth.github.io/blob/master...

See some of their example solutions here (along with their projects in 2022): https://id2223kth.github.io/assignments/project/ServerlessML...

One of the student labs was gamified language learning - say the image in the language you are learning, and Whisper tells you whether you said it in an understandable way.

This Gradio implementation is a more polished version of their early efforts.