Sunday, June 20, 2010

How to put music to a video in Linux

Although it seems incredible to many video editing is often done only with console. For complex tasks, of course not. We saw before many video editing commands from console here and here. But today I just want to show you how to add music to a video from console. It is a simple command:

mencoder video_sin_musica.avi -o video_final.avi -ovc copy -oac copy -audiofile musica.mp3

It serves not only for avi files but also for several others. And if it does not serve them because they have mencoder installed, but that is easily solved .

In ubuntu

sudo apt-get install mencoder

In Arch

sudo pacman -S mencoder
If this article was useful and you want to help us to grow Subscribing to our feed or Click "Like" in our Facebook page ,or follow us via Twitter or subscribing to our feed.

People who read this post also read :


Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More