Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/remarkablemark/autosub-demo
Autosub demo
https://github.com/remarkablemark/autosub-demo
autosub captions demo python script subtitles transcription
Last synced: 12 days ago
JSON representation
Autosub demo
- Host: GitHub
- URL: https://github.com/remarkablemark/autosub-demo
- Owner: remarkablemark
- License: mit
- Created: 2023-05-07T20:55:06.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-06T00:35:10.000Z (4 months ago)
- Last Synced: 2024-10-11T15:13:02.895Z (about 1 month ago)
- Topics: autosub, captions, demo, python, script, subtitles, transcription
- Language: Shell
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# autosub-demo
Demo of auto-generating subtitles for any video with Python's [Autosub](https://github.com/agermanidis/autosub). Inspired by the [tutorial](https://medium.com/@mary.paskhaver/generate-subtitles-with-python-dfa11d03f056).
## Prerequisites
[Python 3](https://www.python.org/downloads/):
```sh
brew install python
```[FFmpeg](https://ffmpeg.org/):
```sh
brew install ffmpeg
```## Install
Clone the repository:
```sh
git clone https://github.com/remarkablemark/autosub-demo.git
cd autosub-demo
```Activate the virtual environment:
```sh
source venv/bin/activate
```Install the dependencies:
```sh
# 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:
```sh
./autosub.sh
```Transcripts (`.srt`) will be generated in the same directory.
## License
[MIT](LICENSE)