Difference between revisions of "OBS for other distributions"

From Looking Glass
Jump to navigation Jump to search
(fedora and debian install)
(Add void instructions)
Line 19: Line 19:
 
Please install this package or the equivalent in your package manager.
 
Please install this package or the equivalent in your package manager.
  
===== Debian/Ubuntu =====
+
===== Debian / Ubuntu =====
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
apt-get libobs-dev
 
apt-get libobs-dev
Line 28: Line 28:
 
dnf install obs-studio-devel
 
dnf install obs-studio-devel
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
===== Arch / Manjaro =====
 +
Devel files included in main package
 +
<syntaxhighlight lang=bash>
 +
pacman -Syu obs-studio
 +
</syntaxhighlight>
 +
 +
===== Void Linux =====
 +
<syntaxhighlight lang=bash>
 +
xbps-install -Syu obs-devel
 +
</syntaxhighlight>
 +
  
 
==== Building ====
 
==== Building ====

Revision as of 10:04, 14 January 2020

Looking Glass plugin for Open Broadcaster Software

Adding the plugin as a video source
Plugin configuration settings

If you're streaming your guest's games from your host and are using Looking Glass, there is a plugin available for OBS to stream video directly from Looking Glass. This avoids the overhead from recording the Looking Glass client, which reduces latency to your fans.


Build Instructions

The OBS plugin is included in the main source tree of Looking Glass, and is very similar to building the client.


Dependencies

The OBS plugin requires the following extra dependencies

  • libobs-dev

Please install this package or the equivalent in your package manager.

Debian / Ubuntu
apt-get libobs-dev
Fedora 29+ (RPM Fusion)
dnf install obs-studio-devel
Arch / Manjaro

Devel files included in main package

pacman -Syu obs-studio
Void Linux
xbps-install -Syu obs-devel


Building

These instructions are the same as when building the client

mkdir obs/build
cd obs/build
cmake ../
make

Installation

The resulting liblooking-glass-obs.so file should be placed in your OBS plugin directory.

mkdir -p ~/.config/obs-studio/plugins/looking-glass-obs/bin/64bit
cp liblooking-glass-obs.so ~/.config/obs-studio/plugins/looking-glass-obs/bin/64bit

Setup

Once installed, you can select the "Looking Glass Client" source from the OBS sources menu. The configuration only requires the IVSHMEM file that is used by the VM, and this is pre-populated with the default filename for Looking Glass.

Open Broadcaster Software

The plugin is made for OBS, an open source streaming and recording studio. Find out more at https://obsproject.com/

It's available under most distributions as obs-studio or just obs.