This will be a quick tutorial on how to use the Open Source software Virtualdub to add music to videos. I started recording some games that I'm playing for my game blog Take 9 and discovered in the process how it is fairly easy to add your music to the videos. Now this might be common knowledge for the video guys among us but everyone else who wants a clean fast solution might be inclined to give this method a try.
You do need the program Virtualdub, a video file and some sort of audio file. Now start Virtualdub and either open the video using the File > Open Video File dialog or drag and drop it into the program interface. The video can be played right away in the software. You see it twice because the left one is the original video and the right one the processed video. If you only change the audio they will look alike.
Click on Video and make sure Full Processing Mode is activated. Switch to the Audio menu and make sure Direct Stream Copy is active in here. Select the Audio from other file option and pick a audio file on your hard drive. It will be automatically integrated in your video and play in normal speed.
Hit the play button at the bottom to see the video and listen to your audio. It should be in sync. If you are satisfied with the result you can select a compression for the video in the Video > Compression menu and save the video afterwards in File > Save as Avi.
Normally the music will not have the same length as the video and you could sync both by adjusting the frame rate of the video. Click on Video > Frame Rate. Notice the Change so Video and Audio Durations Match ? If you select that option the audio and video will have the same playtime. This means however that the frame rate of the video will either be increased (if the audio is shorter) or decreased (if the audio is longer).
So your video will either play faster or slower depending on your selection. A good tip is to convert the fps to the original fps as well in the same menu. I try to find audio files that roughly have the same length as the video to avoid slow or super fast videos.
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.