Powered by Blogger.

Sunday, 3 March 2013

Add Audio to a Video in Linux Ubuntu - Audio and Video Mixing In Ubuntu

by realfinetime  |  in Ubuntu at  07:44

Audio can be mixed to a video using a simple command in terminal as given below.

mencoder video_name -o video_final.flv -ovc copy -oac copy -audiofile audio_name

Eg. mencoder output.flv -o video_final.flv -ovc copy -oac copy -audiofile Hot_Heat.mp3

video_name       = Video to which audio have to be mixed.
video_final.flv    = Final Video.
audio_name       = Audio to be mixed. 

video_name, video_final.flv and audio_name should be replaced by corresponding video and audio names.

Mixing Audio and Video can be done in following two steps.

Step 1:  Copy and paste the audio file and video file to a folder. Then execute the command.

Step 2: After executing the command, result will be as shown in the image given below.
Here video_final.flv is the final video which will have a background music Hot_Heat.mp3.

1 comment:


All the circuits, published in this blog is only after testing and getting proper results in my private lab. When you try these circuits, you should check the supply voltage, polarity of components, presence of childrens nearby and shorts in the circuits. This website will not be responsible for any harm happened to you or your components caused by your carelessness.

For More Electronic Tips

Proudly Powered by Blogger.