OBS is able to record from as many sources as you like, and that's built in. The challenge is to record exactly the desired sound sources and nothing else. Usually, everything is mixed by Windows and output to the default audio device (or desktop audio device). You can just record this mixed desktop audio and have everything, including your local media player and all Windows sounds. To extract the one desired source from of that, you need to "split" audio - that's the term used in the linked guides.
In general, it works like this: you install a virtual audio device and configure the app you want to record to output its sound not to the default device but to that virtual audio device. In OBS, you record that virtual audio device. The details on how exactly to do this, is in the guide Narcogen linked and in a few more guides in the resources section. Every guide discusses different aspects and some have different approaches.
OBS Studio - Free and open source software for live streaming and screen recording - obsproject/obs-studio
obsproject.com
Important: this guide only works on Windows 10. No idea if it could work on Windows 8 since I've never used Windows 8 or 8.1. But I'm sure Windows 7 and below can't. Important: make sure you know basically how to configure Windows 10 (especially...
obsproject.com
Its fortunately quite easy to exclude an Audio source from your stream or recording. But there are a few things we cannot do. So let us take a look at the different sources we may have available: Good Voice-Communication (Teamspeak, Skype...
obsproject.com
In OBS-Studio you can very easily configure everything for "High Quality" recordings as well as multiple Audio Tracks. We simply need to go into the "Output" settings of OBS. Simple High Quality Settings If you do not plan on streaming and do...
obsproject.com
With the Software Voicemeeter Banana by the guys from VB-Audio Software you can manage several Audio In and Outputs to give you the options to decide which sound should go onto your stream or recording and which goes to your speakers, headset or...
obsproject.com
This is probably the easiest way to exclude voice chat off your streams. No third part programs needed. Just your motherboard's sound card. Requirements: Free 3.5mm output. (Speakers). (You must have eg. wireless headset) 1) Go to your sound...
obsproject.com
I wanted to provide a little guide on how one can exclude the audio of applications from OBS or any kind of streaming software while you yourself can still hear it, eg. when you want to stream a game and want the stream to hear the game-sounds...
obsproject.com