What is Nostr?
Meko #nowar /
npub16vd…f0mz
2025-01-10 14:07:15

Meko #nowar on Nostr: Do you know that modern technologies let you quickly and with low effort adapt small ...

Do you know that modern technologies let you quickly and with low effort adapt small video in your language for English speaking community?

1. Install openai-whisper and ffmpeg. I swear this is the most complicated part.

2. Use something like this in console to generate subtitles (of course you need to choose your own language):

whisper --language=Ukrainian video.mp4

3. Open new .srt file and translate it to English (i.e. in google translate if you don't care).

4. You'll still need to manually verify the text after 2. or 3. But correcting it is much easier then creating from scratch.

5. Add graphical subtitles to the video:

ffmpeg -i video.mp4 -vf subtitles=subtitles.srt videoWithSubtitles.mp4

6. Done
Author Public Key
npub16vdh2t0jdtv2lf393thcmzq6hw2ylvlqu42u79gsa2uasky6a7uq96f0mz