Closed flyke closed 1 year ago
I will check this, would be a nice feature to have indeed. If the whisper model supports it I will implement it
From the https://github.com/openai/whisper page itself:
Adding --task translate will translate the speech into English:
whisper japanese.wav --language Japanese --task translate
I guess the translate task always translates to english? I saw that the translate function is available in c#, but I can't set the destination language. I guess it defaults to english then
At least something to play with :) Sometimes eng translation is more than enough.
So could you create a release that has the translate to english option ?
Will do today
I would like to see an optional translation feature. So the code optionally asks for a translation language code. If given, it will translate the subtracted text to the desired language before saving it into the .srt file. So this could essentially generate Dutch subtitles for an English source video for example.