This is a browser source plugin for obs-studio (https://github.com/jp9000/obs-studio) based on Chromium Embedded Framework (https://bitbucket.org/chromiumembedded/cef). This plugin is Linux only.
Unfortunately, I was not able to make obs-browser (https://github.com/kc5nra/obs-browser) work on Linux, so I decided to create a separate plugin using the same engine, so both plugins should have feature parity in terms of browser capabilities.
- Download the latest release from releases page (built with mp3 support)
mkdir -p $HOME/.config/obs-studio/plugins
tar xfvz linuxbrowser0.2.0-obs18.0.1-64bit.tgz -C $HOME/.config/obs-studio/plugins
You don't need to build the plugin if you downloaded a binary release, instructions below are for people who want to compile the plugin themselves.
Notice: public CEF releases have mp3 support turned off
- Download CEF standard binary release from http://opensource.spotify.com/cefbuilds/index.html
- Extract and cd into folder
- Run
cmake ./ && make libcef_dll_wrapper
Make sure you have obs-studio installed.
cd obs-linuxbrowser
mkdir build
cd build
cmake -D CEF_DIR=<path to your cef dir> ..
You might need to also setOBS_INCLUDE
and/orOBS_LIB
build variablesmake
Run make install
to copy plugin binaries into $HOME/.config/obs-studio/plugins.
You can enable flash by providing path to pepper flash library file and its version. Some distributions provide packages with the plugin, or you can extract one from google chrome installation. Flash version can be found in manifest.json that is usually found in same directory as .so file.
Our binary builds provided on the releases page now have mp3 support. If you build the plugin yourself, you'll have to build CEF from scratch with proprietary codecs support enabled (takes 2-3 hours on i7 4770k with 16GB RAM).
Unfortunately, currently those require either mp3 support or flash to be enabled in order to work properly (even if they are playing .ogg audio - developers are aware of this issue). Same issue might affect other similar services.