Categories: AudioVideo

Replace A Video’s Audio Track In Three Minutes or Less

The Problem – Switching Out Your Audio Track

It’s common for those recording musical or other performances to record audio separately from the video. For instance, the video may be recorded using an Iphone which gives good video quality. The audio however may be recorded using an external mic for either duplication reasons (in case the hookup to the Iphone or other video camera goes bad, or because one doesn’t have the proper connectors to pipe the microphone audio to the camera). To replace the audio track manually might cost you hours of time trying to sync the new audio to the video.

Automatic Syncing of New Audio with Video Track

If you find yourself in a position of wanting to replace the audio track recorded with the Iphone or other video camera with the audio recorded by an external mic, here’s a dead simple way of achieving the replacement without manually re-syncing to the video.

KDEN Live – An Open Source Solution

KDENLive is a free and open source video editing software for Linux which offers an easy way to replace the audio track while automatically syncing the new track to the old.

Steps to Replace Audio Track

  1. Install KDENLive. Go to the download page and install per the instructions.
  2. Copy the video file from your camera or mobile phone (in my case it was a .MOV file from the Iphone) and the audio file from your microphone recording (probably a .wav file) to the same folder on your computer.
  3. Open KDENLive, Select “Project” from the menu and then “Add Clip or Folder”

  4. Select the folder that contains the video file and microphone audio file.
  5. The files should appear in your “Project Bin” on the top left of the KDENLive screen. Drag the video file to the time line below. It will create two tracks, one for the audio only track recorded by the microphone, and one for the audio associated with the video file (in my case the audio that was recorded by the Iphone).
  6. Drag the Microphone .wav file to the time line right below the Iphone’s audio track. In my case, the Iphone’s Video track was assigned V1, the audio track assigned A1, and the Microphone audio track was assigned A2.
  7. Mute the video file’s audio track (A1) by clicking on the speaker on that track.
  8. Now select the audio track from the Iphone (A1). Right click and select “Set Audio Reference”. Below is a screenshot showing the tracks, the muted audio, and setting the audio reference:

  9. Now right click on the A2 track (the microphone’s wav file) and select “Align Audio”:

    KDENLive will automatically move the A2 track to match the audio in the A1 track. You are done. Play back the video using the preview and confirm that the audio is satisfactory then save your project and/or render your video.

    KDENLive does offer a Windows binary version for download but I have not tested as it is reportedly buggy. I would be interested if somebody would try and it and respond in the comments as to how well the audio sync feature works.

Charlie

View Comments

Share
Published by
Charlie

Recent Posts

Using WP-CLI to Access MySQL Running in A LAMP Docker Container

WP-CLI is a great command line tool to help you manage Wordpress. I had trouble…

1 month ago

Dunzip – Download and Unzip in Linux With One Command

Tired of downloading zip or tar files, decompressing, and then having to delete the compressed…

1 month ago

Backing Up an SD Card or Hard Drive to A VHD File (Virtual Hard Disk)

  The Microsoft Virtual Hard Disk - An Ideal Backup Image Format Microsoft's Virtual Hard…

2 months ago

Ultimate Ad-Free Browsing

Browser getting cluttered with Ads ? Want to achieve a nearly total ad-free browsing experience…

7 months ago

How to Monitor Your Home Remotely With Skype

Want to peek in on your dog ? Have an elderly parent or friend that…

7 months ago

Freedom from Ads with Pi-Hole and Macvlan

Block Ads to Your Entire Network Using Pi-Hole Pi-Hole is a fantastic ad-blocking software that…

8 months ago