Demo of auto-generating subtitles for any video with Python's Autosub. Inspired by the tutorial.
brew install pythonbrew install ffmpegClone the repository:
git clone https://github.com/remarkablemark/autosub-demo.git
cd autosub-demoActivate the virtual environment:
source venv/bin/activateInstall the dependencies:
# pip install git+https://github.com/agermanidis/autosub.git
pip install -r requirements.txtAdd files (.mp4 and .mp3) to directory ./source/ and run:
./autosub.shTranscripts (.srt) will be generated in the same directory.