Jump to content

Is there a way to set OBS record audio from a specific application?

Go to solution Solved by minibois,

-- Moved to Programs, Apps and Websites --

12 minutes ago, SomeRandomNerd said:

Can OBS record audio specific applications

It can't on its own, but it can be done using a virtual audio cable (or VAC for short).

I am writing this post, assuming you are using Windows.

 

In short, this is how it's done:

1. First install VB-cable

2. Press the Windows button and search for "Sound Settings"

3. Scroll down and click "App volume and device preferences"

4. Look for the game you want to record the audio to and set the output to "CABLE Output (VB-Audio Virtual Cable)"

5. Looks for OBS in this list and change its input from Default to "CABLE Input (VB-Audio Virtual Cable)"

EDIT: 6. And add the step @ramavadescribed below, where you choose the "listen to this device" option. Thanks for the correction, to add this step!

 

Now OBS will only record audio passed through this virtual audio cable, which is the game (and anything else you choose to set to the VB-Audio output).

Can OBS record audio specific applications or can it only record the whole desktop audio.

Link to comment
Share on other sites

Link to post
Share on other sites

-- Moved to Programs, Apps and Websites --

12 minutes ago, SomeRandomNerd said:

Can OBS record audio specific applications

It can't on its own, but it can be done using a virtual audio cable (or VAC for short).

I am writing this post, assuming you are using Windows.

 

In short, this is how it's done:

1. First install VB-cable

2. Press the Windows button and search for "Sound Settings"

3. Scroll down and click "App volume and device preferences"

4. Look for the game you want to record the audio to and set the output to "CABLE Output (VB-Audio Virtual Cable)"

5. Looks for OBS in this list and change its input from Default to "CABLE Input (VB-Audio Virtual Cable)"

EDIT: 6. And add the step @ramavadescribed below, where you choose the "listen to this device" option. Thanks for the correction, to add this step!

 

Now OBS will only record audio passed through this virtual audio cable, which is the game (and anything else you choose to set to the VB-Audio output).

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

I used the solution above, but I'm pretty sure you can't actually hear the game yourself without an additional step.
cYpmpRb.png

Link to comment
Share on other sites

Link to post
Share on other sites

You can also use Voicemeeter for more mixing flexibility.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

18 minutes ago, minibois said:

1. First install VB-cable

Which one do I get? I take it I choose the above one for Windows 10?

 

image.png.601d8629dd3aa8d37429b94e0044e1b6.png

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, SomeRandomNerd said:

Which one do I get?

Top one if you use Windows, bottom one if you use Apple MacOS.

Keep in mind what I wrote - those settings and such - only apply to Windows. MacOS handles their audio settings differently, I am not sure if those specific settings are available to MacOS.

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

On 6/7/2021 at 9:12 PM, minibois said:

Top one if you use Windows, bottom one if you use Apple MacOS.

Keep in mind what I wrote - those settings and such - only apply to Windows. MacOS handles their audio settings differently, I am not sure if those specific settings are available to MacOS.

Alright thank you very much, I am using Windows 10.

 

On 6/7/2021 at 8:53 PM, minibois said:

-- Moved to Programs, Apps and Websites --

It can't on its own, but it can be done using a virtual audio cable (or VAC for short).

I am writing this post, assuming you are using Windows.

 

In short, this is how it's done:

1. First install VB-cable

2. Press the Windows button and search for "Sound Settings"

3. Scroll down and click "App volume and device preferences"

4. Look for the game you want to record the audio to and set the output to "CABLE Output (VB-Audio Virtual Cable)"

5. Looks for OBS in this list and change its input from Default to "CABLE Input (VB-Audio Virtual Cable)"

EDIT: 6. And add the step @ramavadescribed below, where you choose the "listen to this device" option. Thanks for the correction, to add this step!

 

Now OBS will only record audio passed through this virtual audio cable, which is the game (and anything else you choose to set to the VB-Audio output).

Sorry, just to confirm, this won't interfere with any of the audio drivers right? As in, you can still hear other things such as youtube, games and such it's just that OBS can now record audio for a single application?

Link to comment
Share on other sites

Link to post
Share on other sites

28 minutes ago, ramava said:

I used the solution above, but I'm pretty sure you can't actually hear the game yourself without an additional step.
cYpmpRb.png

How do you get to this step?

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, SomeRandomNerd said:

How do you get to this step?

Settings -> System -> Sound, then click Sound Control Panel on the far right.

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, SomeRandomNerd said:

Sorry, just to confirm, this won't interfere with any of the audio drivers right? As in, you can still hear other things such as youtube, games and such it's just that OBS can now record audio for a single application?

Correct.

This basically just diverts the game audio to a separate track, only OBS can hear.

Sorta like this:

image.png.214a7307ca9404cede58b8ed1756dd9e.png

 

So the only changes you do is to:

- OBS input

- Game output

- The "listen to this device" setting

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, minibois said:

Correct.

This basically just diverts the game audio to a separate track, only OBS can hear.

Sorta like this:

image.png.214a7307ca9404cede58b8ed1756dd9e.png

 

So the only changes you do is to:

- OBS input

- Game output

- The "listen to this device" setting

Thank you very much for the clarification!

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, minibois said:

Correct.

This basically just diverts the game audio to a separate track, only OBS can hear.

Sorta like this:

image.png.214a7307ca9404cede58b8ed1756dd9e.png

 

So the only changes you do is to:

- OBS input

- Game output

- The "listen to this device" setting

Unfortunately I am stuck. I have done all the steps you have listed but OBS just does not record the audio at all. Instead I was able to hear the game sound before the 'Listen to this device' prompt. Sorry, please help!

image.png.b135fe8417101f5f0daa447731843946.png

image.png.27763bfa58ad63317575b2163fedf2a4.png

image.png.1377d9d21e09b1ad367a79adafc21028.png

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, SomeRandomNerd said:

Unfortunately I am stuck. I have done all the steps you have listed but OBS just does not record the audio at all. Instead I was able to hear the game sound before the 'Listen to this device' prompt. Sorry, please help!

image.png.b135fe8417101f5f0daa447731843946.png

Did you set the game correct audio input/output in the Sound Settings menu?

Pretend "Discord" is the game you're playing, this is what you'd want:

image.png.2c02ea28b9f0c91b0dbafbe82aaa99f7.png

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, minibois said:

Did you set the game correct audio input/output in the Sound Settings menu?

Pretend "Discord" is the game you're playing, this is what you'd want:

image.png.2c02ea28b9f0c91b0dbafbe82aaa99f7.png

Yes that is the step I did not do thank you very much. But what if I would like to record audio from a Mic or a Headset, do I have to do anything in that case?

Link to comment
Share on other sites

Link to post
Share on other sites

14 minutes ago, SomeRandomNerd said:

Yes that is the step I did not do thank you very much. But what if I would like to record audio from a Mic or a Headset, do I have to do anything in that case?

Update: Aaaaand it did nothing, still no audio being captured

 

I'm using Minecraft to test it out and it's still not working

image.png.8bfb21db59224d0c5e06609eab664ad5.png

image.png.9f76da33f790991a33f02a4a2c8a98bc.png

 

 

 

EDIT: So it turns out the V-Cable in 'Recording' just is not displaying any audio yet it is coming to the Speakers in 'Playback' instead.

image.png.c99e36a17106a2ae978cb8a1c41d51ae.png

 

image.png.d3cbe3e94991eceba68b187420296da7.png

image.png

Link to comment
Share on other sites

Link to post
Share on other sites

15 minutes ago, SomeRandomNerd said:

Update: Aaaaand it did nothing, still no audio being captured

I'm using Minecraft to test it out and it's still not working

I don't remember for sure if this was a needed step, but try:

OBS > Settings > Audio > Desktop Audio set this to "CABLE Input (VB-Audio Virtual Cable)"

And set Mic/Auxiliary Audio to your microphone

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, minibois said:

I don't remember for sure if this was a needed step, but try:

OBS > Settings > Audio > Desktop Audio set this to "CABLE Input (VB-Audio Virtual Cable)"

And set Mic/Auxiliary Audio to your microphone

I have done that now and it still will not record any audio unless I set the Desktop Audio to my headset speakers.

Link to comment
Share on other sites

Link to post
Share on other sites

36 minutes ago, SomeRandomNerd said:

I have done that now and it still will not record any audio unless I set the Desktop Audio to my headset speakers.

This is something I hard working perfectly in the past, with the settings as I have described in the first post in this thread. Now it just doesn't seem to work anymore.

The idea is to just to output all the audio in the game to VAC and get all the sound from VAC in OBS, but I just can't get it to work anymore.

 

Something like this plugin might work better, but I haven't used it yet: https://obsproject.com/forum/resources/audio-monitor.1186/

Or Voicemeeter, which is more well-known as it has been around for a longer time: 

 

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

14 hours ago, minibois said:

4. Look for the game you want to record the audio to and set the output to "CABLE Output (VB-Audio Virtual Cable)"

i did some test, it's Input that you want, not output

image.png.be1335124ee828107abff2667b360a4b.png

 

working for me

 

OBS: not changed in the audio setting thingy, but changed the pulling device

image.png.3a57acde369f53bffd475cbfe56cc405.png

image.png.23b9980248b90c4ac9b228aa63b0244f.png

-sigh- feeling like I'm being too negative lately

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×