Editing OBS for other distributions

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
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].
+
== Looking Glass plugin for Open Broadcaster Software ==
  
== Fedora 29+ ([https://rpmfusion.org/ RPM Fusion]) ==
+
[[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 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 [[Installation#Looking_Glass_Client|client]].
 +
 
 +
 
 +
==== Dependencies ====
 +
 
 +
The OBS plugin requires the following extra dependencies
 +
* libobs-dev
 +
 
 +
Please install this package or the equivalent in your package manager.
 +
<!--TODO: Look at different OS' repos to find package names like the client install-->
 +
 
 +
 
 +
==== Building ====
 +
 
 +
These instructions are the same as when building the [[Installation#Building|client]]
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
dnf install obs-studio-devel
+
mkdir obs/build
 +
cd obs/build
 +
cmake ../
 +
make
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== OpenSuSE Leap 15.1+ ([http://packman.links2linux.org/ Packman]) ==
+
=== Installation ===
 +
 
 +
The resulting liblooking-glass-obs.so file should be placed in your OBS plugin directory.
 +
 
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
zypper in obs-studio-devel
+
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>
 
</syntaxhighlight>
  
== Arch Linux / Manjaro ==
+
=== Setup ===
Devel files included in main package
+
 
<syntaxhighlight lang=bash>
+
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.
pacman -Syu obs-studio
+
 
</syntaxhighlight>
+
== Open Broadcaster Software ==
 +
The plugin is made for OBS, an open source streaming and recording studio. Find out more at https://obsproject.com/
  
== Void Linux ==
+
It's available under most distributions under 'obs-studio' or just 'obs'.
<syntaxhighlight lang=bash>
 
xbps-install -Syu obs-devel
 
</syntaxhighlight>
 

Please note that all contributions to Looking Glass may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Looking Glass:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)