Package Details: obs-studio-git 30.1.1.r33.g3a10355-1

Git Clone URL: https://aur.archlinux.org/obs-studio-git.git (read-only, click to copy)
Package Base: obs-studio-git
Description: Free and open source software for video recording and live streaming.
Upstream URL: https://github.com/obsproject/obs-studio
Keywords: obs-studio
Licenses: GPL2
Conflicts: obs-studio
Provides: obs-studio
Submitter: ledti
Maintainer: benklett
Last Packager: benklett
Votes: 95
Popularity: 0.84
First Submitted: 2014-03-12 22:29 (UTC)
Last Updated: 2024-04-01 15:47 (UTC)

Required by (142)

Sources (4)

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 https://aur.chaotic.cx

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

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 32 Next › Last »

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 https://github.com/obsproject/obs-studio/pull/4287). 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 @ https://gitlab.gnome.org/feaneron/obs-xdg-portal/-/issues/30):

build() {
  cd $pkgname

  mkdir -p build; cd build

  cmake \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DBUILD_BROWSER=ON \
    -DCEF_ROOT_DIR="/opt/cef" \
    -DOBS_VERSION_OVERRIDE=$pkgver \
    -DENABLE_PIPEWIRE=ON .. # <--------- add before '..'

  make
}

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 libavcodec.so).

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

getting a libaom, libx264 and libx265 error on build usr/bin/ld: warning: libaom.so.2, needed by /usr/lib/libavcodec.so.58, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libx264.so.160, needed by /usr/lib/libavcodec.so.58, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libx265.so.192, needed by /usr/lib/libavcodec.so.58, 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 @@
 source=("$pkgname::git+https://github.com/obsproject/obs-studio.git#branch=master"
         "git+https://github.com/Mixer/ftl-sdk.git"
         "git+https://github.com/obsproject/obs-browser.git"
+        "git+https://github.com/obsproject/obs-vst.git"
         "fix_python_binary_loading.patch")
-md5sums=("SKIP" "SKIP" "SKIP"
+md5sums=("SKIP" "SKIP" "SKIP" "SKIP"
          "051b90f05e26bff99236b8fb1ad377d1")

 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!