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. I found one successful example of this truth through this blog. I am going to use such information now.
    Who Is Invented Mobile Phone

  2. Audio-Visual aids helps the learners to learn language in diversified ways. Learners come with different ideas. Audio clips help them to learn the correct pronunciation because the speaker of the conversations is mostly the native speakers. By listening to the conversation they can improve their listening skills.



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.