Difference between revisions of "OBS for other distributions"

From Looking Glass
Jump to navigation Jump to search
(Created page with "== Looking Glass plugin for Open Broadcaster Software == === Build Instructions === The OBS plugin is included in the main source tree of Looking Glass ==== Dependencies ===...")
 
(→‎Arch / Manjaro: Proper name for Arch is Arch Linux)
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Looking Glass plugin for Open Broadcaster Software ==
 
== Looking Glass plugin for Open Broadcaster Software ==
 +
 +
[[File:Looking-Glass-OBS-Source-Add.png|thumb|Adding the plugin as a video source]]
 +
 +
[[File:Looking-Glass-OBS-config.png|thumb|Plugin configuration settings]]
 +
 +
If you're streaming games on a guest VM from your host, and you're 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 viewers.
 +
  
 
=== Build Instructions ===
 
=== Build Instructions ===
The OBS plugin is included in the main source tree of Looking Glass
+
The OBS plugin is included in the main source tree of Looking Glass. The building process is very similar to the [[Installation#Looking_Glass_Client|client's]].
  
 
==== Dependencies ====
 
==== Dependencies ====
The OBS plugin requires the following extra dependencies
+
 
 +
The OBS plugin requires the following extra dependencies alongside the [[Installation#Installing_Build_Dependencies|client's build dependencies]].
 
* libobs-dev
 
* libobs-dev
 +
 +
Please install this package or the equivalent in your package manager.
 +
 +
===== Debian / Ubuntu =====
 +
<syntaxhighlight lang=bash>
 +
apt-get install libobs-dev
 +
</syntaxhighlight>
 +
 +
===== Fedora 29+ ([https://rpmfusion.org/ RPM Fusion]) =====
 +
<syntaxhighlight lang=bash>
 +
dnf install obs-studio-devel
 +
</syntaxhighlight>
 +
 +
===== OpenSuSE Leap 15.1+ =====
 +
<syntaxhighlight lang=bash>
 +
zypper ar -cfp 90 http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.1/ packman
 +
zypper in obs-studio-devel
 +
</syntaxhighlight>
 +
 +
===== Arch Linux / 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 ====
 +
 
These instructions are the same as when building the [[Installation#Building|client]]
 
These instructions are the same as when building the [[Installation#Building|client]]
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
Line 18: Line 56:
  
 
=== Installation ===
 
=== Installation ===
 
[[File:Looking-Glass-OBS-Source-Add.png|thumb|Adding the plugin as a video source]]
 
  
 
The resulting liblooking-glass-obs.so file should be placed in your OBS plugin directory.
 
The resulting liblooking-glass-obs.so file should be placed in your OBS plugin directory.
Line 27: Line 63:
 
cp liblooking-glass-obs.so ~/.config/obs-studio/plugins/looking-glass-obs/bin/64bit
 
cp liblooking-glass-obs.so ~/.config/obs-studio/plugins/looking-glass-obs/bin/64bit
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
=== 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''.

Revision as of 15:45, 17 June 2020

Looking Glass plugin for Open Broadcaster Software

Adding the plugin as a video source
Plugin configuration settings

If you're streaming games on a guest VM from your host, and you're 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 viewers.


Build Instructions

The OBS plugin is included in the main source tree of Looking Glass. The building process is very similar to the client's.

Dependencies

The OBS plugin requires the following extra dependencies alongside the client's build dependencies.

  • libobs-dev

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

Debian / Ubuntu
apt-get install libobs-dev
Fedora 29+ (RPM Fusion)
dnf install obs-studio-devel
OpenSuSE Leap 15.1+
zypper ar -cfp 90 http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.1/ packman
zypper in obs-studio-devel
Arch Linux / 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.