Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ifeech/subtitler
Creating subtitles from video
https://github.com/ifeech/subtitler
subtitles whisper
Last synced: 2 months ago
JSON representation
Creating subtitles from video
- Host: GitHub
- URL: https://github.com/ifeech/subtitler
- Owner: ifeech
- Created: 2024-08-01T21:58:57.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-02T21:08:08.000Z (5 months ago)
- Last Synced: 2024-09-27T06:22:13.491Z (3 months ago)
- Topics: subtitles, whisper
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.