Video Audio Replace

Replace the audio track in a video file with a new audio file while keeping the original video

Click to upload file or drag and drop file here

Maximum file size: 100MB Supported formats: video/*

Click to upload file or drag and drop file here

Maximum file size: 100MB Supported formats: audio/*

0 100 500

Adjust audio volume (0-500%, 100% = original)

Copy video stream without re-encoding (faster, no quality loss)

Key Facts

Category
Images, Audio & Video
Input Types
file, select, range, checkbox
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

The Video Audio Replace tool allows you to seamlessly swap the audio track of any video file with a new audio file while keeping the original video stream intact. By utilizing the direct video copy option, you can replace the sound without re-encoding the video, ensuring zero quality loss and rapid processing times.

When to Use

  • When you need to replace noisy background audio or commentary in a video with a clean, studio-recorded voiceover or music track.
  • When you want to change the container format of your video while swapping the audio track.
  • When you need to adjust the volume level of a new audio track while merging it with an existing video.

How It Works

  • Upload your source video file and the new audio file that you want to merge.
  • Select your desired output format (MP4, WebM, MKV, AVI, or MOV) and adjust the audio volume percentage if needed.
  • Enable the 'Copy Video' option to bypass video re-encoding for faster processing, then run the tool to download your updated video.

Use Cases

Adding a localized voiceover track to an existing product demonstration video.
Replacing wind noise or background hum in outdoor footage with a clean music track.
Muting or boosting the volume of a background soundtrack in a video presentation.

Examples

1. Adding Studio Voiceover to a Product Demo

Product Marketing Manager
Background
A marketing manager has a high-quality screen recording of a software demo, but the original microphone audio has echo and background noise.
Problem
They need to replace the noisy audio track with a clean, studio-recorded voiceover WAV file without losing the original video quality.
How to Use
Upload the MP4 demo video as the Video File and the clean voiceover WAV file as the Audio File. Keep 'Copy Video' checked to avoid re-encoding, and set the output format to MP4.
Example Config
Video File: demo.mp4, Audio File: voiceover.wav, Output Format: mp4, Audio Volume: 100%, Copy Video: true
Outcome
A high-quality MP4 video with the clean studio voiceover perfectly synced, generated instantly without any video degradation.

2. Replacing Background Music and Boosting Volume

Social Media Content Creator
Background
A creator has a travel vlog video but wants to swap the copyright-protected background music with a royalty-free track and boost its volume.
Problem
The new audio track is slightly quiet, and the video needs to be exported in WebM format for web optimization.
How to Use
Upload the vlog video and the new MP3 music track. Set the Output Format to WebM, increase the Audio Volume to 150%, and uncheck 'Copy Video' to allow re-encoding into the WebM container.
Example Config
Video File: vlog.mp4, Audio File: music.mp3, Output Format: webm, Audio Volume: 150%, Copy Video: false
Outcome
A WebM video featuring the new background music at a boosted volume level, ready for web publishing.

Try with Samples

audio, video, file

Related Hubs

FAQ

Will replacing the audio track reduce the quality of my video?

No. By keeping the 'Copy Video (No Re-encode)' option enabled, the video stream is copied directly without any compression or quality loss.

What video and audio formats are supported?

The tool accepts standard video and audio files, and allows you to export the final output as MP4, WebM, MKV, AVI, or MOV.

Can I adjust the volume of the new audio track?

Yes, you can adjust the audio volume from 0% (muted) up to 500% of the original audio file's volume.

What is the maximum file size allowed for uploads?

The tool supports video and audio files up to 100 MB (104,857,600 bytes) each.

Does this tool support adding multiple audio tracks to a single video?

No, this tool is designed to replace the existing audio track with a single new audio file.

API Documentation

Request Endpoint

POST /en/api/tools/video-audio-replace

Request Parameters

Parameter Name Type Required Description
videoFile file (Upload required) Yes -
audioFile file (Upload required) Yes -
outputFormat select No -
audioVolume range No Adjust audio volume (0-500%, 100% = original)
videoCopy checkbox No Copy video stream without re-encoding (faster, no quality loss)

File type parameters need to be uploaded first via POST /upload/video-audio-replace to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-video-audio-replace": {
      "name": "video-audio-replace",
      "description": "Replace the audio track in a video file with a new audio file while keeping the original video",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=video-audio-replace",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]