Add background music to a video
Add a local music track to a video. Choose Mix with original to keep the source audio under the music, or Replace original to use only the new track. Set the music volume and loop a short track to fill the clip, then render a new MP4.
Add background music to a video
MP4 / MOV / M4V / MKV / WebM / MPEG-TS · up to 2 GiB
The video and music are decoded and mixed in the Worker; nothing is uploaded.
Why local
The Worker decodes the video frames and both audio sources, mixes them in memory, and encodes H.264/AAC in your browser tab. The video and music never leave your device.
How it works
- Add a local video.
- Choose a music file, then pick Mix or Replace, volume, and loop behavior.
- Add the music, preview the result, and download the new MP4.
Capabilities
- Audio modes
- Mix with original keeps the primary video audio under the music. Replace original discards the video audio and uses the music alone. A video with no original audio works in either mode.
- Music volume
- Set the added music to 25%, 50%, 75%, or 100%. The original track is not separately adjustable; use the volume tool first if it needs level changes.
- Looping
- Music starts at 0. Loop to fill repeats a short track until the video ends. Play once leaves silence after the music finishes. Music longer than the video is trimmed to the video length.
- Mix protection
- The mixed result is peak-protected: if the combined signal would clip, the whole mix is reduced and the result card shows a notice.
- Output
- The video is re-rendered at 30 fps H.264 at its source display size, rounded to even dimensions. The mixed audio is encoded as 48 kHz stereo AAC, and the output duration matches the video.
- No upload
- All decoding, mixing, encoding, and MP4 assembly run in the Worker on your device.
Limits
- One video and one music file per job; there is no batch mode or ZIP. Videos are capped at 2 GiB and music at 100 MB.
- Music is decoded into memory for mixing. Long videos can need a lot of memory; over 2 minutes shows a warning but is still allowed.
- The music always starts at 0. Offset, crossfade, ducking, per-scene volume, and multiple music tracks are not available.
- Original audio level is fixed. Choose Replace if you only want the new track, or use the volume tool to adjust the original before mixing.
- Only the primary video and audio tracks are used. Extra audio and subtitle tracks are dropped.
- HDR metadata, alpha, and 10-bit color are not preserved. The output is always H.264/AAC MP4 at 30 fps.
- Music inputs are MP3, M4A, AAC, WAV, OGG, Opus, FLAC, and WebM audio when the browser can decode them. Files without an audio track are rejected.
- Video inputs are MP4, MOV, M4V, MKV, WebM, and MPEG-TS when the browser can decode their codecs. AVI, FLV, MPEG-2, and audio-only files are rejected as the video.
- Use music you have the rights to. The tool does not detect or clear copyrighted audio.
FAQ
Can I keep the original audio?
Yes. Mix with original places the music over the primary video audio. Replace original discards the video audio and uses only the music.
What happens if the music is shorter than the video?
Loop to fill repeats it until the video ends. Play once stops at the end of the music and leaves the rest silent. Music longer than the video is trimmed to the video length.
Can I adjust the original audio and music separately?
Only the music volume is adjustable here. The original track stays at its source level. Use the volume tool on the video first if you need a different original level.
Will the mix clip?
The tool checks the mixed peak and reduces the whole mix if it would exceed the -1 dBFS safety ceiling. In that case the result card shows a peak-protection notice.
Why is the video re-encoded?
The picture has to be placed on a new 30 fps timeline while the audio is mixed, so the video is re-encoded to H.264. Audio is encoded to AAC.
Which music formats are supported?
MP3, M4A, AAC, WAV, OGG, Opus, FLAC, and WebM audio are accepted when the browser can decode them. Files without an audio track are rejected.
Are my files uploaded?
No. The video and music are decoded and mixed inside the Worker in your browser. Nothing is sent to a server.