Difference between revisions of "OBS for other distributions"

From Looking Glass
Jump to navigation Jump to search
m (JJRcop moved page JJRcop/OBSDraft to OBS: pressed entry by mistake)
m (Remove remnant from earlier removed text)
Tags: Mobile web edit, Mobile edit
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Looking Glass plugin for Open Broadcaster Software ==
+
The OBS plugins requires many client dependencies, along with the libobs devel files. The following is a list of the required dependencies for other distros. The building method is the same as the normal client, as described in the [https://looking-glass.io/docs/stable/obs Official Documentation].
  
[[File:Looking-Glass-OBS-Source-Add.png|thumb|Adding the plugin as a video source]]
+
== Fedora 29+ ([https://rpmfusion.org/ RPM Fusion]) ==
 
 
[[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 ===
 
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 ====
 
 
 
The OBS plugin requires the following extra dependencies
 
* libobs-dev
 
 
 
Please install this package or the equivalent in your package manager.
 
 
 
===== Debian / Ubuntu =====
 
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
apt-get libobs-dev
+
dnf install obs-studio-devel
 
</syntaxhighlight>
 
</syntaxhighlight>
  
===== Fedora 29+ ([https://rpmfusion.org/ RPM Fusion]) =====
+
== OpenSuSE Leap 15.1+ ([http://packman.links2linux.org/ Packman]) ==
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
dnf install obs-studio-devel
+
zypper in obs-studio-devel
 
</syntaxhighlight>
 
</syntaxhighlight>
  
===== Arch / Manjaro =====
+
== Arch Linux / Manjaro ==
 
Devel files included in main package
 
Devel files included in main package
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
Line 34: Line 17:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
===== Void Linux =====
+
== Void Linux ==
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
xbps-install -Syu obs-devel
 
xbps-install -Syu obs-devel
 
</syntaxhighlight>
 
</syntaxhighlight>
 
 
==== Building ====
 
 
These instructions are the same as when building the [[Installation#Building|client]]
 
<syntaxhighlight lang=bash>
 
mkdir obs/build
 
cd obs/build
 
cmake ../
 
make
 
</syntaxhighlight>
 
 
=== Installation ===
 
 
The resulting liblooking-glass-obs.so file should be placed in your OBS plugin directory.
 
 
<syntaxhighlight lang=bash>
 
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
 
</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''.
 

Latest revision as of 15:04, 18 July 2021

The OBS plugins requires many client dependencies, along with the libobs devel files. The following is a list of the required dependencies for other distros. The building method is the same as the normal client, as described in the Official Documentation.

Fedora 29+ (RPM Fusion)[edit]

dnf install obs-studio-devel

OpenSuSE Leap 15.1+ (Packman)[edit]

zypper in obs-studio-devel

Arch Linux / Manjaro[edit]

Devel files included in main package

pacman -Syu obs-studio

Void Linux[edit]

xbps-install -Syu obs-devel