Tested on Linux system, I don't know if, in case the dependencies been satisface can work on Windows, or PC
Watch on GitHub:https://github.com/baitsart...
Transtitulator, translate audio, videos, and automatically write an susbtitles file, .srt, do this with google speech recognition, and google-translate
Usage: Transtitulator , [/path-to-video/] [language-from] [language-to]
Or browse to your video, and select the lenguages
Transtitulator-gtk have a zenity progress bar. Caution this script depends of been with Transtitulator in the same folder, if you rename the script, should modify the command line, it is in the last end line.
Press (Ctrl+Z), to pause the process, or press (Ctrl+C) to cancel.
When is paused you can resume the translations, from where stay
It's can process multiple files on simultaneously
In [language-from], its also available "auto" case you dont know the language of the audio. The languages available are down below.
You can change the language interface by execute: /install-translation.sh
To use in nautilus-script. Replace VIDEO="$1", by : VIDEO="$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS", and replace $VIDEO by $@, in Transtitulator-gtk. And copy to $HOME/.gnome2/nautilus-scripts , or $HOME/.local/share/nautilus/scripts
sudo apt-get install ffmpeg curl wget mplayer gawk zenity
Possible fails: 1, The function when process the audio, it's cut in 8 seconds fragments, and this probably cut some words. 2, Is better to google voice recongition, use clean audio, without music, or other voices, and how ever, can give errors on the convertion, also google translate, but is real that google have got fast evolu in the sources.
I'm sure it's can be made better, but is a start, I hope be help in something.
# Write by Rodrigo Esteves firstname.lastname@example.org www.youtube.com/user/baitsart #