Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeepSubtitles Logo

DeepSubtitles

A Python script that generates subtitles and renders them to the video.

This was made as a submission for the DeepGram x Dev Hackathon




Here's a Demo 👀

What it does:

  • Takes a video file's path as the input
  • Generates Subtitles from the video's contents
  • Renders them onto the video

Goal of this project was to provide accessibility to the video for people with disabilities.

Features

  • 💯 Accurate subtitles, powered by Deepgram
  • ⚡ Customisable
  • 👀 Heavily commented and documented code

One Caveat is that it's not a fast script and probably not ideal for a production environment.

If you have any questions, please feel free to reach out to me, if you'd like to contribute to this project, feel free to make an issue on Github

Installation and Usage

Clone this repository and download the requirements:

git clone https://github.com/Dhravya/DeepSubtitles
cd DeepSubtitles
pip install -r requirements.txt

Then, go to src/conf.py and enter your Deepgram API key.

Get the key from Here

Make sure to change the video_path variable to the path of the video you want to process.

And finally, run the script:

python src/main.py

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.