OBS + JACK Audio + Dummy Soundcard (OBS-in-the-cloud)

spassss_JE

New Member
Hi!
I'm setting up a live re-streaming setup on a google cloud server. So far I was successful, everything works as expected, using OBS only.

Now what I want to do is to split an incoming stereo signal into 2 separate mono or stereo signals, in order to use OBS' audio filters on each channel separately. This seems to be non-trivial and so I decided to use JACK Audio server.

I installed JACK audio server + qjackctl. I then installed OBS (built from the source). As Google's VMs don't have soundcards, I set up JACK to use the dummy driver.
So for my test I did the following steps:
- load video as media source in OBS (this is the sound source)
- added 2 JACK input clients as OBS sources

Now I would expect to be able to take the OBS Media source audio and route it into the 2 JACK Input Clients. And while the Clients do show up in JACK, I don't find a way to get the Media Source Audio. JACK offers me "System Capture 1 & 2" but they don't seem active (see attached picture).

2020-07-16_165522.png


So how can I make OBS Media Source appear as sound source in JACK? As I said, I don't have a soundcard, only a dummy driver. In OBS Sound settings I can't add any "Global Audio Device". I don't know if this matters...

Your help is greatly appreciated!

Cheers
 

sickley

New Member
I'd recommend setting up a jack sink (or null-sink) if you haven't already.
i.e.
pactl load-module module-jack-sink sink_name=media_source sink_properties=device.description="media_source_sink"
Secondly I'd recommend looking at pavucontrol as it interacts with jack sinks, loopbacks, and monitors very well (it takes a short bit to understand how to route things, but not much), and then go from there. Once you start to learn things, you should be able to write a short script to set things up for obs that will load on launch of qjackctl (I've not used qjackctl myself so I have no guidance for it).
 
Top