Skip to content

shehbajdhillon/dubbing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Simple Program for Performing AI Dubbing

A Python script for dubbing videos using ChatGPT, ElevenLabs, and Whisper

Prerequisites:

  1. Latest version of Python.
  2. API keys for OpenAI and ElevenLabs.
  3. FFmpeg.

Setup and Usage:

  1. Clone the repository
$ git clone git@github.com:shehbajdhillon/dubbing.git && cd dubbing
  1. Setup Python Virtual Enviroment and Install Dependencies
$ python3 -m venv env && source ./env/bin/activate 
(env) $ pip3 install -r requirements.txt
  1. Make API keys from OpenAI and ElevenLabs available in your current environment
(env) $ export OPENAI_API_KEY=<API_KEY>
(env) $ export ELEVENLABS_API_KEY=<API_KEY>
  1. Run the Python program and pass it an input video (not included in the repository) and a language currently supported by ElevenLabs.
(env) $ python3 main.py example_clip.mp4 hindi

Resources

About

Python script for dubbing videos using ChatGPT, ElevenLabs, and Whisper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages