Inserting a delightful soundtrack can make your video much more engaging and impressive. In this article, Mytour will guide you on how to add music, embed melodies into videos on Windows, and MacOS.

1. Adding Music to Videos on Windows
While there are various software options for adding music and editing videos, this article will walk you through the process using OpenShot. OpenShot is a free, lightweight video editing software that is quick to install and easy to get acquainted with.
Step 1: Download OpenShot here and proceed to open the .exe file to install the software.

Step 2: To install the software, select I accept the agreement >> Next. In the subsequent steps, continue pressing Next until the software is successfully installed.

Step 3: Open OpenShot. Click on the Plus icon to add a video to the program.

Choose the video file on your computer, then click Open.

Step 4: Follow the same process to add the music file you want to insert into the video. Both of your files will appear in the application on the left panel.

Step 5: Right-click on your video and choose Add to Timeline.

Step 6: Choose Track as Track 5, then press OK.

Step 7: Similarly, Add to Timeline for the music file just added to the software. But this time, select Track 4 before pressing OK.

Step 8: Now, the video and music have been added to tracks 4 and 5.
If your music duration exceeds the video, drag the right edge of track 4 to match track 5. This way, any excess music will be trimmed.

Step 9: Press the Play button to preview the video with the inserted music.

Step 10: If you don't want sound from the original video, right-click on the video in track 5 >> Volume >> Entire Clip >> Level 0%. This action will mute the original video audio, leaving only the added music.

Step 11: If you want a gradual increase and decrease in music effects, right-click on the music track in track 4 >> Volume >> Entire Clip >> Fade In and Out (Fast) or Fade In and Out (Slow). Fast fades in quickly, and Slow fades in slowly.

Step 12: Once satisfied with your video, export the file by selecting File >> Export Project >> Export Video.

Step 13: Set up your output video, including.
- File Name: File name
- Folder Path: Folder to save the file
- Target: File format
- Video Profile: Resolution
- Quality: Video quality

2. Adding Music to Videos on MacOS
To insert music into videos on MacOS, you can use Apple's excellent video editing application, iMovie. This app will assist you in adding music to videos quickly and easily. You can even add music files from iTunes.
Step 1: iMovie is usually available on your Mac, so you just need to find and open it from the app store. If not, you can download iMovie from the AppStore.

Step 2: Open the application, click on Create New >> Movie.

Step 3: To add a video to the application, choose File >> Import Media...

Step 4: Locate and select the video you've prepared >> Import Selected Item.

Step 5: Once the video is added to the application, drag it onto the timeline for editing.

Step 6: Perform the same steps as in 4 and 5 to add your music file to the application. If the music is already in iTunes, simply switch to the Audio section. Then, drag the audio file below the video.

Step 7: Adjust the music duration to fit your video.

Step 8: If your video has audio and you want to mute it, right-click on the video slider, choose Detach Audio.

Then, delete the separated audio part from the video.
Step 9: Press the Play button to preview your video with the added music.

Step 10: If you're satisfied, select File >> Share >> File... to export your video.
Step 11: Configure the settings for your output video, including.
- Description
- Tags
- Format
- Resolution
- Quality
- Compression
Once settings are done, click Next... to proceed with the file export.

Conclusion: Wrapping it up
Adding a soundtrack to your video isn't too challenging, is it? With the guidance from Mytour, unleash your creativity and make some truly captivating videos!
