Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Add Music to OBS: File, App Audio & Twitch VOD Setup

· 8 min read · Home Tech

In this article
  1. Why Music in OBS Is Tricky: The Twitch VOD Mute Problem
  2. Method 1: Adding Music from a File (MP3, WAV) in OBS
  3. Method 2: Adding Music from an App (Spotify, YouTube, etc.)
  4. Setting Up the Twitch VOD Track (So Music Doesn't Mute Your VOD)
  5. How to Choose Between File and App Audio
  6. Common Problems and Fixes
  7. Comparing OBS Audio Methods
  8. Frequently Asked Questions

To add music to OBS Studio for both live streams and Twitch VODs, you route audio from a file (like an MP3) or an app (like Spotify) into OBS using the Audio Output Capture or Media Source, then configure Twitch VOD Track settings so the music is either included or muted in the archived video. This guide walks through the exact steps for each method, explains how to keep your VODs from being muted by copyright claims, and answers common setup questions.

Why Music in OBS Is Tricky: The Twitch VOD Mute Problem

OBS Studio itself has no built-in music player, so you bring music in from an external source. The challenge is that Twitch automatically detects copyrighted music in VODs (the saved broadcasts) and mutes those sections. Live streams are not muted in real time, but the VOD is. To keep music in your live stream but avoid muting the VOD, you need to send music to a separate audio track that Twitch does not save. This is done with OBS's "Twitch VOD Track" feature, which lets you assign different audio sources to different tracks.

Method 1: Adding Music from a File (MP3, WAV) in OBS

If you have music files on your computer, the simplest way is to use the Media Source. This method plays the file directly in OBS, so you don't need to have a separate player open.

  1. In OBS, click the + under Sources and choose Media Source.
  2. Name it (e.g., "Music File") and click OK.
  3. Check Local File and browse to your music file. You can also check Loop to repeat the track.
  4. Under Audio, make sure Use global audio is checked if you want the music to go to the default audio track. If you want it on a separate track, uncheck it and select the track number you want (see the VOD track section below).
  5. Click OK. The music will now play through OBS.

To control volume, click the speaker icon next to the Media Source in the mixer, or use the Audio Mixer panel. You can also add a Volume Meter to see the levels.

Method 2: Adding Music from an App (Spotify, YouTube, etc.)

For streaming services like Spotify, Apple Music, or YouTube, you need to capture the audio that the app is playing. The best way is to use Audio Output Capture (on Windows) or Audio Input Capture (if you use a virtual cable).

  1. Open the app (e.g., Spotify) and start playing your music.
  2. In OBS, click + under Sources and choose Audio Output Capture.
  3. In the Device dropdown, select your default speakers or headphones. If you have multiple audio devices, you may need to test which one is playing the music.
  4. Click OK. The music will now be captured in OBS.

If you want to hear the music yourself but not have it in the stream, you need a virtual audio cable (like VB-Cable). This routes the app's audio to a virtual device that OBS can capture separately, while you still hear it through your speakers. The setup is more advanced but gives you full control.

Setting Up the Twitch VOD Track (So Music Doesn't Mute Your VOD)

Twitch lets you save a VOD with multiple audio tracks. You can assign music to a track that Twitch ignores when saving the VOD, so the music plays live but is absent from the archive.

  1. Go to Settings > Output > Streaming.
  2. Under Twitch VOD Track, select a track number (e.g., 2). This is the track that will be excluded from the VOD. Track 1 is the default for everything.
  3. Now, assign your music source to that track. For a Media Source, right-click it, go to Properties, and under Audio, uncheck Use global audio and check Track 2 (or whichever track you chose).
  4. For an Audio Output Capture, right-click it, go to Advanced Audio Properties, and under Audio Track, check only the track you chose (e.g., Track 2).
  5. Make sure your microphone and game audio are set to Track 1 only (or Track 1 and Track 2 if you want them in the VOD).

When you go live, the music will be heard on the live stream. The VOD will have silence on that track, so no copyright muting.

How to Choose Between File and App Audio

The choice depends on your needs:

  • File audio is best for royalty-free music you own, or for playing a playlist of local files. It's simple, doesn't require extra software, and you can loop tracks.
  • App audio is best for streaming services with huge libraries (Spotify, YouTube Music). However, you must be careful about copyright – even with a VOD track, live streams can be muted if the music is detected. Many streamers use royalty-free music from services like StreamBeats or Pretzel Rocks to avoid issues.

If you want to use copyrighted music, the VOD track method is essential. But note that Twitch can still mute the live stream if the music is flagged, and you may receive a DMCA takedown if you have VODs with copyrighted music. The safest approach is to use royalty-free music.

Common Problems and Fixes

  • No sound from Media Source: Check that the file is not corrupted, and that the volume is not muted in the mixer. Also ensure the Media Source is not hidden (eye icon).
  • App audio not captured: Make sure the Audio Output Capture device matches the device the app is playing through. If you use headphones, select that device. If you use a virtual cable, select that.
  • Music too loud or too quiet: Use the volume slider in the mixer, or add a Limiter or Compressor filter to the audio source to keep it consistent.
  • VOD still muted: Double-check that the music source is NOT on Track 1. Also verify in OBS that the Twitch VOD Track is set correctly. If you have multiple audio sources, make sure only the music is on the excluded track.
  • Music plays on stream but not in your headphones: This is normal if you use a virtual cable. You need to monitor the audio in OBS by enabling Monitoring in the Advanced Audio Properties for that source.

Comparing OBS Audio Methods

Here’s a quick comparison:

  • Media Source: Built-in, plays files, easy to loop, no extra software. Limited to local files.
  • Audio Output Capture: Captures any app audio, works with streaming services, but requires the app to be open and may capture other system sounds if not careful.
  • Virtual Cable: Routes audio from an app to a virtual device, giving you separate control. More complex to set up but the most flexible.

For most streamers, starting with Media Source for local files and Audio Output Capture for apps is sufficient. Virtual cables are only needed if you want to hear the music yourself without it affecting the stream, or if you want to apply different filters to the music.

Frequently Asked Questions

Can I use Spotify with OBS without getting muted?

Yes, but you must set up the Twitch VOD Track as described above. Spotify's music is copyrighted, so Twitch will mute the VOD if it's on the main track. By putting it on a separate track that is excluded from the VOD, your live stream will have music but the VOD will not. However, live streams can still be muted if the music is recognized, and you risk DMCA claims if you have VODs with copyrighted music. Many streamers use royalty-free music to avoid this entirely.

How do I add a music playlist to OBS?

For a playlist of local files, you can create a Media Source for each file and use the Scene or Source visibility to switch between them, but that's clunky. A better way is to use a third-party tool like OBS Music Player or Snaz that integrates with OBS and lets you queue songs. Alternatively, you can use a Browser Source with a web-based player that plays a playlist, and capture the audio with Audio Output Capture.

Why is my OBS not picking up audio from my app?

This usually happens when the Audio Output Capture device is set to the wrong output. Make sure the device matches the one your app is using. If you have multiple audio devices, try selecting your default device. Also, ensure the app is actually playing sound – check the volume mixer in Windows to see if the app is producing audio. If you use a virtual cable, make sure the app is set to output to the virtual cable.

Can I have music on stream but not in my headphones?

Yes, but you need a virtual audio cable. Route the music app to the virtual cable, and in OBS, add an Audio Output Capture for that virtual cable. Then, in the Advanced Audio Properties, set the monitoring to Monitor and Output if you want to hear it, or Monitor Only if you want to hear it but not have it in the stream. If you don't want to hear it at all, set it to Output Only.

What is the best free music for Twitch streams?

There are several royalty-free music libraries designed for streamers, such as StreamBeats, Pretzel Rocks, and Monstercat Gold (though that one is paid). These services provide music that is cleared for streaming and VODs, so you don't have to worry about muting or DMCA. Always check the licensing terms of any music you use.

Does OBS have a built-in music player?

No, OBS does not have a built-in music player. You must use an external source, such as a Media Source for files or Audio Output Capture for apps. Some third-party plugins add a music player, but they are not officially part of OBS.