GitHunt
RA

ramimK0bir/dubbing

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

  • 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.

Requirements

  • python 3.12 or older.
  • ffmpeg

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

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

what's new in version 0.0.1 ?

  • male voice added.

Upcoming features

  • ................

Languages

Python95.5%Jupyter Notebook4.5%

Contributors

MIT License
Created February 14, 2026
Updated February 20, 2026
ramimK0bir/dubbing | GitHunt