MOOOO.

pyVideoTrans

Any video, in any language. Now it speaks Arabic.

An open-source tool that listens to your video, translates it, dubs it with a new voice and adds subtitles, in one workflow.

Video cover: “Dub any video into Arabic in minutes”, with a man talking to the camera, his English subtitle crossed out and replaced by an Arabic one.
  • Free
  • Open source (GPL-3.0)
  • 19k+ GitHub stars
  • Windows · macOS · Linux

Open on GitHub

What it does

pyVideoTrans takes a video in one language and turns it into another. It transcribes the speech, translates the subtitles, generates a dubbed voice track, and merges everything back into the video. It can give each speaker a different voice, clone the original speaker's voice, and lets you pause and edit the text at every step before moving on.

What you can make with it

  • Arabic versions of English (or any language) videos for your audience
  • Subtitle files (SRT) for your own videos, ready to upload
  • Dubbed tutorials, courses and talks with a different voice per speaker
  • Translated subtitles for existing videos
  • Voice-cloned dubs that keep the original speaker's voice

How to use it

Easy way (Windows app)

  1. Download the latest release from https://github.com/jianchang512/pyvideotrans/releases
  2. Unzip it to a folder with an English name and no spaces (for example D:\pyVideoTrans).
  3. Open sp.exe.
  4. Pick your video, the original language, the target language and a dubbing voice, then click Start.

Pro way (macOS / Linux / command line)

  1. Install Python 3.10, FFmpeg and uv (https://docs.astral.sh/uv/).
  2. Get the code and install:
    git clone https://github.com/jianchang512/pyvideotrans.git
    cd pyvideotrans
    uv sync
  3. Launch the app:
    uv run sp.py
  4. Or translate and dub a video into Arabic from the command line:
    uv run cli.py --task vtv --name "./video.mp4" --source_language_code en --target_language_code ar --voice_role "ar-SA-HamedNeural"

Tips for the best results

  • Use videos with clear speech and little background music for the most accurate transcription.
  • Review the translated subtitles before the dubbing step; you can pause and edit at each stage.
  • Use speaker diarization when more than one person talks, so each gets their own voice.
  • The first run downloads the speech recognition model once; after that it's faster.

Quick questions

Is it free?
Yes. It's open source under the GPL-3.0 license.
Does it support Arabic?
Yes, as both a source and a target language.
Can I only get subtitles?
Yes. It can output an SRT subtitle file without dubbing.
Do I need to code?
On Windows, no: download and run sp.exe. On Mac and Linux you paste a few commands once.

Open on GitHub

Liked this tool? Follow me on TikTok and Instagram for a new free tool every week.