Skip to content

A website for AI-based transcript and subtitle generation including a small user editor. (Source code for bachelor thesis)

Notifications You must be signed in to change notification settings

phpp28/subtitle-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subtitle Generator

A website for AI-based transcript and subtitle generation including a small user editor using

This application was developed as part of a bachelor thesis.

Example

example_3.mp4

Video-URL: https://www.youtube.com/watch?v=L6yE7fUE220

More examples can be found here.

Requirements

  • Python 3.10.11 (Download here)
  • Microsoft Visual C++ 14.0 or greater (Download here)
  • FFmpeg 6.0 or greater (Download here)
  • DeepL API Key (Create a free account here)

Setup

  1. Clone repository:
git clone https://github.com/philipp821/subtitle-generator.git
  1. Move into repository directory and create virtual environment:
python -m venv venv
  1. Activate virtual environment:
venv\Scripts\activate
  1. Install packages:
pip install Cython
pip install -r requirements.txt
python -m textblob.download_corpora lite
  1. Download pretrained model for sound event detection and store it in:
\data\configs\panns_inference\Cnn14_DecisionLevelMax_mAP=0.385.pth
  1. Put your DeepL API Key in a file named deepl.key and store it in root directory:
\deepl.key

Usage

  • Activate virtual environment if not already done:
venv\Scripts\activate
  • Run the webserver.py file:
python src\webserver.py
  • Enter http://localhost:5000/ in your browser if it does not open by itself.

About

A website for AI-based transcript and subtitle generation including a small user editor. (Source code for bachelor thesis)

Topics

Resources

Stars

Watchers

Forks