Browser source obs linux

Arch Linux User Repository

Search Criteria

Package Details: obs-linuxbrowser 0.6.1-1

Package Actions

Git Clone URL: https://aur.archlinux.org/obs-linuxbrowser.git (read-only, click to copy)
Package Base: obs-linuxbrowser
Description: Browser source plugin for obs-studio based on CEF. Alternative to obs-qtwebkit.
Upstream URL: https://github.com/bazukas/obs-linuxbrowser
Keywords: browser obs obs-qtwebkit plugin
Licenses: GPL
Conflicts: obs-linuxbrowser-bin
Submitter: NexAdn
Maintainer: None
Last Packager: NexAdn
Votes: 12
Popularity: 0.000322
First Submitted: 2017-04-01 14:55
Last Updated: 2019-04-06 16:57

Dependencies (14)

  • atk (atk-git)
  • gconf (gconf-gtk2)
  • libxcomposite
  • libxrandr (libxrandr-git)
  • libxss
  • nss (nss-hg)
  • pango (pango-ubuntu, pango-minimal-git, pango-git)
  • obs-studio>=21.1.2 (obs-studio-git, rpan-studio, obs-studio-rc, obs-studio-tytan652, obs-studio-browser, obs-studio-ftl, obs-hevc-vaapi-git)
  • cef-minimal (cef-git, cef-standard, cef-minimal-obs-studio-browser-bin) (make)
  • cmake (cmake-git) (make)
  • git (git-git, git-vfs) (make)
  • make (make3, make-git) (make)
  • cef-minimal (cef-git, cef-standard, cef-minimal-obs-studio-browser-bin) (optional) – Up-to-date browser backend
  • pepper-flash (pepper-flash-debug) (optional) – Flash support

Required by (0)

Sources (1)

Latest Comments

TrashDwellTroll commented on 2021-09-05 20:48

For some reason, I cannot install this. Edit: Seems like the main issue is missing native_blob.bin

GI_Jack commented on 2020-12-14 14:20

Does this REALLY need gconf as a dependency?

manouchk commented on 2020-10-09 04:55

cef-minimal 80.0.8-1 was installed but

Build failed with this errors

— Looking for Chromium Embedded Framework in /opt/cef — Found CEF: /opt/cef/Release/libcef.so
CMake Error at CMakeLists.txt:38 (file): file COPY cannot find «/opt/cef/Release/natives_blob.bin»: No such file or directory.

filiphanes commented on 2020-06-19 08:44

Using obs-studio-git I got working OBS Browser source. Even without cef-minimal-3770. obs-linuxbrowser-bin has conflicting files with obs-studio-git so I had to uninstall it before.

lorecast162 commented on 2020-05-03 17:17

@Leeo97one unfortunately they closed the bug with reason «Won’t implement»

Leeo97one commented on 2020-04-20 11:29

StormEngineer commented on 2020-04-08 12:03

The Github page for this says it’s archived because OBS ships with a source now that works on Linux, but this does not seem to be the case, I still don’t have browser source in OBS 25. So what? Can someone contact bazukas and let them know? I was unable to find a way to contact them.

cobaltspace commented on 2020-03-03 03:56

Git should not be a necessary tool to build this package. Download should probably be done using https://github.com/bazukas/obs-linuxbrowser/archive/$.tar.gz as source.

NexAdn commented on 2019-12-23 14:30

We are investigating issues if cef-minimal is installed on the system while obs-linuxbrowser is being used. This is however not an issue with the AUR package.

Also, this package is not outdated. It might contain bugs, but as I wan’t yet able to fix them, the newest version is still 0.6.1.

Mayravixx commented on 2019-03-13 15:08

Edit: This specific package does not work for me at all, however, obs-linuxbrowser-bin DOES work, streamlabs successfully tested my Twitch alerts inside OBS.

Читайте также:  Слетят ли файлы при обновлении до windows 10

Copyright © 2004-2021 aurweb Development Team.

AUR packages are user produced content. Any use of the provided files is at your own risk.

Источник

Browser source obs linux

obs-browser introduces a cross-platform Browser Source, powered by CEF (Chromium Embedded Framework), to OBS Studio. A Browser Source allows the user to integrate web-based overlays into their scenes, with complete access to modern web APIs.

On Windows, this also adds support for Service Integration (linking third party services) and Browser Docks (webpages loaded into the interface itself). macOS support for service integration & browser docks is in the works, and Linux support is planned.

This plugin is included by default on official packages on Windows and macOS. While Linux is supported, the official ppa does not currently include the browser source due to a conflict with GTK.

obs-browser provides a global object that allows access to some OBS-specific functionality from JavaScript. This can be used to create an overlay that adapts dynamically to changes in OBS.

Get Browser Plugin Version

Register for event callbacks

Descriptions for these events can be found here.

  • obsSceneChanged
  • obsSourceVisibleChanged
  • obsSourceActiveChanged
  • obsStreamingStarting
  • obsStreamingStarted
  • obsStreamingStopping
  • obsStreamingStopped
  • obsRecordingStarting
  • obsRecordingStarted
  • obsRecordingPaused
  • obsRecordingUnpaused
  • obsRecordingStopping
  • obsRecordingStopped
  • obsReplaybufferStarting
  • obsReplaybufferStarted
  • obsReplaybufferSaved
  • obsReplaybufferStopping
  • obsReplaybufferStopped
  • obsVirtualcamStarted
  • obsVirtualcamStopped
  • obsExit

Get webpage control permissions

Permissions required: NONE

Get the current scene

Permissions required: READ_ONLY

Get OBS output status

Permissions required: READ_ONLY

Save the Replay Buffer

Permissions required: BASIC

Start the Replay Buffer

Permissions required: ADVANCED

Stop the Replay Buffer

Permissions required: ADVANCED

Permissions required: ALL

Permissions required: ALL

Permissions required: ALL

Permissions required: ALL

Permissions required: ALL

Permissions required: ALL

Start the Virtual Camera

Permissions required: ALL

Stop the Virtual Camera

Permissions required: ALL

Register for visibility callbacks

This method is legacy. Register an event listener instead.

Register for active/inactive callbacks

This method is legacy. Register an event listener instead.

OBS Browser cannot be built standalone. It is built as part of OBS Studio.

By following the instructions, this will enable Browser Source & Custom Browser Docks on all three platforms. Both BUILD_BROWSER and CEF_ROOT_DIR are required.

Follow the build instructions and be sure to download the CEF Wrapper and set CEF_ROOT_DIR in CMake to point to the extracted wrapper.

Use the macOS Full Build Script. This will automatically download & enable OBS Browser.

Follow the build instructions and choose the «If building with browser source» option. This includes steps to download/extract the CEF Wrapper, and set the required CMake variables.

Источник

Browser source obs linux

Copy raw contents

Copy raw contents

Good news! Starting with version 25, OBS Studio ships with browser source that work on Linux. I recommend you to use that and report any issues at obs-browser repo and/or official discord community.

I will archive this repository from now on. I would like to say big thanks to all the users, testers and contributors. Special thanks to NexAdn who helped maintain this repository for most of the time!

Читайте также:  What is hostname in windows

This is a browser source plugin for obs-studio based on Chromium Embedded Framework. This plugin is Linux only.

Unfortunately, I was not able to make obsproject/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.

Installing (binary release)

  • Download the latest release from the releases page. Make sure the release version matches obs-studio version on your system [1].
  • mkdir -p $HOME/.config/obs-studio/plugins
  • Untar, e.g.: tar -zxvf linuxbrowser0.6.1-obs23.0.2-64bit.tgz -C $HOME/.config/obs-studio/plugins/
  • Install the dependencies (see Dependencies section)

Arch Linux users can install obs-linuxbrowser from the official AUR packages obs-linuxbrowser or obs-linuxbrowser-bin.

You don’t need to build the plugin if you’ve downloaded a binary release, instructions below are for people who want to compile the plugin themselves.

[1] Every binary release has the version number of OBS contained as part of the file name, e.g. “linuxbrowser0.6.1-obs23.0.2-64bit.tgz” refers to obs-linuxbrowser version 0.6.1 with OBS version 23.0.2.

Building from source

The following steps are NOT necessary, if you have already installed a binary release of obs-linuxbrowser!

  • Download CEF minimal or standard binary release from http://opensource.spotify.com/cefbuilds/index.html [2]
  • Extract and cd into folder
  • Run cmake ./ && make libcef_dll_wrapper

[2] Due to unknown reasons certain CEF versions do not work properly with OBS-Studio. See issue #63 for a list of versions which have been confirmed to be working and to track progress on this issue.

Make sure you have obs-studio installed.

  • cd obs-linuxbrowser
  • mkdir build
  • cd build
  • cmake -DCEF_ROOT_DIR=

.. (don’t forget the two dots at the end!) [3]

  • make
  • [3] If you’ve installed OBS under an installation prefix other than /usr (meaning include files aren’t located at /usr/include/obs and library files aren’t located at /usr/lib ), you need to set OBS_ROOT_DIR to reflect the actual installation prefix. If you don’t know your installation prefix, you can also set OBS_INCLUDE_SEARCH_DIR to the location of your OBS installation’s header files and OBS_LIBRARY_SEARCH_DIR to the location of your OBS installation’s library (.so) files. In most cases, though, this is NOT required at all.

    Info: If you intend to install obs-linuxbrowser system wide (though the OBS developers don’t recommend that), you can add -DINSTALL_SYSTEMWIDE=true to the CMake call. obs-linuxbrowser will then be installed to /usr/lib/obs-plugins (binaries) and /usr/share/obs/obs-plugins/obs-linuxbrowser (data).

    Installing compiled sources

    • Run make install to install all plugin binaries to $HOME/.config/obs-studio/plugins .
    • Make sure to have all dependencies installed on your system

    You can enable flash by providing the path to your installed pepper flash library file and its version. Some distributions provide packages with the plugin, but you can also extract one from google chrome installation. The Flash version can be found in manifest.json that is usually found in same directory as .so file.

    obs-linuxbrowser provides some JS bindings that are working the same way as the ones from obs-browser do. Additionally, a constant window.obsstudio.linuxbrowser = true has been introduced to allow the distinction between obs-browser and obs-linuxbrowser on the website.

    All off the following bindings are children of window.obsstudio .

    • onActiveChange(bool isActive) – called whenever the source becomes activated or deactivated
    • onVisibilityChange(bool isVisible) – called whenever the source is shown or hidden
    • linuxbrowser = true – Indicates obs-linuxbrowser is being used
    • pluginVersion – A string containing the plugin’s version

    obs-linuxbrowser does not compile with recent versions of CEF

    Due to changes of the CEF API, recent versions of CEF are no longer compatible with obs-linuxbrowser. An attempt to solve this issue has been made and can be tried out by checking out the fix-new-cef-api-108-110 branch. Unfortunately, this branch hasn’t been merged to master yet due to the problems described in #121.

    OBS snap installation crashing when trying to create a Linuxbrowser object

    obs-linuxbrowser does not support Snap installations as these have some known restrictions that make our plugin crash. Please install OBS your distribution’s standard way (e.g. via APT, RPM, etc.).

    See #105 for details.

    Old version of OBS not starting with new version of obs-linuxbrowser installed

    Using obs-linuxbrowser with an older OBS version than the one which has been used for compilation makes OBS break. Compile obs-linuxbrowser with the same OBS version you are going to use for streaming/recording or select a binary release whose OBS version matches the same version as yours. If you’ve compiled obs-linuxbrowser yourself, recompile it with the older version of OBS.

    OBS-Linuxbrowser not displaying any content with certain versions of CEF

    Some builds of CEF seem to be not working with obs-linuxbrowser. We weren’t able to figure out the exact cause of this, but we assume that it’s a CEF-related issue we can’t fix. Check issue #63 for information about CEF versions that are known to be working. This issue seems to have been resolved. If it occurs again, please open a new issue.

    Problems might also occur when updating CEF withouth recompiling obs-linuxbrowser afterwards. Please make sure to recompile obs-linuxbrowser before opening issues concerning problems with certain CEF versions.

    Transparency not working correctly: Transparent white browser content appears gray on white scene background.

    As stated in issue #58, there is a limitation in CEF, making it unable to detect the background of the OBS scenes. Instead, premultiplied alpha values are used, which somehow make transparent white colors appear gray (every color on the grayscale is a bit darker than normal when using transparency). With a black background, transparency seems to be working out quite fine.

    This issue cannot be fixed.

    OBS-Linuxbrowser not compiling, complaining about having to use ISO C++11 standard (old compiler versions)

    See #88 for details. Some older compiler versions seem to have trouble with our current CMake setup. Using newer versions (e.g. GCC 8.x) should work. This issue should’ve been resolved with versions 0.5.3 and above.

    OBS-Linuxbrowser crashing when using amdgpu

    See #89 for details. obs-linuxbrowser seems to crash on machines using amdgpu drivers. Unfortunately, this issue cannot be fixed.

    Источник

    Читайте также:  Синхронизация гугл диска с компьютером linux
    Оцените статью