Add Audio to a Video in Ubuntu

Hi today in iThePro, we will see how we can Add Audio to a Video in Ubuntu simply using command line with mencoder tool from "MPlayer Team".

This tool can easily and fast mix audio with video to one file. So let's get start.

1) open terminal and install mencoder on ubuntu.
sudo apt-get install mencoder

2) run mencoder command .

amriunix@dell:~/Music$ mencoder dv.mp4 -o video.mp4 -ovc copy -oac copy -audiofile dv.mp3

dv.mp4 : video file.

dv.mp3 : audio file.

video.mp4 : final video with audio file.




Oussama Amri 21 years, security professional from Tunisia. Lover of computer science especially programming and secuirty. Follow me On :

Popular Posts Powered by Blogger.