How to Replace Audio in a Video on Linux with Kdenlive

You can replace the audio in a video on Linux with Kdenlive by importing the video and replacement audio, separating the video's existing audio, deleting it, adding the new track, and rendering the finished file. Current Kdenlive versions place a video's picture and sound on separate timeline tracks while keeping them grouped for synchronized editing.

Install Kdenlive on Linux

The safest place to get a current build is the official Kdenlive download page. KDE currently offers Linux users an AppImage and a stable Flatpak. Distribution repositories may also include Kdenlive, but their versions vary.

If Flatpak is already configured, install Kdenlive with:

flatpak install flathub org.kde.kdenlive

For AppImage, download the file from the official page, make it executable, and run it. The workflow below follows the current interface documented in Kdenlive's official quick-start guide.

How to replace the video's audio track

1. Import the video and replacement audio

Open Kdenlive and create a project. In the Project Bin, click Add Clip or Folder, then add both the video you want to edit and the audio file you want to use instead.

Kdenlive Project Bin containing a sample video and replacement audio file above an empty timeline
The video and replacement audio are ready in the Project Bin.

2. Put the video at the start of the timeline

Drag the video from the Project Bin to the timeline and place its beginning at 00:00:00. Kdenlive automatically puts the video stream on a video track and the embedded sound on an audio track. The two parts remain grouped so they stay synchronized when moved or cut.

Play a few seconds and confirm that the clip starts where you expect. If there is empty space before it, drag the grouped clip left until it begins at the start of the timeline.

3. Ungroup the clip and delete the original audio

Select the grouped video and audio clips. Right-click and choose Ungroup Clips, or use Timeline > Ungroup Clips. The default shortcut is Ctrl + Shift + G. Kdenlive's grouping documentation specifically recommends ungrouping when you need to delete only the audio part of a clip.

Kdenlive timeline with grouped video and audio clips and the Ungroup Clips command selected
Ungroup the clips so the original audio can be removed without deleting the video.

Select the original audio clip and press Delete. The video remains on its video track. If you know in advance that you will never need the source audio, Kdenlive also lets you drag only the video stream from the Clip Monitor to the timeline, avoiding the ungroup-and-delete step.

4. Add and synchronize the replacement audio

Drag the new audio file from the Project Bin onto an audio track below the video. Place its start where the replacement sound should begin. For a full replacement, that is usually the same starting position as the video.

Kdenlive timeline with replacement audio waveform aligned under the video clip
The replacement audio is aligned with the video at the start of the timeline.

Play the project and use the waveform to check synchronization. If the new audio is longer than the video, trim its end. If it is shorter, decide whether the remaining section should be silent or use additional audio. For narration or dialogue, zoom into the timeline and align waveform peaks with the matching action or speech.

5. Render the finished video

Save the project, then open File > Render. The default shortcut is Ctrl + Enter. Choose an output filename and a suitable preset, and make sure audio export is enabled. Kdenlive's official rendering guide documents the current Render dialog and output options.

Kdenlive Render dialog showing an MP4 H.264 and AAC preset with video and audio export enabled
Choose an output file and a preset that includes audio before rendering.

For a simple replacement, keep the project's original resolution and frame rate unless you need a different output format. After rendering, open the exported video and check the beginning, middle, and ending to make sure the replacement audio stays synchronized.

Common problems after replacing audio

  • The exported video is silent: confirm that audio export is enabled and that the replacement audio track is not muted.
  • The sound starts too late: move the replacement track left until its first intended sound matches the correct frame. Use the playhead and waveform rather than guessing.
  • Audio slowly drifts out of sync: a start-offset fix will not solve progressive drift. Check whether the replacement recording has the correct duration or needs retiming.
  • You only want silence: deleting the original audio works, but Kdenlive also documents a Mute effect if you want to keep the clip available for later use.

Once the original audio is separated, replacing it is ordinary timeline editing: remove the unwanted sound, position the new track, verify sync, and render with audio enabled.

Leave a Comment

How to Record Speaker Output on Linux with Audacity

How to Record Speaker Output on Linux with Audacity

Capture Linux desktop audio in Audacity by routing its recording stream to your output device’s monitor source. Follow PulseAudio and PipeWire steps, export tips, and fixes for silent tracks.

How to Use Dropbox on Linux: Install and Sync Your Files

How to Use Dropbox on Linux: Install and Sync Your Files

Install Dropbox on Linux from the official package, sign in, sync a local folder, manage selective sync, and check status from the command line.

How to Install Inkscape on Linux: Ubuntu, Fedora, Arch, and More

How to Install Inkscape on Linux: Ubuntu, Fedora, Arch, and More

Install Inkscape from your Linux distribution’s repositories, the Ubuntu stable PPA, Snap, or Flathub, with current commands and notes for choosing a package source.

How to Find and Remove Duplicate Files on Linux With FSlint

How to Find and Remove Duplicate Files on Linux With FSlint

Use FSlint to scan selected Linux folders, review duplicate groups, and safely delete redundant files or learn when hard-link merging is appropriate.

How to Install SABnzbd on Linux and Configure It

How to Install SABnzbd on Linux and Configure It

Install SABnzbd on Ubuntu or Debian, or run it in Docker on another Linux host. Then open the web interface and configure your provider and download folders.

How to Install the Paper GTK Theme on Linux

How to Install the Paper GTK Theme on Linux

Install the Paper GTK theme from supported Linux repositories, enable it for GTK apps in GNOME Tweaks, and see what the legacy theme can and cannot change.

How to Install and Set Up Plex on OpenMediaVault with Compose

How to Install and Set Up Plex on OpenMediaVault with Compose

The old OpenMediaVault Plex plugin is archived. Set up Plex on OMV 8 with OMV-Extras, the Compose plugin, persistent storage, and Plex’s official container.

How to Clean and Speed Up Ubuntu Safely

How to Clean and Speed Up Ubuntu Safely

Clean and speed up Ubuntu with safe APT cleanup, storage checks, and startup controls that help free space and troubleshoot a sluggish desktop.

How to Install the Hiri Email Client on Linux

How to Install the Hiri Email Client on Linux

Install Hiri on Linux with its Snap package or official tarball, add a desktop launcher, and check supported accounts plus a warning about Hiri’s old Snap release.

How to Get System Specifications for a Linux PC

How to Get System Specifications for a Linux PC

Use Fastfetch and built-in Linux commands to check your distro, kernel, CPU, memory, graphics, storage, and connected devices, then save a clear report.