remarkablemark / autosub-demo

Autosub demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Autosub demo

License:MIT License


Languages

Language:Shell 100.0%