If you need to replace audio in a video, you have more options than most people expect. A video file is a container that holds a picture track and a sound track, and swapping the sound means putting a different sound track in the same container. Done well, the picture does not change at all.

The usual reasons are practical. A gameplay capture has a noisy room behind it, a screen recording has an old voiceover, or a clip came with music that you cannot reuse. You may also want to add a clean voiceover or a music bed to a silent clip. This guide shows how to replace audio on a video with the editors already on your computer, with one free command, and with a tool that handles several files at once.

Replace, mix or add: pick the right job first

People use these words loosely, and each one gives a different result.

  • Replace throws away the original sound and uses a new track in its place.
  • Mix keeps the original sound and lays a new track over it, usually quieter so speech stays clear.
  • Add puts sound on a clip that has none. It is the same as replace, with nothing to throw away.

Decide which one you want before you start. If you want to keep some of the original sound, such as a voice, mix it. If the original track is the problem, replace it.

How to replace the audio in a video on Windows

Windows 11 includes Clipchamp, Microsoft’s own video editor, and it also runs in a browser. Microsoft documents the audio steps on its Clipchamp support page.

  1. Add your video to a new project and drag it onto the timeline.
  2. Select the clip, open the audio tab and choose to detach the audio. The sound appears as its own clip.
  3. Select the detached clip and press Delete.
  4. Import your new audio file and drag it under the video on the timeline.
  5. Drag the end of the audio clip so it matches the length of the picture, then export.

If you want a mix instead, skip step 3 and lower the volume of the new clip so it sits under the original sound.

How to change the audio of a video on a Mac

On a Mac the easiest built-in route is iMovie. QuickTime Player is fine for trimming but does not swap sound tracks.

  1. Create a new movie and add your clip to the timeline.
  2. Select the clip and choose Modify, then Detach Audio, as described in Apple’s iMovie guide. The sound now sits below the picture as its own clip.
  3. Select the detached sound and press Delete.
  4. Drag your new audio file onto the timeline under the picture.
  5. Trim the audio to fit and share the movie as a file.

Both Clipchamp and iMovie render the whole video again when you export. For a short clip that is fine, but it takes longer than a copy would and applies compression a second time. Keep your original file so you can go back.

How to replace video audio on Android

Phone editors differ a lot between makers and app versions, and menu names move around, so treat this as a map and not an exact path. Most video editors for Android let you mute the original sound of a clip and then add music or a voice recording from your own files. Look for an audio or music option in the editor, add your track, and lower or mute the original clip sound.

Two checks before you share the result. Play the saved copy from start to end with the volume up, because some apps only mute the sound during playback inside the app. And make sure the original video is still on your phone.

Replace audio in a video with one command

The cleanest way to replace audio in a video without touching the picture is to copy the picture track as it is and attach the new sound track. The free command line tool ffmpeg does this on Windows, Mac and Linux:

ffmpeg -i video.mp4 -i newaudio.mp3 -map 0:v:0 -map 1:a:0 -c:v copy -c:a aac -shortest output.mp4

Here is what each part does:

  • -map 0:v:0 takes the picture from the first file.
  • -map 1:a:0 takes the sound from the second file, which drops the original sound.
  • -c:v copy copies the picture without re-encoding it, so quality stays the same and the job finishes quickly.
  • -c:a aac encodes the new sound in a format that MP4 files support.
  • -shortest stops the output when the shorter of the two inputs ends.

If your new track is shorter than the video, add -stream_loop -1 just before -i newaudio.mp3 and ffmpeg repeats it until the picture ends. Because of -shortest, the file then stops at the end of the video instead of running forever.

To mix the new track with the original sound instead of replacing it, ffmpeg has an amix filter. You can also set the level of each input with the volume filter. The ffmpeg documentation lists the options.

The catch is that a command line is not for everyone, and you have to repeat it for every file or write a loop yourself.

Replace the audio on many videos at once

When you have a folder of clips, the editor routes above get slow, because each clip needs its own project and export. This is the job we built the Replace Audio tool in One App for. It swaps the sound of a video for another track, or mixes the new track with the original at volumes you choose. If the new track is shorter than the video, you can turn on repeat and it loops to fit. The original files are kept. The details are on the Replace Audio page, and the One App overview explains how the offline file tools work together. At the time of writing One App is available for Mac, with Windows listed as coming soon, so check that page for the current status.

It is one option among several. If you have a single clip and a free editor open already, use the editor.

Tips for a clean result

Match the length. Trim the picture first if the new sound is much shorter than the video. A video trimmer makes that quick, and it is easier to work on a short file.

Check the loudness. A voiceover and a music track recorded separately often sit at very different levels. Play the result and adjust the volume of the new track until speech is easy to follow.

Watch the sync. If the video has someone speaking on camera, a new track will not match their lips. Replace sound in that case only when the speaker is off screen or the clip has no speech.

Mind the rights. Only use music and voice recordings that you own or have a licence to reuse. This matters most when the clip will appear on a store page, a website or in an ad test.

Keep the original. Save the replaced version as a new file so you can always go back.

Need the original sound as its own file?

Sometimes you want to keep the old sound and reuse it elsewhere before you replace it. If you only need the sound from a video as a file, Extract Audio pulls it out on its own. If you want a silent clip first and new sound later, our guide on how to remove audio from a video covers that step.

A quick checklist

  1. Keep a copy of the original video.
  2. Decide whether you want to replace, mix or add.
  3. Use the copy method if you want no quality change.
  4. Make the new track the same length as the picture, or loop it.
  5. Play the finished file from start to end with the volume up.

Replacing audio in a video takes only a few minutes once you know which route fits your device and how many files you have. For one clip, use the editor on your device. For many clips, or when quality matters, copy the picture and swap the sound.