steveseguin / vdo.ninja

VDO.Ninja is a powerful tool that lets you bring remote video feeds into OBS or other studio software via WebRTC.
https://vdo.ninja
Other
2.79k stars 789 forks source link

Add audio to OBS Virtualcam output; makes it easy to get gamers to use it #605

Open steveseguin opened 3 years ago

Amain commented 2 years ago

You can create a virtual audio device similar to a virtual camera. Various solutions exist. For example for Windows and Mac you can look into https://vb-audio.com/Cable/. For Linux for example using Pulse Audio, you can create a 'Virtual Speaker':

#!/bin/bash
pactl load-module module-null-sink sink_name=Virtual-Speaker sink_properties=device.description=Virtual-Speaker
pactl load-module module-remap-source source_name=Remap-Source master=Virtual-Speaker.monitor

Connect OBS monitor output to the 'Virtual Speaker'. The 'Virtual Speaker', similar to the 'OBS Virtual Camera' can be used as input device in audio / video aware programs. You can use audio/video sync options in OBS in case audio and video are not in sync.