Question / Help Record Audio tracks from multiple sources on one browser

BounD

New Member
Hey guys, just signed up specifically for this question. Hope that I am following the rules, apologies if this is the wrong spot!

I'm planning to use OBS to record multiple different video sources ideally on the same browser. I plan to do so from 4 different sources. I'd like to know if this is doable all in one browser using something like virtual audio cables or if perhaps someone has a better suggestion. Open to buying hardware or software that would help me manage this. I know that I can record multiple video sources and I think I'll be A-okay there but I'd like to be able to separate the video/audio tracks in post. The issue would be that the audio will overlay each other and I wouldn't be able to separate them.

Anyone have any suggestions?

Thanks in advance :)
 

koala

Active Member
In a browser window, you can only capture the currently visible tab. You cannot capture inactive tabs of the same browser window. As long as a tab isn't the active tab any more, its contents isn't rendered by the browser any more, and what's not being rendered cannot be captured.
You might be able to use the builtin browser source of OBS to get the frames directly into OBS, but I don't know how audio is handled, since I don't use the browser source myself.
 

BounD

New Member
Yes, good point. I'm playing around with this now. Ideally, I was hoping to find a way to have multiple video sources that could be streamed directly to OBS all at the same time. I'm actually finding it difficult to do this without doing a display capture. I'm very surprised to see that OBS doesn't have a function to capture media sources that are active on a browser. Would like to avoid buying multiple displays. Think I may have found an alternative solution to the audio tracks with virtual audio cables, although it's not the ideal setup. Plan to use multiple different browsers/apps so that they can be separated.
 

BounD

New Member
Okay, I was able to find a solution. I'm trying to add multiple different twitch streams to one broadcast. I was able to do so using 4 different browser sources. I've linked to their pop-out URL's. https://player.twitch.tv/?channel=streamID

The problem that I am now running into is managing audio and quality of streams. I've searched far and wide for the answer to the audio problem and from what I can see it appears to be a CEF issue. There was some plugin talk on github that I was trying to make sense of of. Doesn't look like it's totally finished yet. If anyone knows if this can be implemented that would be super helpful to my cause.

Additionally, I've found what I believe to be a possible workaround although not entirely ideal. It looks like there are different URL tricks you can use to have twitch streams do specific things. I was able to find a way to manage the audio so that when I switch between scenes it will change the different audio on the streams I link to. For example, if I have one scene setup with a browser that is https://player.twitch.tv/?channel=streamID&volume=100 it will be at max volume. Then if I switch from that scene to another where there is a URL of https://player.twitch.tv/?channel=streamID&volume=0 the volume will be muted. However, I found that the same doesn't happen when I add quality to the URL. I know I can add &quality=low but when I switch scenes the streams don't appear to care about this quality setting in the URL. They seem to be adjusted to whatever the previous quality setting was. I'm assuming this is because of my cache. It would be nice if I can find a better way to do this as having all 4 streams at 1080p constantly puts too much strain on my connection.

Finally, I am also having an issue where I can't find anyway to use a hotkey for "interact". It would be great if I could have a hotkey set for this with my current setup as right clicking each time I have to interact with a browser source is really tedious.

Thanks so much for anyone that may be able to help or point be in the right direction!
 

koala

Active Member
You can have the full power of ffmpeg/vlc for remote media playback within OBS by using the VLC media source within OBS. It magically appears as additional source type, if OBS is able to find a reasonably current VLC installation on the PC with the same bitness (32 or 64 bit) of the OBS version you start.
 

BounD

New Member
I was actually playing around with this earlier as well as a possible solution. I know that you can theoretically streamback twitch streams through VLC player and I thought you may be able to use this as a source in OBS. Is there a reliable way to stream any twitch stream directly to VLC? I had troubles doing this. Thanks!
 
Top