Local Tools
LOCAL · API · AEO

Add Audio to Video

Put music or a voice-over on a video, or swap its sound

100% Client-Side (0 Bytes Uploaded) Drive Vault
Loading local browser engine...

About Add Audio to Video & FAQs

Combine a video with an audio file. Replace the original sound or mix both with separate volume controls, repeat short music until the video ends, and shift when the audio starts. The result is recorded in your browser as MP4 or WebM, depending on what the browser supports.

What happens if the audio and video have different lengths?

The result is always as long as the video. Audio that is longer is cut where the video ends. Audio that is shorter either repeats until the end or stops and leaves silence, depending on the repeat option.

Why does the export take as long as the video?

The video is played and re-recorded on your device in real time, which is what lets it work without uploading anything. A two minute video takes about two minutes. Keep the tab open and visible until it finishes.

Will I get an MP4?

If your browser can record MP4 (current Chrome, Edge and Safari can), MP4 is offered first. Otherwise the file is WebM, which plays in every modern browser and can be converted later.

Extensible Module

Component in src/tools/add-audio-track/. Uses the shared real-time recorder in src/tools/media-extra/record.ts (canvas.captureStream + Web Audio destination + MediaRecorder). Add fades by ramping the GainNodes.

Module path: src/tools/add-audio-track/
Read Extensibility Guide →