How to embed generated subtitles with timing? Like each spoken word is highlighted - any open source for this? #1957
Replies: 2 comments 4 replies
-
For inspiration, take a look at #435 (reply in thread) which makes a video out of audio, but you may be able to adapt it to suit your purposes. That snippet was using a .ass file as input, but Whisper can now generate an SRT file with word highlighting like this: whisper --output_format srt --word_timestamps True --highlight_words True YOURINPUTFILE Once you have that SRT file, you can use a command like the one in the linked comment to try to overlay that subtitles file over a video, but use your SRT file instead of a .ass file. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What i mean is like in this video each word is highlighted and also embedded to the video
Do you know how can we do such thing?
https://twitter.com/GozukaraFurkan/status/1745466705592164835
Lets say I have generated subtitles with accurate time via Whisper
How can we embed them to the video?
Beta Was this translation helpful? Give feedback.
All reactions