Add BGM / Audio Mix Tool
Add background music to a video. Adjust source vs BGM volume, fade in/out, and looping.
Local processing — no uploadWhat this tool does
- Mix the original track and BGM with independent volumes
- Auto-loop BGM that is shorter than the video
- Fade-in / fade-out in seconds
- Trim output to video length or to BGM length
- Accepts MP3 / WAV / M4A / AAC / Ogg
How to use
- 1
Pick a video and BGM
Drop the video and the audio track separately.
- 2
Set the mix balance
100% original / 25–50% BGM is a good starting point for narrated content.
- 3
Configure fades and loop
Fade-in 1–2s, fade-out 2–3s. Toggle loop on for short BGMs.
- 4
Run the mix
Download once the preview shows up.
What each setting means
Recommended settings
Common pitfalls
Symptom: BGM ends before the video
Cause: BGM is shorter than the video and loop is off.
Fix: Enable the “Loop BGM” toggle.
Symptom: Distortion / clipping
Cause: Combined levels exceed 0 dBFS.
Fix: Drop BGM to ≤50% or run output through the Volume Normalizer.
Symptom: Fade does not apply
Cause: Fade duration is longer than the BGM itself.
Fix: Keep fade ≤ BGM length.
Equivalent FFmpeg commands
Reference commands you can run on the desktop FFmpeg CLI.
ffmpeg -i video.mp4 -i bgm.mp3 -filter_complex "[0:a]volume=1[a0];[1:a]volume=0.3,afade=t=in:st=0:d=2,afade=t=out:st=58:d=2[a1];[a0][a1]amix=inputs=2:duration=first[a]" -map 0:v -map "[a]" -c:v copy out.mp4ffmpeg -i video.mp4 -stream_loop -1 -i bgm.mp3 -filter_complex "[0:a]volume=1[a0];[1:a]volume=0.3[a1];[a0][a1]amix=inputs=2:duration=first[a]" -map 0:v -map "[a]" -c:v copy -shortest out.mp4Browser support & limits
- Recommended max: video 500 MB / BGM 100 MB
- Audio formats: MP3 / WAV / M4A / AAC / Ogg
- Video codec: H.264 (mp4) only
Privacy
This tool runs ffmpeg.wasm directly in your browser. Files never leave your device — everything runs locally. Read the privacy policy →
Frequently asked questions
Where can I find royalty-free BGM?
YouTube Audio Library, Free Music Archive, Pixabay Music, and Bensound are popular options. Always verify commercial-use rights on the source page.
How do I mute the original audio?
Set Original Volume to 0%. Only the BGM remains.
Can I sequence multiple BGM tracks?
This tool mixes one BGM per pass. Concatenate audio tracks externally first if you need a sequence.
Audible click at loop boundaries
Looping BGMs that aren’t mastered for seamless looping will pop. Pick a loop-ready file or set a 0.5s fade-out at the loop point.
Mono BGM?
Yes — mono and stereo are auto-converted to stereo.
Output format?
MP4 (H.264 video copied + AAC audio re-mixed). Original video is not re-encoded.