Skip to content

Instantly share code, notes, and snippets.

@isti03
Last active October 29, 2020 11:58
Show Gist options
  • Save isti03/95fb7c431f718e89d09646b28ca50d42 to your computer and use it in GitHub Desktop.
Save isti03/95fb7c431f718e89d09646b28ca50d42 to your computer and use it in GitHub Desktop.

Installation

Use your package manager to install it The package is probably named obs-studio

Extensions

Remote control

You can use the obs-websocket extension to remotely control the behavior of OBS Studio through the network. It is available in the AUR for Arch Linux. You most probably have to install it from github on other distros.

Important: if you use a firewall, make sure to add port 4444 to the allow list. (With UFW: sudo ufw allow 4444)

Now restart OBS if running, go to Tools, WebSocket Server Settings, and enable the WebSockets server. You can set a password by enabling authentication.

You can use a simple web interface here or an Android app (see below).

Now download an app that is built on WebSockets. I recommend using the StreamControl app from the Google Play Store. Then find out your local IP address and connect from the app. (A fix local IP might be useful.)

More filters

Just install the obs-streamfx which is also available in the AUR for Arch Linux. Otherwise, see the github page. These effects include blurring, color grading, 3D transformation, Dynamic masking and other cool features.

Two PC setup over network

You can transfer audio/video input and output over IP using NewTek's NDI™ technology. This means, that you can have a separate PC just for streaming (and a quite good local connection speed). For examle, you could pass the game from a gamer Windows PC to an older machine with Linux that is still capable of streaming in good quality.

To do this, you have to use a plugin named obs-ndi. You can find the binary, normal and git packages available in the AUR for Arch Linux, otherwise see the github page. Follow this video tutorial to get it working: https://youtu.be/V9bsFXUz-2s

Different apps on different audio tracks

Putting an application's sound is only important if you are recording your stream or highlights of it with the record buffer. This method allows you to split audio into several tracks, and later on at the post processing modify / remove them.

First, understand how audio configuration works in OBS: https://youtu.be/QxRbLeTRlzQ

Then follow this article. If something is not working, see the discussion tab of the page.

Currently playing song info

Use univrsal/tuna. Available in the AUR as obs-plugin-tuna-bin and obs-plugin-tuna-git.

Move transition

Move things around with this cool transition.

Github page: https://github.com/exeldro/obs-move-transition

OBS plugin page: https://obsproject.com/forum/resources/move-transition.913/

#!/bin/sh
#Install obs and some useful extensions on Arch Linux
yay -S --noconfirm \
obs-studio \
obs-websocket \
obs-streamfx \
obs-ndi-bin \
obs-plugin-tuna-bin
#Let websocket connect throught port 4444
sudo ufw allow in from any to any port 4444
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment