Skip to content

This a on testing project for video dubbing. Feel free to contribute on this and fix some issues like "add gender specific voice", "add more idioms", "felling wise translation".

License

Notifications You must be signed in to change notification settings

ramimK0bir/dubbing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • It's a simple video dubbing tool.
  • Use whisper to transcribe.
  • Use pydub and ffmpeg for video processing.
  • Use deep deep_translator to translate.
  • Use gTTS genarate voice from text.

Installation

  1. Clone the repo
git clone https://github.com/ramimK0bir/dubbing.git

2.GO to the directory

cd dubbing

3.Install requirements

pip install -r requirements.txt

4.Run main.py

python main.py --input ./test.mp4 --lang hi --output output.mp4

Google Colab Recommendation

Use Google Colab for a better coding experience:

  • Faster execution with free GPU/TPU resources
  • Easy access to Python and machine learning libraries
  • Seamless cloud-based workflow with no local setup required
  • Simple sharing and collaboration via links

(Replace the link above with your own Colab, GitHub, or notebook link.)

Arguments

When running main.py, you can pass the following arguments:

Argument Type Required Description
--input string yes Filepath of input file
--output string yes Filepath of output file
--lang string yes Target language short code (e.g., es, hi, bn, ru)

Example usage: python main.py --input data.txt --output out.txt --lang es

About

This a on testing project for video dubbing. Feel free to contribute on this and fix some issues like "add gender specific voice", "add more idioms", "felling wise translation".

Topics

Resources

License

Stars

Watchers

Forks