Package Details: obs-studio-git

Git Clone URL: (read-only, click to copy)
Package Base: obs-studio-git
Description: Free and open source software for video recording and live streaming.
Upstream URL:
Keywords: obs-studio
Licenses: GPL2
Conflicts: obs-studio
Provides: obs-studio
Submitter: ledti
Maintainer: benklett
Last Packager: benklett
Votes: 91
Popularity: 0.076934
First Submitted: 2014-03-12 22:29 (UTC)
Last Updated: 2022-03-27 21:40 (UTC)

Required by (117)

Sources (5)

Pinned Comments

thotypous commented on 2021-02-05 14:12 (UTC)

If you don't want to build this package yourself, hourly builds are available at

benklett commented on 2016-02-06 23:11 (UTC) (edited on 2016-08-10 14:01 (UTC) by benklett)

This is a -git package, that means you have to update it! Please do not flag it out of date because of the version number. The version number will automatically increase to the version of the latest commit. If you want to have the stable versions, please install the package obs-studio from [community].

Latest Comments

rek2 commented on 2022-08-08 11:15 (UTC)

Hello same as the comments below and

-- OBS:  Application Version: 28.0.0.beta1 - Build Number: 1
CMake Error at CMakeLists.txt:15 (project):
  VERSION "28.0.0.beta1" format invalid.

GC268DM commented on 2022-07-05 14:39 (UTC) (edited on 2022-07-20 13:53 (UTC) by GC268DM)

Since about 1-2 weeks I am getting this error

[ 38%] Built target decklink
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
In file included from /var/tmp/pamac-build-***/obs-studio-git/src/obs-studio-git/plugins/vlc-video/vlc-video-plugin.h:9,
                 from /var/tmp/pamac-build-***/obs-studio-git/src/obs-studio-git/plugins/vlc-video/vlc-video-plugin.c:6:
/usr/include/vlc/libvlc_media.h:735:52: error: unknown type name ‘libvlc_picture_type_t’; did you mean ‘libvlc_media_type_t’?
  735 |                                         bool crop, libvlc_picture_type_t picture_type,
      |                                                    ^~~~~~~~~~~~~~~~~~~~~
      |                                                    libvlc_media_type_t
/usr/include/vlc/libvlc_media.h:773:51: error: unknown type name ‘libvlc_picture_type_t’; did you mean ‘libvlc_media_type_t’?
  773 |                                        bool crop, libvlc_picture_type_t picture_type,
      |                                                   ^~~~~~~~~~~~~~~~~~~~~
      |                                                   libvlc_media_type_t
[ 24%] Building C object plugins/linux-pipewire/CMakeFiles/linux-pipewire.dir/pipewire.c.o
In file included from /var/tmp/pamac-build-***/obs-studio-git/src/obs-studio-git/plugins/vlc-video/vlc-video-plugin.h:10:
/usr/include/vlc/libvlc_events.h:266:13: error: unknown type name ‘libvlc_picture_t’
  266 |             libvlc_picture_t* p_thumbnail;
      |             ^~~~~~~~~~~~~~~~
/usr/include/vlc/libvlc_events.h:274:13: error: unknown type name ‘libvlc_picture_list_t’
  274 |             libvlc_picture_list_t* thumbnails;
      |             ^~~~~~~~~~~~~~~~~~~~~
make[2]: *** [plugins/vlc-video/CMakeFiles/vlc-video.dir/build.make:76: plugins/vlc-video/CMakeFiles/vlc-video.dir/vlc-video-plugin.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1240: plugins/vlc-video/CMakeFiles/vlc-video.dir/all] Error 2

I also get the same errors after removing all build-files from pamac

parkerlreed commented on 2022-04-21 19:34 (UTC) (edited on 2022-04-21 19:35 (UTC) by parkerlreed)

Is there a reason the CMake files for the includes are not installed with this package?

obs-studio from community contains


ArchBoxHero commented on 2022-03-27 22:28 (UTC) (edited on 2022-03-27 23:06 (UTC) by ArchBoxHero)

I lied, Its not building for me as I am getting the errors I mentioned earlier concerning > cairo You can see my comment below with the details like these: /usr/bin/ld: /usr/lib/ undefined reference to `cairo_pdf_surface_add_outline'

** I was able to get this to build by installing the first. But also I have Anaconda installed and had to deactivate that because I've had Anaconda installed for a long time and now I'm just scared of removing it. I will some day.... just not today.

ArchBoxHero commented on 2022-03-27 21:11 (UTC) (edited on 2022-03-27 21:17 (UTC) by ArchBoxHero)

Wait, ignore this. I was able to build this after reading @seo.disparate 's comment.

specifying a cmake option -DENABLE_AJA=OFF when invoking cmake Thanks @seo.disparate those flags worked.

Haven't been able to get this to build:

-- OBS:  ENABLED    obs-filters
-- OBS:  ENABLED    obs-transitions
-- OBS:  ENABLED    rtmp-services
-- OBS:  ENABLED    text-freetype2
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/FindLibAJANTV2.cmake:98 (find_package_handle_standard_args)
  plugins/aja/CMakeLists.txt:17 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/user/obs-studio-git/src/obs-studio-git/build/CMakeFiles/CMakeOutput.log". ==> ERROR: A failure occurred in build(). Aborting...

The cmakefile log:

/home/user/obs-studio-git/src/obs-studio-git/build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
/home/user/obs-studio-git/src/obs-studio-git/build/CMakeFiles/CMakeTmp/src.cxx:2:33: warning: ‘int somefunc()’ is deprecated [-Wdeprecated-declarations]
    2 |     int main() { return somefunc();}
      |                         ~~~~~~~~^~
/home/user/obs-studio-git/src/obs-studio-git/build/CMakeFiles/CMakeTmp/src.cxx:1:37: note: declared here
    1 | __attribute__((__deprecated__)) int somefunc() { return 0; }
      |                                     ^~~~~~~~
Linking CXX executable cmTC_bd7ee
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bd7ee.dir/link.txt --verbose=1
/usr/bin/c++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  CMakeFiles/cmTC_bd7ee.dir/src.cxx.o -o cmTC_bd7ee
make[1]: Leaving directory '/home/user/obs-studio-git/src/obs-studio-git/build/CMakeFiles/CMakeTmp'

Source file was:
__attribute__((__deprecated__)) int somefunc() { return 0; }
    int main() { return somefunc();}

I don't know. I'd give my big toe on my right foot to take 6months to myself locked in a room with c++ books and tutorials where I'd figure this out and not have to post here. Until then....

linuxmobile commented on 2022-03-23 02:05 (UTC)

There's a problem with installation with aur.

==> Starting build()... -- OBS: Application Version: 27.2.0.r141.g13f2d7925 - Build Number: 1 CMake Error at CMakeLists.txt:15 (project): VERSION "27.2.0.r141.g13f2d7925" format invalid.

-- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'obs-studio-git-27.1.3.r255.gb2c09d352-1': error: packages failed to build: obs-studio-git-27.1.3.r255.gb2c09d352-1

gabx commented on 2022-03-19 13:25 (UTC)

I have a build error:

==> Starting build()... -- OBS: Application Version: 27.2.0.r124.g7dcd22dc9 - Build Number: 1 CMake Error at CMakeLists.txt:15 (project): VERSION "27.2.0.r124.g7dcd22dc9" format invalid.

seo.disparate commented on 2022-03-19 06:20 (UTC)

I was able to build this by specifying a cmake option -DENABLE_AJA=OFF when invoking cmake. If -DENABLE_AJA=ON is desired, I think this aur package is a required dependency: .

As for the VERSION error, I used this:

-DOBS_VERSION_OVERRIDE=$(echo $pkgver | sed 's/\([0-9]\+\.[0-9]\+\.[0-9]\+\)\.r\([0-9]\+\)\.g[a-f0-9]\+/\1.\2/')

This sets the "tweak" version number to the revision count (so 27.2.0.r124.g7dcd22dc9 becomes See as reference.

valwithoutfriend commented on 2022-03-19 06:10 (UTC)

Why paru is trying to update my obs to version obs-studio-git-27.1.3.r255.gb2c09d352-1

My installed versions is 27.2.0.r103.g02e541038 and this is already newer right?

ChrisLane commented on 2022-03-18 09:15 (UTC) This was merged yesterday, I suspect some changes to the PKGBUILD will be needed to build.

ArchBoxHero commented on 2022-02-28 02:15 (UTC) (edited on 2022-02-28 02:17 (UTC) by ArchBoxHero)

Yea I am not getting this to build -getting this:

[ 92%] Linking CXX executable obs
/usr/bin/ld: /usr/lib/ undefined reference to `cairo_tag_end'
/usr/bin/ld: /usr/lib/ undefined reference to `cairo_svg_surface_get_document_unit'
/usr/bin/ld: /usr/lib/ undefined reference to `pango_color_parse_with_alpha'
/usr/bin/ld: /usr/lib/ undefined reference to `cairo_tag_begin'
/usr/bin/ld: /usr/lib/ undefined reference to `cairo_pdf_surface_set_thumbnail_size'
/usr/bin/ld: /usr/lib/ undefined reference to `cairo_pdf_surface_set_metadata'
/usr/bin/ld: /usr/lib/ undefined reference to `cairo_font_options_get_variations'
/usr/bin/ld: /usr/lib/ undefined reference to `cairo_svg_surface_set_document_unit'
/usr/bin/ld: /usr/lib/ undefined reference to `cairo_pdf_surface_set_page_label'
/usr/bin/ld: /usr/lib/ undefined reference to `cairo_pdf_surface_add_outline'
collect2: error: ld returned 1 exit statusc
make[2]: *** [UI/CMakeFiles/obs.dir/build.make:1574: UI/obs] Error 1
make[1]: *** [CMakeFiles/Makefile2:1858: UI/CMakeFiles/obs.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().

benklett commented on 2022-02-27 09:41 (UTC)

I just had issues with luajit and If you have issues building the package, try a clean build first.

dr460nf1r3 commented on 2021-12-25 11:10 (UTC)

Oh well! I didn't notice there was still an old workaround in place which replaced the actual cef-minimal dependency with cef-minimal-obs-studio-browser-bin. Thanks for making me aware, it works after removing it.

tytan652 commented on 2021-12-25 11:03 (UTC) (edited on 2021-12-25 11:08 (UTC) by tytan652)

@dr460nf1r3, the log you gave are with cef-minimal-obs-studio-browser-bin which put the CEF in /opt/cef. And the actual PKGBUILD check in /opt/cef-obs.

My CEF packages put it in /opt/cef-obs because they provide a specific version for OBS.

Note: OBS has added patches about Media Handling to the CEF that they will use for 27.2.

dr460nf1r3 commented on 2021-12-25 10:54 (UTC) (edited on 2021-12-25 10:54 (UTC) by dr460nf1r3)

The package currently fails to compile with CMake Error at plugins/obs-browser/CMakeLists.txt:16 (message): CEF Not found -- set CEF_ROOT_DIR or set BUILD_BROWSER=OFF. in a clean chroot. I also tried using cef-minimal-obs-rc-bin as suggested by @tytan652 but that doesn't help. Full logs are available here :)

tytan652 commented on 2021-12-23 06:12 (UTC) (edited on 2021-12-25 11:00 (UTC) by tytan652)

You can switch to cef-minimal-obs-rc-bin, since OBS Project fixed crashes on Linux related to it on master.

RC -> Release Candidate/Beta

Edit: The issue with CEF 4280 was fixed upstream. (Missing <atomic> headers issue)

dack commented on 2021-12-22 22:37 (UTC) (edited on 2021-12-22 22:38 (UTC) by dack)

This would not compile for me as-is. I tried on two different machines, and it kept failing when compiling the browser source components. I got it to work as follows:

  • build cef-minimal with options=('!lto') and install it
  • change this PKGBUILD's build dependency from cef-minimal-obs to cef-minimal
  • change this PKGBUILD's -DCEF_ROOT_DIR="/opt/cef-obs" back to -DCEF_ROOT_DIR="/opt/cef"

benklett commented on 2021-12-14 19:54 (UTC)

tytan652, thank you for the tip, fixed it and updated the package. I had cef-minimal still installed.

tytan652 commented on 2021-12-14 17:59 (UTC) (edited on 2021-12-14 18:03 (UTC) by tytan652)

To use cef-minimal-obs you need to change -DCEF_ROOT_DIR="/opt/cef" to -DCEF_ROOT_DIR="/opt/cef-obs".

startia commented on 2021-12-14 17:54 (UTC)

I needed to install cef-minimal package before installing this via AUR. Please add as dependencie as cef-minimal-obs-bin is not working.

ChrisLane commented on 2021-12-14 10:39 (UTC)

I was actually able to build this with the cef-minimal package by adding options=(!lto) to its PKGBUILD.

ChrisLane commented on 2021-12-14 10:12 (UTC)

Since deleting my cache files and trying again after your dependency changes, the build error has changed:

zangoku commented on 2021-12-14 05:51 (UTC)

Here is the error log

/home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/plugins/obs-browser/obs-browser-source.cpp: In lambda function:
/home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/plugins/obs-browser/obs-browser-source.cpp:166:28: error: ‘class CefWindowInfo’ has no member named ‘bounds’
  166 |                 windowInfo.bounds.width = width;
      |                            ^~~~~~
/home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/plugins/obs-browser/obs-browser-source.cpp:167:28: error: ‘class CefWindowInfo’ has no member named ‘bounds’
  167 |                 windowInfo.bounds.height = height;
      |                            ^~~~~~
make[2]: *** [plugins/obs-browser/CMakeFiles/obs-browser.dir/build.make:90: plugins/obs-browser/CMakeFiles/obs-browser.dir/obs-browser-source.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1381: plugins/obs-browser/CMakeFiles/obs-browser.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
error: failed to build 'obs-studio-git-27.1.3.r249.gea1ae5914-1': 
error: packages failed to build: obs-studio-git-27.1.3.r249.gea1ae5914-1

benklett commented on 2021-12-13 22:44 (UTC)

@ChrisLane, please clone again or delete your build caches and try building again. If it does not build again, please give me a complete log file of the build.

ChrisLane commented on 2021-12-13 10:30 (UTC)

As @zangoku said, this no longer builds. Also, it no longer runs for me since some python updates: obs: error while loading shared libraries: cannot open shared object file: No such file or directory

zangoku commented on 2021-12-09 06:13 (UTC) (edited on 2021-12-09 06:13 (UTC) by zangoku)

No longer builds since last cef-minimal-obs-studio-browser-bin update.

ashpie commented on 2021-09-18 09:48 (UTC) (edited on 2021-09-20 13:38 (UTC) by ashpie)

@val.vgms it builds with 88.2.8 too, so you can use the cef-minimal-obs-studio-browser-bin package

val.vgms commented on 2021-09-17 20:35 (UTC)

replying to @zangoku

I downgraded cef-minimal to version 87.1.14. Had to edit the PKG build of said package, looking for the details on

zangoku commented on 2021-09-17 17:02 (UTC)

no longer builds error: conversion from ‘int’ to ‘CefRefPtr<CefV8Accessor>’ {aka ‘scoped_refptr<CefV8Accessor>’} is ambiguous 120 | CefRefPtr<CefV8Value> obsStudioObj = CefV8Value::CreateObject(0, 0);

flavio92ux commented on 2021-08-12 17:34 (UTC)

Hi. My virtual camera feature disappear in my desk. What is happen?

ChrisLane commented on 2021-06-29 08:18 (UTC)

Any idea why my compile is failing?

squidd commented on 2021-06-11 22:55 (UTC) (edited on 2021-06-11 22:55 (UTC) by squidd)

No matter what I do paru tells me that I need to upgrade this application. Should I not be installing this with yay/paru? Is the maintainer going to update this soon?

ngoonee commented on 2021-06-04 01:26 (UTC) (edited on 2021-06-04 01:27 (UTC) by ngoonee)

Building fails with a g_memdup2 undefined reference:-

Consolidate compiler generated dependencies of target obs-x264-test
[ 50%] Linking C executable obs-x264-test
/usr/bin/ld: /usr/lib/ undefined reference to `g_memdup2'
collect2: error: ld returned 1 exit status
make[2]: [plugins/obs-x264/CMakeFiles/obs-x264-test.dir/build.make:99: plugins/obs-x264/obs-x264-test] Error 1
[CMakeFiles/Makefile2:1488: plugins/obs-x264/CMakeFiles/obs-x264-test.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().

tytan652 commented on 2021-05-30 09:26 (UTC)

I don't know if you already know this.

But since obs-studio use luajit (~lua5.1) and VLC is compiled with lua5.2 or later.

The use of OBS VLC sources will make OBS crash because of the difference between lua versions.

I created vlc-luajit to provide a VLC package which not make crash OBS.

It could be a good idea to replace at least vlc optional dependency with vlc-luajit to try to provide a better experience to users.

outfrost commented on 2021-04-21 21:31 (UTC)

Please add pipewire-media-session as an optional dependency. It is required for PipeWire capture to work in OBS Studio.

lawa42 commented on 2021-04-19 07:22 (UTC)

pipewire screen capture doesn't work for me. As suggested by @Koffiepoeder I've enabled PIPEWIRE support in the PKGBUILD. I created an issue at

Scrumplex commented on 2021-04-13 08:18 (UTC)

OBS upstream includes support for globally installed ftl-sdk. I also packaged that and created an obs-studio-ftl package which is obs-studio stable with ftl-sdk support.


Koffiepoeder commented on 2021-04-08 07:42 (UTC) (edited on 2021-04-08 07:43 (UTC) by Koffiepoeder)

As @HurricanePootis mentioned, native pipewire recording was added to obs since version 27.0 (see It seems to me however that this is not enabled by default. To enable this functionality you can add -DENABLE_PIPEWIRE=ON to the build() step in the PKGBUILD (and run obs in wayland mode, see bottom of my post). For me this resolved the earlier requirement for obs-xdg-portal-git on my wayland/pipewire machine for screen recording (a package which doesn't compile for this version anyway, i.e. see my issue @

build() {
  cd $pkgname

  mkdir -p build; cd build

  cmake \
    -DCEF_ROOT_DIR="/opt/cef" \
    -DENABLE_PIPEWIRE=ON .. # <--------- add before '..'


After installing this way, to get obs to run in native wayland mode, you also need to install qt5-wayland and finally run obs with the QT_QPA_PLATFORM=wayland variable set.

Psilovybin commented on 2021-04-07 23:34 (UTC)

@wuestengecko ah, ok.. i forgot i had a custom ffmpeg.. thank you

wuestengecko commented on 2021-04-07 23:28 (UTC)

@Psilovybin All of these have received soname bumps. You either have a partially upgraded system or need to recompile your custom ffmpeg package (which is what provides

Psilovybin commented on 2021-04-07 23:03 (UTC)

getting a libaom, libx264 and libx265 error on build usr/bin/ld: warning:, needed by /usr/lib/, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning:, needed by /usr/lib/, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning:, needed by /usr/lib/, not found (try using -rpath or -rpath-link)

val.vgms commented on 2021-04-01 22:01 (UTC)

pipewire is now needed as a dependency, or the package will fail to compile

wuestengecko commented on 2021-04-01 13:13 (UTC)

I can confirm what @HurricanePootis speculated about, pipewire is in fact a make dependency now. Not having it installed will cause failure during cmake.

HurricanePootis commented on 2021-03-31 19:49 (UTC) (edited on 2021-03-31 20:07 (UTC) by HurricanePootis)

Hey, OBS just pushed a bunch of Wayland patches to the master branch as of 3/31/2021, which now allows OBS to record the entire screen and sections of it using pipewire. In addition to OBS being able to use pipewire as a dependency, it also requires xdg-desktop-portal for OBS to actually use pipewire.

Basically, I am suggesting that you add pipewire and xdg-desktop-portal as optional dependencies for Wayland support.

Also, thinking about it more, OBS probably needs to build against pipewire too, I guess. Not too sure on that, but OBS is obviously now linked against pipewire, so I think there is a pretty high chance that pipewire is also a make dependency.

Edit: Just ldd all of the libraries in /usr/lib/obs-plugins/, and one of them is built against pipewire. I am 99% sure this means that OBS needs to build against pipewire now.

tytan652 commented on 2021-03-24 11:49 (UTC)

Maybe you could also add obs-vst sub-module.

ifohancroft commented on 2021-03-14 02:24 (UTC) (edited on 2021-03-14 02:35 (UTC) by ifohancroft)

Here's a patch for PKGBUILD to build OBS Studio with the VST plugin:

--- obs-studio-git/PKGBUILD 2021-03-14 04:12:38.593752926 +0200  
+++ modified/obs-studio-git/PKGBUILD 2021-03-14 04:27:22.926994433 +0200
@@ -27,8 +27,9 @@
+        "git+"
-md5sums=("SKIP" "SKIP" "SKIP"
+md5sums=("SKIP" "SKIP" "SKIP" "SKIP"

 prepare() {
@@ -45,6 +46,7 @@
   cd $pkgname
   git config submodule.plugins/obs-outputs/ftl-sdk.url $srcdir/ftl-sdk
   git config submodule.plugins/obs-browser.url $srcdir/obs-browser
+  git config submodule.plugins/obs-vst.url $srcdir/obs-vst
   git submodule update

HurricanePootis commented on 2021-02-17 01:59 (UTC)

Just built the package, and I can say it builds with the browser-plugin now!

benklett commented on 2021-02-16 22:03 (UTC)

Great, thank you max

max2320 commented on 2021-02-16 21:37 (UTC) (edited on 2021-02-16 21:38 (UTC) by max2320)

Just applied the fixes to cef-minimal

benklett commented on 2021-02-16 20:47 (UTC)

Thank you, both. I asked the maintainer of the cef-minimal package to include this fix.

ashpie commented on 2021-02-16 10:00 (UTC)

@benklett I had to manually set permission in cef-minimal-3770 (changes) to make it work for obs-studio-browser, I don't think there is a way around it.

To reproduce, uninstall and reinstall cef-minimal.

HurricanePootis commented on 2021-02-15 22:55 (UTC) (edited on 2021-02-15 22:58 (UTC) by HurricanePootis)

borowski@TheCloutPC /opt/cef $ ls -lah
total 84K
drwxr-xr-x  9 root root 4.0K Feb 15 16:54 .
drwxr-xr-x 10 root root 4.0K Feb 15 16:54 ..
drwxr-xr-x  2 root root 4.0K Feb 15 16:54 cmake
-rw-r--r--  1 root root  15K Feb 15 12:00 CMakeCache.txt
drwxr-xr-x  4 root root 4.0K Feb 15 16:54 CMakeFiles
-rw-r--r--  1 root root 2.1K Feb 15 12:00 cmake_install.cmake
-rw-r--r--  1 root root 8.0K Feb 15 12:00 CMakeLists.txt
drwxr-xr-x  8 root root 4.0K Feb 15 16:54 include
drwxr-xr-x  6 root root 4.0K Feb 15 16:54 libcef_dll
drwxr-xr-x  3 root root 4.0K Feb 15 16:54 libcef_dll_wrapper
-rw-r--r--  1 root root 1.7K Feb 15 12:00 LICENSE.txt
-rw-r--r--  1 root root 4.9K Feb 15 12:00 Makefile
-rw-r--r--  1 root root 4.4K Feb 15 12:00 README.txt
drwxr-xr-x  3 root root 4.0K Feb 15 16:54 Release
drwxr-xr-x  3 root root 4.0K Feb 15 16:54 Resources
borowski@TheCloutPC /opt/cef $ ls -lah /opt/cef/libcef_dll_wrapper/libcef_dll_wrapper.a
-rw------- 1 root root 4.8M Feb 15 12:00 /opt/cef/libcef_dll_wrapper/libcef_dll_wrapper.a

benklett commented on 2021-02-15 19:52 (UTC)

HurricanePootis can you do a ls -la /opt/cef and a ls -la /opt/cef/libcef_dll_wrapper/libcef_dll_wrapper.a and post the output here? Mine looks like this:

$ ls -la /opt/cef                                        
insgesamt 84
drwxr-xr-x  9 root root  4096 15. Feb 20:42 .
drwxr-xr-x 22 root root  4096 15. Feb 20:42 ..
drwxr-xr-x  2 root root  4096 15. Feb 20:42 cmake
-rw-r--r--  1 root root 14950 23. Nov 10:35 CMakeCache.txt
drwxr-xr-x  4 root root  4096 15. Feb 20:42 CMakeFiles
-rw-r--r--  1 root root  2060 23. Nov 10:35 cmake_install.cmake
-rw-r--r--  1 root root  8140 23. Nov 10:35 CMakeLists.txt
drwxr-xr-x  8 root root  4096 15. Feb 20:42 include
drwxr-xr-x  6 root root  4096 15. Feb 20:42 libcef_dll
drwxr-xr-x  3 root root  4096 15. Feb 20:42 libcef_dll_wrapper
-rw-r--r--  1 root root  1662 23. Nov 10:35 LICENSE.txt
-rw-r--r--  1 root root  5002 23. Nov 10:35 Makefile
-rw-r--r--  1 root root  4478 23. Nov 10:35 README.txt
drwxr-xr-x  3 root root  4096 15. Feb 20:42 Release
drwxr-xr-x  3 root root  4096 15. Feb 20:42 Resources
$ ls -la /opt/cef/libcef_dll_wrapper/libcef_dll_wrapper.a 
-rw-r--r-- 1 root root 5059888 23. Nov 10:35 /opt/cef/libcef_dll_wrapper/libcef_dll_wrapper.a

thotypous commented on 2021-02-15 12:58 (UTC)

@gmes78 Thanks for the heads up. was finally merged!

I will request to merge this package to obs-studio-git.

katoitalia commented on 2021-02-15 07:19 (UTC)

hi @hurricanepootis I had the same exact issue and solved adding a

sudo chmod -R 777 /opt/cef

in the PKGBUILD before it is actually used by obs-studio-git So my best guess is that there are some permission issues in the cef-minimal package

gmes78 commented on 2021-02-15 04:23 (UTC)

This package is redundant with obs-studio-git now that Wayland support has been merged to master.

HurricanePootis commented on 2021-02-14 23:21 (UTC)

Yeah, I have cef-minimal installed, and I did check /opt/cef to see if it existed.

I just tried it again, and I verified that cef-minimal is installed at /opt/cef, and it was. And, I still get the same FindCEF error.

benklett commented on 2021-02-14 20:30 (UTC)

Hi HurricanePootls, you mean you have this package ( installed? It installs to /opt/cef and FindCEF finds it without any problems.

I would like to not alter the package to download binaries. I'd like to fix the problem instead.

HurricanePootis commented on 2021-02-14 19:57 (UTC) (edited on 2021-02-14 19:58 (UTC) by HurricanePootis)

-- Looking for Chromium Embedded Framework in /opt/cef CMake Warning at plugins/obs-browser/FindCEF.cmake:56 (message): Could not find the CEF wrapper library Call Stack (most recent call first): plugins/obs-browser/CMakeLists.txt:13 (find_package)

OBS is unable to find CEF, even though I have cef-minimal installed.

I made a modifications to the PKGBUILD to download the cef stuff in the src/ directory here

thotypous commented on 2021-02-13 14:04 (UTC)

@RX14, The commit was inserted there to make sure rerere worked. Since the PR is now merging cleanly to base without conflicts, rerere is currently not being used at all. I'm reluctant to make changes to the order of merge/rerere/commit stuff, because the current code was well tested when rerere was actually needed. I'd need to create an artificial situation just to be able to test it again, or risk having headaches if I need to setup rerere again in the future.

It is usually better to build packages on a clean chroot, but a workaround I often see to ignore one's own git configs is emptying the HOME env var, e.g. by calling HOME= makepkg

RX14 commented on 2021-02-12 21:21 (UTC) (edited on 2021-02-12 21:23 (UTC) by RX14)

Could you add --no-commit on the merge and --no-sign on the commit stages of git? I have git config commit.gpgsign = true and the PKGBUILD asks me to sign the merged commit, which isn't ideal. Thanks.

Or actually, just do --no-commit on the merge and leave out the git commit entirely?

gmes78 commented on 2021-02-12 21:06 (UTC)

With the Wayland support merged upstream, this package needs additional dependencies: wayland (as a makedepend), and qt5-wayland (may be optional, not sure).

gvsyn commented on 2021-02-10 11:38 (UTC)

Built from this version last night (for the obs-browser functionality) and noticed it broke one of my python scripts.

I applied the patch from the community build, which patches os_dlopen in obs itself to work.

thotypous commented on 2021-02-05 14:12 (UTC)

If you don't want to build this package yourself, hourly builds are available at

thotypous commented on 2021-02-05 13:48 (UTC)

Thank you for the report. I modified the PKGBUILD to make the git pull request merge hack more resilient.

0xrayn commented on 2021-02-04 20:55 (UTC) (edited on 2021-02-04 20:56 (UTC) by 0xrayn)

git clone
cd obs-studio-wayland-git
sed -i.bak "s/git commit --all --no-edit/#git commit --all --no-edit/" PKGBUILD
sudo pacman -U obs-studio-wayland*.zst

works for me.

AkechiShiro commented on 2021-02-04 20:48 (UTC)

After trying twice, I got this error maybe this would help know what's going wrong :

  -> Cloning obs-studio-wayland-git git repo...
Cloning into bare repository '/var/cache/aura/vcs/obs-studio-wayland-git/obs-studio-wayland-git/obs-studio-wayland-git'...
remote: Enumerating objects: 96, done.
remote: Counting objects: 100% (96/96), done.
remote: Compressing objects: 100% (88/88), done.
error: 5189 bytes of body are still expected MiB | 193.00 KiB/s
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed
==> ERROR: Failure while downloading obs-studio-wayland-git git repo
aura >>= There was a makepkg failure.

AkechiShiro commented on 2021-02-04 20:44 (UTC)

I'm facing the same problem as you @Humar.

Joan31 commented on 2021-02-03 23:07 (UTC)

@benklett thank you :)

benklett commented on 2021-02-03 20:27 (UTC)

Joan31, it was already changed to cef-mnimal. This package contains CEF 4280 at the moment. I now changed to require a minimum package version of 87 of Chromium which equals to 4280.

Humar commented on 2021-02-03 18:59 (UTC) (edited on 2021-02-03 18:59 (UTC) by Humar)

Hm, as of yesterday it tries to merge branch master into branch wayland and once I commit I get:

On branch wayland nothing to commit, working tree clean ==> ERROR: A failure occurred in prepare(). Aborting... error making: obs-studio-wayland-git

anyone else having the same problem?

Joan31 commented on 2021-02-03 17:37 (UTC)

Hi Please note that current master requires CEF 4280 for full and correct functionality of just added features.

See wiki install instructions:

And why:

Thanks :)

benklett commented on 2021-01-30 21:10 (UTC)

Jiminimonka, the package is already using cef-minimal.

Jiminimonka commented on 2021-01-30 11:40 (UTC)

"cef-minimal-3770" doesn't work with the latest version - the build needs to be changed to "cef-minimal" and it functions perfectly, and allows full docking functions too.

FirefistAce commented on 2021-01-27 16:32 (UTC)

Hi Please note that current master requires CEF 4280 for full and correct functionality of just added features.

bkb commented on 2021-01-19 10:04 (UTC)

Add it as a dependency, it don't work as is

zangoku commented on 2021-01-19 03:50 (UTC)

Is there anyway of installing the git version with obs-linuxbrowser-bin? I normally use the repo version, but it is so outdated now. I get the following:

error: failed to commit transaction (conflicting files)
obs-studio-git: /usr/lib/obs-plugins/icudtl.dat exists in filesystem (owned by obs-linuxbrowser-bin)
obs-studio-git: /usr/lib/obs-plugins/ exists in filesystem (owned by obs-linuxbrowser-bin)
obs-studio-git: /usr/lib/obs-plugins/natives_blob.bin exists in filesystem (owned by obs-linuxbrowser-bin)
obs-studio-git: /usr/lib/obs-plugins/snapshot_blob.bin exists in filesystem (owned by obs-linuxbrowser-bin)
obs-studio-git: /usr/lib/obs-plugins/v8_context_snapshot.bin exists in filesystem (owned by obs-linuxbrowser-bin)
Errors occurred, no packages were upgraded.

thotypous commented on 2021-01-18 17:01 (UTC)

@bkb Please don't flag AUR packages as out-of-date to report bugs nor to ask for support.

You need to install a capture plugin to be able to capture the screen (wlrobs-hg or obs-xdg-portal-git)

thotypous commented on 2021-01-17 03:12 (UTC)

@Snoop05, Done! Thank you for the suggestion. Please report if you have any issues with obs-xdg-portal-git, since I'm still using wlrobs.

Snoop05 commented on 2021-01-16 12:45 (UTC)

I suggest using that includes all previous patches and also allows current obs-xdg-portal-git to build

Alkaris commented on 2020-12-29 14:52 (UTC)

Is the non-git version no longer being updated in the repository? Do we now just have to reliably update through the git source version?

cobaltspace commented on 2020-12-08 19:27 (UTC)

The patches have finally stopped working for this package. The way to probably do this properly would be to maintain a git repo that merges the changes in the wayland PRs. I also have stopped using wayland because it isn't in a state that I can use yet.

If anyone wishes to adopt this package and fix it up, replace wlrobs-hg with wlrobs.

cobaltspace commented on 2020-11-12 01:03 (UTC)

v4l2loopback-dkms should be an optdependency.

ajddavid452 commented on 2020-11-06 10:17 (UTC)

@Arisu Thanks

ashpie commented on 2020-11-05 09:38 (UTC)

@ajddavid452 there you go, I wanted this as well

ajddavid452 commented on 2020-11-05 08:44 (UTC)

can someone release a stable version on the aur? or atleast just release the browser source plugin on the aur? I want to use the browser source plugin but I don't want to use upstream for stability reasons

friday13 commented on 2020-07-05 11:35 (UTC)

make[2]: *** [plugins/obs-browser/CMakeFiles/obs-browser.dir/build.make:96: plugins/obs-browser/CMakeFiles/obs-browser.dir/obs-browser-source.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1385: plugins/obs-browser/CMakeFiles/obs-browser.dir/all] Error 2
make: *** [Makefile:172: all] Error 2
==> ERROR: A failure occurred in build().
error making: %!s(func() string=0x55bf33568e80)

JcNils commented on 2020-06-22 19:23 (UTC)

@Arisu Thank you very much. That helped a lot.

I was searching for solutions and I almost opened an issue on their repo. But never crossed me that was a font problem. It makes sense because the things working properly are images and overlays.

ashpie commented on 2020-06-21 18:47 (UTC) (edited on 2020-06-21 18:54 (UTC) by ashpie)

@JcNils this is actually an open pull request on the obs-browser repo:

Until this makes it to master, a workaround is to set font-size to 16px (or any value you'd like) in custom css like so:

body {
    font-size: 16px;

JcNils commented on 2020-06-21 17:13 (UTC)

I am having some problems with browser source on Manjaro.

It generally they are super small.

Or some things gigantic and other small

On windows it works normal, I need to test it in another linux distro. I wonder if it something related to the cef building.

shaybox commented on 2020-06-20 23:03 (UTC) (edited on 2020-06-20 23:04 (UTC) by shaybox)

This package doesn't build with the current cef-minimal and hasn't for awhile, please change the depends to use cef-minimal-3770 which was made for you/this

FickleTwit commented on 2020-06-10 19:47 (UTC) (edited on 2020-06-21 20:14 (UTC) by FickleTwit)

To get this working with Browser Source, I changed make depends "cef-minimal" to "cef-minimal-3770" - which I had already installed. Now I can drag in browser sources as intended. Using KDE-Plasma desktop environment, no issues at all.

EDIT: I see someone already said this.

hendry commented on 2020-05-26 03:27 (UTC)

Unable to build obs-studio-git lately

obs-ndi-git requires it

ashpie commented on 2020-05-09 04:17 (UTC)

@jprobichaud on linux, adding a browser source automatically adds an audio channel. Have you checked advanced audio properties and/or tried to unhide all audio sources? (right click in the Audio Mixer panel -> Unhide All)

jprobichaud commented on 2020-05-08 14:30 (UTC)

I'm struggling with the Browser source. It seems I can't capture the audio from the webpage, which would be quite useful when attempting to use (or when I test with a youtube video)!

I've tried with cef-minimal-3770 and cef-standard I don't see the "use audio" checkbox when I add a browser source (like it would on windows).

Should I also install obs-browsersource-git manually? Is it just an issue on my side?

ashpie commented on 2020-04-28 10:42 (UTC)

For anyone that had trouble installing obs with cef-minimal-3770, my bad I just noticed I forgot to add "provide cef-minimal". Now it works and you can i.e. select it in yay.

Sorry for the inconvenience.

WoofahRayet commented on 2020-04-07 22:39 (UTC)

@Arisu Your fix worked great. Thank you.

ashpie commented on 2020-04-04 00:02 (UTC)

@benklett In order to temporarily fix the package build, I created an aur package that provides fixed version cef=3770 called cef-minimal-3770 (version as recommended by obs browser devs).

If you agree with using this new package, please replace makedepends cef-minimal with cef-minimal-3770.

snaut commented on 2020-04-01 14:46 (UTC)

This does currently not build. Also why is there a package version that includes a git commit, when the source is just pulled from the master branch, but no specific commit?

friday13 commented on 2020-03-27 23:39 (UTC)

@Arisu 75.0.11 I couldn't find the package, can you give a download link, to downgrade

ashpie commented on 2020-03-25 22:15 (UTC)

@friday13 you need to downgrade your cef version (for example, downgrade cef-minimal/cef-standard to 75.0.11).

Maybe the dependency should be temporarily updated to this specific version?

friday13 commented on 2020-03-25 21:51 (UTC)

``` 53 | inline BrowserClient(BrowserSource bs_, bool sharing_avail, | ^~~~~~~~~~~~~ make[2]: [plugins/obs-browser/CMakeFiles/obs-browser.dir/build.make:93: plugins/obs-browser/CMakeFiles/obs-browser.dir/obs-browser-source.cpp.o] Error 1 make[2]: Leaving directory '/home/friday13/.cache/pikaur/build/obs-studio-git/src/obs-studio-git/build' make[1]: [CMakeFiles/Makefile2:1382: plugins/obs-browser/CMakeFiles/obs-browser.dir/all] Error 2 make[1]: Leaving directory '/home/friday13/.cache/pikaur/build/obs-studio-git/src/obs-studio-git/build' make: ** [Makefile:169: all] Error 2 ~~~

rado84 commented on 2020-03-24 10:07 (UTC)

Does this package crash when applying any changes to "Settings"? The "stable" package obs-studio does that.

benklett commented on 2020-03-03 14:49 (UTC)

Arisu, thank you for the fix. I confused the browser source with the linux browser source and thought it was in.

ashpie commented on 2020-03-02 21:31 (UTC)

benklett, thanks! Unfortunately, the browser plugin isn't used by cmake.

CMake Warning:
  Manually-specified variables were not used by the project:


I tried changing submodule.plugins/plugins/obs-browser.url with submodule.plugins/obs-browser.url and it works.

benklett commented on 2020-03-02 20:20 (UTC)

Arisu, I added the plugin.

ashpie commented on 2020-03-02 15:06 (UTC)

Building the browser plugin on linux was recently merged into master. Would it be relevant to enable it in this package?

git submodule init plugins/obs-browser

Add cef-minimal as a makedepends

cmake args: -DBUILD_BROWSER=ON -DCEF_ROOT_DIR="/opt/cef"

wuest commented on 2020-02-12 13:28 (UTC)

As of (at the latest) 2020-02-12 mbedtls no longer appears to be an optional dependency. If you're failing to build because of type errors in rtmp.c, that's likely the issue.

Terence commented on 2019-10-19 22:54 (UTC) (edited on 2019-10-19 22:58 (UTC) by Terence)

Hey I'm getting the following:

CMake Error at UI/xdg-data/cmake_install.cmake:45 (file):
  file INSTALL cannot find
Call Stack (most recent call first):
  UI/cmake_install.cmake:71 (include)
  cmake_install.cmake:46 (include)

EDIT: I got it to work by applying the following:

diff --git a/UI/xdg-data/CMakeLists.txt b/UI/xdg-data/CMakeLists.txt
index 9acd14e83..45a1dba43 100644
--- a/UI/xdg-data/CMakeLists.txt
+++ b/UI/xdg-data/CMakeLists.txt
@@ -16,7 +16,7 @@ configure_file(
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/com.obsproject.Studio.appdata.xml

-install(FILES com.obsproject.Studio.desktop
+install(FILES obs.desktop

 install(FILES ../forms/images/obs.png

benklett commented on 2019-08-20 12:23 (UTC)

I can reproduce the FTL issue, but I do not know how I could help you. It's probably best to ask on discord about it

MrTogatsu commented on 2019-08-19 20:55 (UTC)

I'm having the same issue as aspiringnobody, RTMP works great, FTL video is crystal clear and near zero latency. Audio however sounds like a Darlek being put in a tumble-dryer I rebuild OBS last week so it's the latest release of both the git pull and the OBS-Studio install

friday13 commented on 2019-08-09 23:37 (UTC)

OBS Studio 23.2.1 relased

aspiringnobody commented on 2019-08-09 15:45 (UTC)

MIXER/FTL audio isn't working properly for me; the audio is poping/cracking to such a degree that you can't recognize the actual audio signal at all. Works properly on twitch and on MIXER/RTMP.

benklett commented on 2019-08-05 09:24 (UTC)

Just tried building the package and found a fix for the problem, will update the package later.

You have to add "-DCMAKE_INSTALL_LIBDIR=lib" to the cmake options in the PKGBUILD.

aspiringnobody commented on 2019-08-05 03:44 (UTC)

I can confirm this same issue; wanted to rebuild for latest git but was unable to because obs-linuxbrowser-bin needs a newer version than this claims to be (despite the fact that it installs a new version from git). Removed obs-linuxbrowser-bin and was presented with some files that already existed; so I removed obs-studio-git and attempted to reinstall, and was presented with:

Failed to commit transaction: conflicting files: obs-studio-git: /usr/lib64 already exists in filesystem

iirelu commented on 2019-07-31 16:46 (UTC)

I'm getting an error:

Failed to commit transaction: conflicting files: obs-studio-git: /usr/lib64 already exists in filesystem

friday13 commented on 2019-06-27 21:57 (UTC)

@joir2000 first install mbedtls and again not connect server

Joir2000 commented on 2019-05-17 15:33 (UTC)

Note : If you want to stream with ssl, for example to stream to facebook, you'll have to install mbedtls first.

benklett commented on 2019-03-31 15:14 (UTC)

filthyAUR, good to know. I notified the devs about this. Thank you for your investigation.

kescherAUR commented on 2019-03-31 08:42 (UTC)

Okay, the issue was me using 4.0.0-dev versions of VLC. Those apparently break libvlc for OBS on some ways :(

kescherAUR commented on 2019-03-30 20:16 (UTC)

@benklett Fresh copy of the repo, already disabled ccache and disabling parallel compilation didn't help. I still get the same error.

benklett commented on 2019-03-28 18:37 (UTC)

filthyAUR, That's unfortunate. Sadly I am not able to reproduce.

Have you tried starting with a fresh copy of this repository, disabling ccache (if you have it enabled ofc) and disabling parallel compilation?

kescherAUR commented on 2019-03-28 10:31 (UTC) (edited on 2019-03-28 10:32 (UTC) by kescherAUR)

Currently getting theese errors while building:

/usr/include/vlc/libvlc_media.h:841:41: error: unknown type name ‘libvlc_picture_type_t’; did you mean ‘libvlc_media_type_t’?
/usr/include/vlc/libvlc_media.h:870:40: error: unknown type name ‘libvlc_picture_type_t’; did you mean ‘libvlc_media_type_t’?
/usr/include/vlc/libvlc_events.h:242:13: error: unknown type name ‘libvlc_picture_t’
make[2]: *** [plugins/vlc-video/CMakeFiles/vlc-video.dir/build.make:63: plugins/vlc-video/CMakeFiles/vlc-video.dir/vlc-video-plugin.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1076: plugins/vlc-video/CMakeFiles/vlc-video.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
Error making: obs-studio-git

benklett commented on 2019-03-27 18:35 (UTC)

laichiaheng, because it has a vlc video source plugin:

laichiaheng commented on 2019-03-27 18:31 (UTC)

Why does it need vlc?

HamishTPB commented on 2018-01-23 20:10 (UTC) (edited on 2018-01-23 20:23 (UTC) by HamishTPB)

Benklett - Thanks :-D

It uses luajit rather than normal lua I think - either way it works great for me now with both after I rebuilt from your latest commit.

EDIT: I already installed luajit-git manually

benklett commented on 2018-01-23 20:02 (UTC)

HamishTPB, I added python and swig as dependencies.

I could not add lua support because it would not compile. ATM I do not have further information on why this is happening, but I will update the package when this is fixed.

HamishTPB commented on 2018-01-23 19:17 (UTC)

The new version of OBS studio has scripting support but this is not enabled in this build (spoke to OBS peeps and they said it has to be enabled explicitly). Can it be enabled, please?

benklett commented on 2018-01-12 17:58 (UTC)

Thank you for your comment copygirl,

I changed the PKGBUILD according to your comment. Please report if anything breaks.

copygirl commented on 2018-01-11 18:20 (UTC)

Trying to install this package along with obs-linuxbrowser gets me the error "obs-studio and obs-studio-git are in conflict.".

I asked around and this appears to be because obs-linuxbrowser requires obs-studio>=20.0.1 and this package only provides obs-studio, not obs-studio=$pkgver. Specifying the version for virtual provisions appears to be required. Alternatively, of course, one could remove the version requirement on the other package.

svanheulen commented on 2017-08-31 14:38 (UTC)

Thanks benklett, that does the trick. I'm going to try doing some upstream pull requests so that the ftl-sdk can be built as a separate package since that's what will be required for the community non-git package.

benklett commented on 2017-08-30 17:53 (UTC)

Thank you svanheulen, I have updated the PKGBUILD to support the FTL plugin. Could you have a look if this works for you?

svanheulen commented on 2017-08-30 17:19 (UTC)

They added support for's FTL protocol in version 20.0.x but the ftl-sdk that's needed to compile support for it is included as a submodule. I was able to add a "prepare" function to the PKGBUILD to update the submodules but I'm not sure if this is the best solution. prepare() { cd $pkgname git submodule update --init --recursive }

bazukas commented on 2017-03-29 12:58 (UTC)

Looks like vst-plugin is not available for linux yet. My bad.

benklett commented on 2017-03-26 18:42 (UTC)

bazukas, If I read the CMakeLists.txt file correctly, the vst plugin is only enabled if the OS is Windows or Mac.

bazukas commented on 2017-03-26 17:12 (UTC)

Obs installed using this aur misses the new VST plugin. I think this happens because it is supposed to be pulled from git submodule.

benklett commented on 2017-02-10 17:33 (UTC)

If you would rebuild ffmpeg-full-nvenc, it will probably work aswell.

kurolox commented on 2017-02-10 17:31 (UTC)

I do have my system up to date (The last -Syu was about 5 hours ago). I do not use ccache. I do use ffmpeg-full-nvenc from the AUR. I completely forgot about this. Using the offical ffmpeg it works. It seems like some time ago, trying to record using NVENC with the official ffmpeg didn't let OBS record correctly, but now it does, so it's fixed by using the official ffmpeg. Sorry for bothering you with this.

kurolox commented on 2017-02-10 17:31 (UTC)

I do have my system up to date (The last -Syu was about 5 hours ago). I do not use ccache. I do use ffmpeg-full-nvenc from the AUR. I completely forgot about this. Using the offical ffmpeg it works. It seems like some time ago, trying to record using NVENC with the official ffmpeg didn't let OBS record correctly, but now it does, so it's fixed by using the official ffmpeg. Sorry for bothering you with this.

benklett commented on 2017-02-10 17:13 (UTC)

Sorry for the spam, that was not my intention.

benklett commented on 2017-02-10 17:12 (UTC)

And another one: Do you use the offical ffmpeg build or do you use one from the AUR?

benklett commented on 2017-02-10 17:08 (UTC)

That is good. Some other questions: Is your system completely up to date? Do you use ccache?

kurolox commented on 2017-02-10 17:08 (UTC)

I think I found the problem. When I try to install obs I get this in the output. /usr/bin/ld: warning:, needed by /usr/bin/../lib64/, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning:, needed by /usr/bin/../lib64/, not found (try using -rpath or -rpath-link) It's looking for 3.1, but 3.2 is already out and that's what I do have installed. / » locate libopencv_core kuro@Horus /usr/lib/ /usr/lib/ /usr/lib/ ------------------------------------------------------------ / » locate libopencv_imgproc kuro@Horus /usr/lib/ /usr/lib/ /usr/lib/ I believe OBS needs to update for fix this. Do you know any way to workarround this until it's fixed?

kurolox commented on 2017-02-10 17:04 (UTC)

Yes, I do. ~ » pacaur -Qi opencv Name : opencv Version : 3.2.0-1 Description : Open Source Computer Vision Library Architecture : x86_64 URL : Licenses : BSD Groups : None Provides : None Depends On : intel-tbb openexr xine-lib libdc1394 gtkglext Optional Deps : opencv-samples eigen opencl-icd-loader: For coding with OpenCL [installed] python-numpy: Python 3 interface python2-numpy: Python 2 interface [installed] Required By : frei0r-plugins Optional For : None Conflicts With : None Replaces : None Installed Size : 80.01 MiB Packager : Antonio Rojas <> Build Date : Sun 29 Jan 2017 06:43:22 PM CET Install Date : Sun 05 Feb 2017 12:36:01 PM CET Install Reason : Installed as a dependency for another package Install Script : No Validated By : Signature

benklett commented on 2017-02-10 15:53 (UTC)

Do you have opencv installed?

kurolox commented on 2017-02-10 15:26 (UTC)

Nothing. Still happening. This time I got more verbose though.

benklett commented on 2017-02-09 20:19 (UTC) (edited on 2017-02-09 20:25 (UTC) by benklett)

I just built it without a problem. Could it be, that you cut your log? My log seems to have much more information in it. You could try to delete the obs-studio-git package folder: /home/kuro/.cache/pacaur/obs-studio-git and then rebuild.

kurolox commented on 2017-02-09 20:01 (UTC)

The package is not building. Here's the build attempt.

benklett commented on 2016-09-23 19:18 (UTC)

StormEngineer, it should work now.

StormEngineer commented on 2016-09-20 01:25 (UTC)

As of today, build still fails with "undefined reference to `XGetXCBConnection'".

benklett commented on 2016-09-12 17:31 (UTC) (edited on 2016-09-12 17:31 (UTC) by benklett)

StormEngineer, sorry to say, but I am not able to help you. The error is reported and has to be fixed upstream. Unfortunately I do not know when it will be fixed.

StormEngineer commented on 2016-09-12 14:23 (UTC)

[ 62%] Linking CXX executable obs ../libobs/ undefined reference to `XGetXCBConnection' collect2: error: ld returned 1 exit status make[2]: *** [UI/CMakeFiles/obs.dir/build.make:1272: UI/obs] Error 1 make[1]: *** [CMakeFiles/Makefile2:437: UI/CMakeFiles/obs.dir/all] Error 2 make: *** [Makefile:150: all] Error 2 ==> ERROR: A failure occurred in build().

ThePooN commented on 2016-08-26 15:03 (UTC)

I have just created the obs-qtwebkit-git package which provides a browser source to obs-studio. It's compatible for both community and -git packages.

brainwall commented on 2016-08-10 13:43 (UTC) (edited on 2016-08-10 13:46 (UTC) by brainwall)

OBS-Studio from comunity is without NVENC :) Continue further in GIT version good job @banklett

hexdsl commented on 2016-05-30 10:34 (UTC)

"If you want to have the stable versions, go to the non-git package." - Blankett This version is the AUR Package "obs-studio" for all those wondering

benklett commented on 2016-02-06 23:11 (UTC) (edited on 2016-08-10 14:01 (UTC) by benklett)

This is a -git package, that means you have to update it! Please do not flag it out of date because of the version number. The version number will automatically increase to the version of the latest commit. If you want to have the stable versions, please install the package obs-studio from [community].

escondida commented on 2015-12-22 01:15 (UTC) (edited on 2015-12-22 01:42 (UTC) by escondida)

Hey, thanks for packaging this! Just a couple quick things: you can simplify your dependencies by not listing deps that are already required by other deps, and you don't need to list base or base-devel packages, such as curl, in your deps at all. You can also simplify a number of things by using the literal string obs-studio instead of $_pkgname (after all, the name isn't really a variable), and every PKGBUILD function starts you out already in $srcdir. Finally, the user can specify their own MAKEFLAGS (-j2 et al.) in /etc/makepkg.conf. If you're interested, there's a simplified PKGBUILD at

benklett commented on 2015-09-28 17:11 (UTC)

If you use an AUR-Helper and you want to install the newest versions of the package, when they come out, please use the obs-studio package. This package here will always install the newest git version, the version number will automatically increment itself. Please do not flag it out of date, because it does not show the newest version.

benklett commented on 2015-09-25 18:48 (UTC)

ArcticVanguard, i did not mean you, it was anthrit. I took over maintainership, as there was the move to aur4. If you ever want to improve the package, you can. I added you to the list of co-maintainers.

ArcticVanguard commented on 2015-09-25 18:42 (UTC)

I didn't flag it out of date, as far as I'm aware somebody else did. I don't know why, it works fine. I've been busy with life atm and I don't currently have a working Arch system which is why I haven't gotten around to removing the flag or anything. The package is fine.

benklett commented on 2015-09-25 15:18 (UTC)

Does the package not build anymore or why did you flag it out of date?

masteryod commented on 2015-07-21 18:03 (UTC)

error: Failed to create OpenGL context. Apparently OBS require OpenGL 3.2

seo.disparate commented on 2015-06-03 19:35 (UTC)

I'm using gcc 5.1 I'm only using the -DUNIX_STRUCTURE=1 flag because it was mentioned on the obs github project in the building instructions for linux mentioned here . Maybe it's not necessary if it works for you without it?

ArcticVanguard commented on 2015-05-31 20:35 (UTC)

Sorry guys, I'm not able to reproduce the problems compiling. Everything's up to date on my system and I'm just using the basic pkgbuild. Can I get an idea of what version of gcc you all are running? I'm still on 4.9.2.

seo.disparate commented on 2015-05-31 20:31 (UTC)

I got the build working by adding "-DUNIX_STRUCTURE=1" to the cmake line in the build() section of the PKGBUILD file. The cmake line should read, "cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr"

Saren commented on 2015-05-24 12:50 (UTC)

Tried git and non-git version of obs-studio compiled with GCC 5, 4.9.2 and 4.9. All of them seg fault'd when executing. Does not compile using gcc 4.8.2 or below. Is it just me or everyone?

Naypam commented on 2015-05-16 15:48 (UTC)

Could we add ${MAKEFLAGS} to the make line perhaps?

Iksf commented on 2015-05-04 21:39 (UTC)

seg fault is because of GCC5, works fine with 4.9

Iksf commented on 2015-05-03 16:18 (UTC)

"Anyone else getting this error? segmentation fault (core dumped) obs" Yep

ghostsquad57 commented on 2015-04-28 10:08 (UTC)

Anyone else getting this error? segmentation fault (core dumped) obs

ArcticVanguard commented on 2015-03-27 00:27 (UTC)

Hey guys, sorry about the out of date stuff. I'll take care of it when I can. I'm in the process of moving and I don't have access to my main computer that actually runs Arch, so I can't update the version number. Be assured though that the packagebuild will download, compile, and set the correct version for the latest version. Just because it says 0.7.3 doesn't mean that's the version it downloads. Git packages by their very nature aren't out of date.

ArcticVanguard commented on 2015-01-26 22:36 (UTC)

Fixed Lucki and Freso's issues, thanks guys. Note it's gonna show up as a downgrade, just fair warning.

Lucki commented on 2015-01-26 22:26 (UTC)

With the latest Imagemagick, the cmake option: "-DLIBOBS_PREFER_IMAGEMAGICK=OFF" isn't needed anymore.

Freso commented on 2015-01-15 10:48 (UTC)

Please replace `echo $(git rev-list --count master).$(git rev-parse --short master)` in the PKGBUILD with `git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'` as per ?

ArcticVanguard commented on 2014-12-05 17:03 (UTC)

Can anyone else confirm it not building without icu? x265 is a dependency of ffmpeg, so that should already be installed. If you have ffmpeg but not x265, your dependencies are broken somewhere. Next version of the pkgbuild will fix the imagemagick problem hopefully, let me know if the fix causes any more issues.

ubuntuaddicted commented on 2014-11-27 10:46 (UTC)

second to what Moter8 stated, i had recently built ffmpeg from a ffmpeg_libnvenc fork and misread your comment and thought I needed x265-hg. This caused this package to fail to build so i just had to switch from using x265-hg to x265 and it built just fine. Note also that obs-studio doesn't currently use x265 at all so it's not a dependency. obs-studio doesn't currently use ffmpeg as it's encoder, it uses x264

Moter8 commented on 2014-11-24 21:01 (UTC)

Fails building with x265-hg. With x265 it compiled, should probably get added as dependency?

computerquip commented on 2014-11-05 01:18 (UTC)

Oh, I also wouldn't add a dependency on the no-hdri AUR package... it will break everyone's system as it doesn't actually fulfill everything the official package provides... and ImageMagick likes to change library names depending on how its built.

computerquip commented on 2014-11-05 01:16 (UTC)

I commented on the bug page... Resolution is to simply not use ImageMagick in this case as there seems to be an issue with ImageMagick's HDRI support (or a problem with how it's built... I didn't really care to find out). Either way, FFmpeg will probably be the future method anyways.

papabean commented on 2014-10-26 22:08 (UTC)

The bug mentioned by @Lucki is still present which prevents images from being loaded. The bug has been filed upstream: Could the PKGBUILD be updated until the bug is fixed?

ledti commented on 2014-10-24 08:36 (UTC)

icu is required by qt5-base which in turn is depended on by qt5-x11extras, which is set as a dependency in the PKGBUILD. So icu should automatically be installed via the dep-chain when building the package, unless I'm confusing something.

jplatte commented on 2014-10-23 15:57 (UTC)

Couldn't build because of not being found. Quick google search revealed I need the "icu" package. That one should probably be added to the dependencies.

star_rain commented on 2014-10-11 08:19 (UTC)

info: [x264 encoder: 'default_h264'] This build of x264 requires high depth input. Rebuild to support 8-bit input. warning: [x264 encoder: 'default_h264'] encode failed pacman -Qs x264 local/libx264-10bit 1:142.20140826-2 Library for encoding H264/AVC video streams. 10bit-depth. local/x264 1:142.20140826-2 CLI tools for encoding H264/AVC video streams Only install libx264 to work properly. I often use libx264-10bit to work, so use a lot of trouble.

ryanvade commented on 2014-09-26 02:04 (UTC)

Anyone else run into this problem?

Lucki commented on 2014-09-15 09:48 (UTC)

-- Found Libx264: /usr/lib64/ Yes, it's building.

ArcticVanguard commented on 2014-09-13 18:54 (UTC)

Is it building right now for you all? Cmake isn't seeing x264 for me even with it being installed.

Lucki commented on 2014-09-04 21:10 (UTC)

There's a problem with the latest ImageMagick. It's not possible to add a picture. A workaround is this cmake option: "-DLIBOBS_PREFER_IMAGEMAGICK=OFF"

Xandaros commented on 2014-08-29 19:48 (UTC)

So I just spent ages making a PKGBUILD for this and occured to me to search for obs-studio... well, looks like you did a better job at it than I did, though. While it is discouraged to have a self-referencing description, in this case it might make sense, so the package can be found by searching for "Open Broadcaster" or just "Broadcaster" The license is just GPL, btw. The COPYING file contains a copy of GPLv2, but in the headers of the source files they mention "either version 2 of the License, or (at your option) any later version." (

ledti commented on 2014-08-05 04:55 (UTC)

Orphaning since I may be gone for an extended period of time.

zobi8225 commented on 2014-07-28 14:45 (UTC)

yes i have Xinerama and an Nvidia card. I'll try to stop it after my holliday. Thx

ledti commented on 2014-07-27 22:33 (UTC)

Are you using Xinerama? That might disable the Randr extension. Besides that, I have no idea. And for your laptop... I don't even know where to begin. It looks like OBS can't find any of the modules it requires. All dependencies should be satisfied if you're using Arch, but I have no idea if that applies to Manjaro. Maybe the path is broken or something.

zobi8225 commented on 2014-07-27 14:29 (UTC)

Ok. It still crash on my fix computer. (No monitors error) And on my laptop, it lauch and crash with an other error message : "Failed to initialize outpouts" Logs errors are more interessing (warning on v4l2, error on flv_output...)

ledti commented on 2014-07-26 19:26 (UTC)

@zobi8225, try it now. I didn't realize qt5-base had some optional dependencies to use xcb.

zobi8225 commented on 2014-07-26 13:16 (UTC)

It launch on my fix computer (archlinux-pur/64 with awesomeWM) But it crash with this error message "There appears to be no monitors. Er, this technically shouldn't be possible." (Message i haved read ... On my monitor ^^ ) (sorry for my bad english)

zobi8225 commented on 2014-07-26 13:04 (UTC)

I got the same problem of @haddadmj I am on archlinux (manjaro)/64 with awesomeWM and i have re-install qt5-base :-(

ledti commented on 2014-07-22 03:00 (UTC)

That error makes me believe you have no available driver installed that supports OpenGL (mesa-libgl, nvidia-libgl or catalyst from the AUR for example), but I don't know for sure. You should ask for help on the forum because this doesn't appear to be directly related to OBS or how it's packaged here.

haddadmj commented on 2014-07-22 01:10 (UTC)

error: Failed to create OpenGL context. error: device_create (GL) failed error: Failed to initialize video: Unspecified error info: Freeing OBS context data info: Number of memory leaks: 0 this the error message

haddadmj commented on 2014-07-22 00:55 (UTC)

i uninstall xfce4 & install kdebase and obs worked ;; but when it run pop-out this message :: error: Failed to initialize video: Unspecified error:

ledti commented on 2014-07-21 14:12 (UTC)

@haddadmj, try reinstalling qt5-base. pacman -Ql qt5-base ... qt5-base /usr/lib/qt/plugins/platforms/ qt5-base /usr/lib/qt/plugins/platforms/ qt5-base /usr/lib/qt/plugins/platforms/ qt5-base /usr/lib/qt/plugins/platforms/ qt5-base /usr/lib/qt/plugins/platforms/ qt5-base /usr/lib/qt/plugins/platforms/ qt5-base /usr/lib/qt/plugins/platforms/ <- ...

haddadmj commented on 2014-07-21 13:36 (UTC)

This application failed to start because it could not find or load the Qt platform plugin "xcb". Available platform plugins are: eglfs, kms, linuxfb, minimal, minimalegl, offscreen, xcb. Reinstalling the application may fix this problem. Aborted (core dumped) arch xfce4

useless2764 commented on 2014-07-20 00:32 (UTC)

well, pretty useless for me till it can actually see my 2 separate x screens, but it does compile and work otherwise

ledti commented on 2014-07-16 11:40 (UTC)

@Weegee, Actually, it makes sense to prefer system libraries over static ones. I'll update the package in a bit to add jansson and add a few optional dependencies that I noticed, too. Thanks for reporting.

Weegee commented on 2014-07-16 09:00 (UTC)

Hey, I dropped the obs-git package as you've submitted your PKGBUILD earlier. However I get the following error when building obs-studio-git if I don't have jansson installed (i. e. OBS uses its own jansson version):

Jocce commented on 2014-07-15 20:27 (UTC)

Yeh i forgot to remove the comment, but i fixed it by reinstalling FFMpeg

ledti commented on 2014-07-15 20:09 (UTC)

Are you using ffmpeg from the extra repository? 'pacman -Qs x265 && pacman -Qs ffmpeg'

Jocce commented on 2014-07-15 15:51 (UTC)

Only me who get: /usr/bin/ld: warning:, needed by /usr/lib/, not found (try using -rpath or -rpath-link) /usr/lib/ undefined reference to `x265_param_parse' /usr/lib/ undefined reference to `x265_param_default_preset' /usr/lib/ undefined reference to `x265_param_free' /usr/lib/ undefined reference to `x265_max_bit_depth' /usr/lib/ undefined reference to `x265_encoder_open_21' /usr/lib/ undefined reference to `x265_encoder_headers' /usr/lib/ undefined reference to `x265_param_alloc' /usr/lib/ undefined reference to `x265_picture_init' /usr/lib/ undefined reference to `x265_encoder_encode' /usr/lib/ undefined reference to `x265_encoder_close' collect2: error: ld returned 1 exit status obs/CMakeFiles/obs.dir/build.make:555: recipe for target 'obs/obs' failed make[2]: *** [obs/obs] Error 1 CMakeFiles/Makefile2:261: recipe for target 'obs/CMakeFiles/obs.dir/all' failed make[1]: *** [obs/CMakeFiles/obs.dir/all] Error 2 Makefile:137: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Anyone know a solution?

ledti commented on 2014-07-14 05:55 (UTC)

I think it used to fail without qt5-tools, but you're right. Thanks for the tip. :)

HER0_01 commented on 2014-07-14 04:18 (UTC)

I am not sure that qt5-tools is actually a build dependancy. I was able to compile just fine without it.

ledti commented on 2014-06-07 14:04 (UTC)

CMake is already a makedepends. It's not required for run time. makedepends=('cmake' 'git' 'qt5-tools')

BlackJoe23 commented on 2014-06-06 22:05 (UTC)

please include cmake as dependency for convinience

ledti commented on 2014-03-12 22:32 (UTC)

Note: This is basically pre-alpha software, and it currently does not work with the Mesa drivers.