🇨🇳 简体中文 🇯🇵 日本語 🇰🇷 한국어 🇪🇦 Español 🇫🇷 Français 🇮🇹 Italiano 🇩🇪 Deutsch 🇳🇱 Nederlands
OBS-RTSPServer
This is a plugin for obs-studio, encode and publish to a RTSP stream.
Supported Platforms : Windows 7 , Windows 8 , Windows 10, Linux and macOS
Supported OBS Studio version : 24.0.0+
Install
Windows
The installer can be found in Release Page.
If you want to use compressed file to install manually, you can unzip it (e.g.: obs-rtspserver-v2.0.5-windows.zip) and put it to your obs-studio install folder.
winget Package
If the operating system version is Windows 10 1709 or later and app-installer has been installed, just run this to install it:
winget install iamscottxu.obs-rtspserver
MacOS
You can use the .pkg installer to install and the installer can be found in Release Page if use macOS.
Linux (Only x64)
Ubuntu/Debian DEB Package
Download the deb package from the Release Page and install it.
wget -O obs-rtspserver-linux.deb https://github.com/iamscottxu/obs-rtspserver/releases/download/{version}/obs-rtspserver-{version}-linux.deb
apt install -y obs-rtspserver-linux.deb
- Replace {version} with last release version, e.g.: v2.2.0
Red-Hat RPM Package
Download the rpm package from the Release Page and install it.
wget -O obs-rtspserver-linux.rpm https://github.com/iamscottxu/obs-rtspserver/releases/download/{version}/obs-rtspserver-{version}-linux.rpm
rpm -ivh obs-rtspserver-linux.rpm
- Replace {version} with last release version, e.g.: v2.2.0
ArchLinux AUR Package
obs-rtspserver is also available as an AUR Package If you use yay just run this to install it:
yay -S obs-rtspserver
Other
Download the tar.gz archive from the Release Page and unpack to "/".
wget -O obs-rtspserver-linux.tar.gz https://github.com/iamscottxu/obs-rtspserver/releases/download/{version}/obs-rtspserver-{version}-linux.tar.gz
#For all user
tar -xzvf obs-rtspserver-linux.tar.gz -C /
#For local user
mkdir -p ~/.config/obs-studio/plugins/obs-rtspserver/bin/64bit/
mkdir -p ~/.config/obs-studio/plugins/obs-rtspserver/data/
mkdir -p ~/obs-rtspserver-linux
tar -xzvf obs-rtspserver-linux.tar.gz -C ~/obs-rtspserver-linux/
mv ~/obs-rtspserver-linux/usr/lib/obs-plugins/obs-rtspserver.so ~/.config/obs-studio/plugins/obs-rtspserver/bin/64bit/obs-rtspserver.so
mv ~/obs-rtspserver-linux/usr/share/obs/obs-plugins/obs-rtspserver/locale ~/.config/obs-studio/plugins/obs-rtspserver/data/locale
rm -rf ~/obs-rtspserver-linux
- Replace {version} with last release version, e.g.: v2.2.0
Build
- Install cmake, visual studio(only windows) and qt.
- Download and configure the source code of obs-studio.
- Copy source code to (obs-studio source code)/plugins/obs-rtspserver/
- Add
add_subdirectory(obs-rtspserver)
to (obs-studio source code)/plugins/CMakeLists.txt - Build obs-rtspserver.