MatteoFasulo/Whisper-TikTok

Highlight not working properly

Closed this issue · 4 comments

Hello !
First, thank you for the new release, it works nice !

I've noted that the generated video underlines the spoken word and does not highlight it like on the demo video.
I've looked up the whisper.get_writer part in the lib and it seems to underline the word with the tag in iterate_result.

Is it possible to modify the whisper lib in order to make it look like the demo code or am I missing something?

Thanks again for your time

Hi,
I already submitted a pull request to OpenAI/whisper asking to introduce a subtitle_format and word highlighting. Still waiting for an answer from the maintainer

Clone the repository again and use the new CLI arguments for subtitle format and font color.

@remy-vallot did you manage to try the new release with subtitle format and font color?

Hi, thanks for the update! This works very nicely thank you very much!