Skip to content

remarkablemark/autosub-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autosub-demo

Demo of auto-generating subtitles for any video with Python's Autosub. Inspired by the tutorial.

Prerequisites

Python 3:

brew install python

FFmpeg:

brew install ffmpeg

Install

Clone the repository:

git clone https://github.com/remarkablemark/autosub-demo.git
cd autosub-demo

Activate the virtual environment:

source venv/bin/activate

Install the dependencies:

# pip install git+https://github.com/agermanidis/autosub.git
pip install -r requirements.txt

Run

Add files (.mp4 and .mp3) to directory ./source/ and run:

./autosub.sh

Transcripts (.srt) will be generated in the same directory.

License

MIT