Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the easiest way to change soundtrack of a movie clip? We recorded a clip using our camera, but the sound is not very interesting, hence we would like to use some music instead (we have an mp3 file). How can we swap the original sound in the clip for the one from mp3?

share|improve this question
You have a huge selection of video editing software available for this. They range from simple to complicated. Depending on your system, you could check your repositories for some software. – n0pe Mar 15 '13 at 0:51
@MaxMackie, I am looking for a really easy way. I am a bit worried that if I just start looking at a random software, it will be one of the more complicated ones, with gzillion options, etc. – Grzenio Mar 15 '13 at 9:54
Do you mean something akin to Windows Movie Maker? Or even more simple? – n0pe Mar 15 '13 at 13:48
@MaxMackie, it could be even a command line tool, but I would appreciate an example in which I just need to substitute file names :) – Grzenio Mar 15 '13 at 14:58
up vote 1 down vote accepted

You should be able to replace the audio track of a video file using mencoder.

mencoder input.avi -o output.avi -ovc copy -oac copy -audiofile track.mp3

Warning: untested command.

share|improve this answer

I ended up using Kdenlive, which is a nice gui. It can do lots of other things, but I managed to figure out in a few minutes how to do this particular thing.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.