vtrains:This is a control panel based on Whisper. It can extract SRT subtitle files (and other formats) from original audio, or translate Spanish audio into English subtitles. The entire process runs completely offline.

Install

$ git clone https://github.com/MartinxMax/vtrains.git
$ pip install whisper PyQt5

Windows:

https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-8.0.1-full_build.7z

$ mkdir C:\ffmpeg\bin\
$ copy ffmpeg.exe C:\ffmpeg\bin\ffmpeg.exe
$ setx PATH "%PATH%;C:\ffmpeg\bin"

Linux:

$ sudo apt install ffmpeg -y

Usage

$ python vtrans.py
None

Import an MP3 file (if you have a video file, you can change its extension to .mp3).

After completion, the results will be saved in the ./data directory.

None