Auto generate subtitle for audios and videos

Recently, I’m listening to a tech podcast shoptalkshow

But as my English so poor, I can’t get it clearly. So I just wanted to get subtitle for the audio.

So

first

get the mp3 file from the website source code.

second

sudo apt install ffmpeg
sudo pip install autosub

third

autosub somefile.mp3

It my takes about 20 minutes to recognize the speech. Actually, it uses google translate api.