Record only the sounds of the browser

Werniman

New Member
Hello,
i have a problem with Manjaro 20.1 and OBS25.0.8. I want to record TV shows from the media library of german television (tvnow.de). I have selected "Window recording" as source in the OBS program. Sorry, I don't know if that's what the English GUI says, I'm using the German version.
My problem is the audio recording. Because OBS normally records all audio outputs of the computer. That's why I usually record at night, when I'm sleeping myself, so that I don't accidentally cause any audio output myself.
Unfortunately, sometimes I forget to stop any messenger services (Skype, Rambox etc) and suddenly I have some of the notification sounds in the recorded video. Is there a possibility to redirect the audio output of the browser under Manjaro so that it is played back on the speakers but OBS can record it independently from the rest of the computer ? In other words: I want OBS to really ONLY record the audio output of the browser and ignore the sounds of other programs.
 

TomB

New Member
There is probably a more efficient way to do this but.

1. Add a virtual speaker:

Code:
pactl load-module module-null-sink sink_name=Virtual-Speaker sink_properties=device.description=Virtual-Speaker

2. Get the broowser to play through the virtual speaker. Depending on your desktop environment, you might be able to select the output source. KDE has this in the audio system tray (System tray Audio ->Applications tab -> hamburger icon for the application) select the virtual speaker. If you cannot do it through the desktop environment, you can install pagraphcontrol ( https://github.com/futpib/pagraphcontrol ) and route the browser's audio that way.

3. Add an Audio output source in OBS and select the virtual speaker.
 
Top