Audio

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

Need to Move Your Router’s Existing DHCP IP Reservations to A New Router ? Try Uproot – a Static Lease Conversion Utility

I just released a new open source project on github called Uproot. What is Uproot…

2 months ago

Keyboard Browser Navigation Nirvana – Must Have Tools for Keyboard Ninjas

Keyboard Shortcuts Recently I've been coding quite a bit (working on a dart command line…

2 months ago

Using pfSense on VirtualBox for Windows using only One Virtual Machine

pfSense on VirtualBox I've been experimenting with pfSense (firewall software you can use for DIY…

4 months ago

Firefox – Where did my pinned tabs go ?

Firefox Pinned Tabs Firefox provides the ability to "pin" a tab, so it stays in…

4 months ago

Creating a Shortcut to Windows Terminal (Or Any Other App That Doesn’t Show Shortcut Option)

Weirdly, Windows Terminal does not allow you to create a shortcut - there's no obvious…

7 months ago

Simplest Wireguard Setup Ever

Wireguard Wireguard is the newest way to setup a VPN for your home servers. What…

8 months ago