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

No comments:

Post a Comment

Popular Posts



Blog Archive

Recent Posts


Recent Comments

Top Commenters