Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ifeech/subtitler

Creating subtitles from video
https://github.com/ifeech/subtitler

subtitles whisper

Last synced: about 1 month ago
JSON representation

Creating subtitles from video

Awesome Lists containing this project

README

        

# Creator of subtitles for videos

> Tested on python 3.11

Under the hood [whisperx](https://github.com/m-bain/whisperX)

## Function

- Create .srt file based on video
- Creating subtitles for all videos in a folder
- Support various languages

## Installation

1. Clone a repository
2. Create a virtual environment
```python -m venv .venv```
3. Activating the virtual environment
**Windows**: ```.venv\Scripts\activate```
**macOS и Linux**: ```source .venv/bin/activate```
4. Dependency installation
```pip install -r requirements.txt```
> It is recommended to use cuda.
> If cuda is not supported exclude torchaudio, torchvision, torchvision from dependencies.

## Usage

**.env.example** -> **.env** and specify values for environment variables.

```python main.py --path ""```

-p (--path) You can specify the path to the file or the path to the video folder.