To dub a video into another language but keep the background music, separate the voice from the music first, replace only the speech, and mix the new voice back over the original music. OpenDub (opendub.app) does all three for you: in the OpenDub app on your computer, choose Replace the voice, and the music and effects stay while only the speech changes. In the browser on a computer, with your own Higgs Audio or ElevenLabs key, the card removes the original voice on your device in the same way, for videos up to five minutes. With the free stock voice in the browser the voice is not separated: the music stays, and the original voice is turned down under the new one.
A dubbed video should have new words and the same soundtrack. If the whole audio track is replaced, the music and effects go with the old voice. OpenDub replaces only the speech. This is how it keeps the rest.
Step by step: dub a video and keep the background music
- Open OpenDub. The app on your computer has no length limit; the card at the top of opendub.app dubs videos up to five minutes.
- Choose the video. An MP4, MOV or WebM file on your device. Its language is detected automatically.
- Choose the language to dub into. One of the 17 OpenDub dubs into.
- Choose a voice that clones the speaker. OmniVoice in the app, free for non-commercial use, or your own Higgs Audio or ElevenLabs key.
- Keep the music. In the app, choose Replace the voice. In the browser on a computer with a key, the original voice is removed on your device; the separator downloads once.
- Start the dub and download it. You get the dubbed MP4 with the music in place, the dub audio as WAV and subtitles as SRT.
Separate first
The first step of a dub is separation. Demucs splits the voice from the music and effects. That does two things: the soundtrack survives the dub, and every later step hears a clean voice, which matters for transcribing the words and for cloning the speaker.
Separation runs on your own device, like speech detection, word timing, mixing and rendering. The video file never leaves it.
Two modes: replace the voice, or voice-over
- Replace the voice keeps the music and effects and swaps only the speech.
- Voice-over leaves the original faintly underneath.
Replace the voice is the one to use when the video has background music you want to keep and you do not want to hear the original speaker under the new one.
Mixing the new voice back in
At the end, the new voice goes over the music, matched to the original's loudness. Subtitles are timed to the dubbed voice and burned in.
Each line is also made to fit the moment it replaces. Translations get a character budget sized to how long the speaker took to say the line, and a spoken line more than 15% longer or shorter than the original is tried again, then stretched between 0.75× and 1.3×. So the new speech starts and ends where the old speech did, over the same music. That 0.75×–1.3× range is the OpenDub app on a computer. The free dub in the browser speeds a line up to about 1.25× as a rule, and up to 1.6× when a line still does not fit; it can also slow a line down.
In the browser
The card at the top of opendub.app dubs videos up to five minutes in your tab. On a computer, with your own Higgs Audio or ElevenLabs key, it removes the original voice on your device, keeps the music and swaps only the speech; the voice separator, 172 MB, downloads once. If the browser has no WebGPU, removing the voice runs on the CPU and can take a long time.
With the free stock voice, on a computer or an Android phone, and on phones in general, the voice is not separated, to leave memory for the rest of the dub. The music is still there, and the original voice is turned down under the new one rather than removed. For a clean result with the music kept, use the app on your computer or a key on a computer.
In the app on your computer
The app on your computer has no length limit, and the voice is removed faster. It is also where the free OmniVoice voice runs; OmniVoice's model weights are licensed for non-commercial use only. With Higgs Audio or ElevenLabs you use your own API key and pay that provider directly.
What you get
The app gives you the dubbed MP4, the dub audio as WAV, subtitles in both languages as SRT, and the clip the voice was cloned from. OpenDub is open source under AGPL-3.0-or-later, so the separation and mixing steps are code you can read in the repository.
My product demo has background music. Can I add a Spanish voice-over for customers in Mexico and keep the music?
Say you have an English demo of your product with a music track under it, and your customers in Mexico would rather hear Spanish. You want the same music, Spanish speech that starts and ends with each scene, and a file you are allowed to use in sales. The worries are hearing the English voice under the Spanish one, and whether a free voice may be used in a business video. With OpenDub:
- Decide how clean the sound must be. The free stock voice in the browser dubs an English video into Spanish, up to five minutes, and its licence allows videos that earn money. It keeps the music, but the English voice stays, turned down under the Spanish one.
- For music with no English underneath, remove the voice. Choose Replace the voice in the OpenDub app on your computer, or dub in the browser on a computer with your own Higgs Audio or ElevenLabs key. The original voice is separated out on your device and only the speech is swapped.
- Check the licence for a customer video. OmniVoice, the free cloned voice in the app, is for non-commercial use only, so it does not fit a sales demo. With your own Higgs Audio key, Boson AI's terms allow commercial use, and the cloned voice must be yours or used with the speaker's permission; with ElevenLabs it depends on your plan.
- Check names and labels. Product names and button labels can come out translated. Edit the line and press Apply changes, and only that line is dubbed again.
- Ship it. You get the MP4 with the music in place, the Spanish dub as WAV and subtitles as SRT. The picture is not changed, so text on screen stays in English. Downloading the MP4 or the WAV takes a free sign-in, and the video itself is not uploaded, which helps with a product that is not public yet.
Questions
How do I dub a video into another language but keep the background music?
Separate the voice from the music, replace only the speech, and mix the new voice back over the music. In OpenDub, choose Replace the voice in the app on your computer, or dub in the browser on a computer with your own Higgs Audio or ElevenLabs key; both keep the music and effects and swap only the speech.
Does the free voice in the browser keep the music?
Yes, but it does not remove the original voice: the music stays and the original voice is turned down under the new one.
Is there a length limit?
Up to five minutes in the browser. The app on your computer has no length limit; see AI dubbing for long videos.
Is my video uploaded to separate the music?
No. Separation runs on your own device, in the browser or in the app. With a cloud voice, only speech clips and text go to that provider.
Is there a watermark?
No. OpenDub adds no watermark and no logo; the only thing drawn on the picture is the subtitles.
This is the same AI dubbing as on the OpenDub home page.
The music is kept the same way whatever the language. For the steps for one language pair, see translate video to English, Hindi, Spanish, French or Chinese, or the video language changer for any other pair.