What you need:
- A ubuntu server which could use google service
- Anaconda
Installation
- Install ffmpeg
sudo apt install ffmpeg -y
- Create python 2.7 virturalenv
conda create -n python27 python=2.7
conda activate python27
- Install autosub
pip install autosub
- Make sure you can use google service:
curl www.google.com
Usage
Check language list:
autosub --list-languages
Generate subtitle:
autosub -S <language> -D <language> <your video/audio path>
Good luck!