Package Details: obs-studio-git 31.0.2.r138.g3e84469-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
Licenses: GPL-2.0-only
Conflicts: obs-studio
Provides: obs-studio
Submitter: ledti
Maintainer: benklett (xiota)
Last Packager: benklett
Votes: 107
Popularity: 3.93
First Submitted: 2014-03-12 22:29 (UTC)
Last Updated: 2025-03-27 23:15 (UTC)

Required by (146)

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 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 .. 6 7 8 9 10 11 12 13 14 15 16 .. 36 Next › Last »

elaur commented on 2022-12-17 18:23 (UTC)

I am geting that error when running:

Thread 1 "obs" received signal SIGSEGV, Segmentation fault.
0x00007fffe7db2874 in XDisplayString () from /usr/lib/libX11.so.6

Stack:

#0  0x00007fffe7db2874 in XDisplayString () at /usr/lib/libX11.so.6
#1  0x00007fffa1f4ea1d in __vaDriverInit_1_13 () at /usr/lib/dri/nvidia_drv_video.so
#2  0x00007fffe7eefc9c in  () at /usr/lib/libva.so.2
#3  0x00007fffe7ef4df1 in vaInitialize () at /usr/lib/libva.so.2
#4  0x00007fffa2ba06d6 in vaapi_open_device () at /usr//lib/obs-plugins/obs-ffmpeg.so
#5  0x00007fffa2ba0ab4 in vaapi_device_h264_supported () at /usr//lib/obs-plugins/obs-ffmpeg.so
#6  0x00007fffa2ba0b89 in vaapi_get_h264_default_device () at /usr//lib/obs-plugins/obs-ffmpeg.so
#7  0x00007fffa2b8c564 in obs_module_load () at /usr//lib/obs-plugins/obs-ffmpeg.so
#8  0x00007ffff584edfe in obs_init_module () at /usr/lib/libobs.so.0
#9  0x00007ffff5850347 in  () at /usr/lib/libobs.so.0
#10 0x00007ffff584f948 in obs_find_modules2 () at /usr/lib/libobs.so.0
#11 0x00007ffff585002d in obs_load_all_modules2 () at /usr/lib/libobs.so.0
#12 0x00005555556ceb6d in  ()
#13 0x0000555555602ede in  ()
#14 0x00005555555e0621 in main ()

IncredibleLaser commented on 2022-10-25 12:46 (UTC)

Thanks, it builds now

benklett commented on 2022-10-24 14:15 (UTC)

Hi, I added the suggested cli switch for that option and updated the package. Let me know if it works.

IncredibleLaser commented on 2022-10-24 13:26 (UTC)

@seo.disparate thanks, I read the thread and the bug report as well… I find the global git config solution rather stupid since you're just opening up your system to the CVE the setting was supposed to fix, and I only modify the PKGBUILDs myself when absolutely needed. I do build in a clean chroot and since I know not all AUR maintainers do, I often comment with the stuff that doesn't work so they can fix it. Kind of upstream vs. downstream

seo.disparate commented on 2022-10-24 01:25 (UTC) (edited on 2022-10-24 07:18 (UTC) by seo.disparate)

@IncredibleLaser Adding:

# required due to https://bbs.archlinux.org/viewtopic.php?id=280571
git config --global protocol.file.allow always

To the top of the prepare function in the PKGBUILD will fix it.

EDIT: The link referenced here has alternative commands you can use if you don't use a CHROOT to build and don't want to mess with global git config.

For example:

git -c protocol.file.allow=always submodule update

instead of

git submodule update

at the end of the prepare function in the PKGBUILD.

IncredibleLaser commented on 2022-10-23 09:49 (UTC) (edited on 2022-10-23 09:50 (UTC) by IncredibleLaser)

It's not fixed for me:

==> Starting prepare()...
patching file libobs/util/platform-nix.c
Hunk #1 succeeded at 81 (offset 10 lines).
Cloning into '/build/obs-studio-git/src/obs-studio-git/plugins/obs-browser'...
fatal: transport 'file' not allowed
fatal: clone of '/build/obs-studio-git/src/obs-browser' into submodule path '/build/obs-studio-git/src/obs-studio-git/plugins/obs-browser' failed
Failed to clone 'plugins/obs-browser'. Retry scheduled
Cloning into '/build/obs-studio-git/src/obs-studio-git/plugins/obs-outputs/ftl-sdk'...
fatal: transport 'file' not allowed
fatal: clone of '/build/obs-studio-git/src/ftl-sdk' into submodule path '/build/obs-studio-git/src/obs-studio-git/plugins/obs-outputs/ftl-sdk' failed
Failed to clone 'plugins/obs-outputs/ftl-sdk'. Retry scheduled
Cloning into '/build/obs-studio-git/src/obs-studio-git/plugins/obs-websocket'...
fatal: transport 'file' not allowed
fatal: clone of '/build/obs-studio-git/src/obs-websocket' into submodule path '/build/obs-studio-git/src/obs-studio-git/plugins/obs-websocket' failed
Failed to clone 'plugins/obs-websocket'. Retry scheduled
Cloning into '/build/obs-studio-git/src/obs-studio-git/plugins/obs-browser'...
fatal: transport 'file' not allowed
fatal: clone of '/build/obs-studio-git/src/obs-browser' into submodule path '/build/obs-studio-git/src/obs-studio-git/plugins/obs-browser' failed
Failed to clone 'plugins/obs-browser' a second time, aborting
==> ERROR: A failure occurred in prepare().
    Aborting...

benklett commented on 2022-10-20 19:59 (UTC)

It should be fixed right now.

meyznu commented on 2022-10-20 13:54 (UTC)

@seo.disparate How do I use this information? I simply removed this package and installed "community/obs-studio".

seo.disparate commented on 2022-10-20 04:49 (UTC)

@meyznu I've been using the following:

pkgver() {
  cd $pkgname
  # include commit hash in version
  git describe --long --tags | sed 's/-/./g'
}

prepare() {
  # required due to https://bbs.archlinux.org/viewtopic.php?id=280571
  git config --global protocol.file.allow always

  ...
}

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-obs" \
    -DOBS_VERSION_OVERRIDE=$(echo -n "$pkgver" | cut -d. -f1-4 | sed 's/beta//') ..
  #  remove the word "beta" from $pkgver when using OBS_VERSION_OVERRIDE
  make
}

meyznu commented on 2022-10-15 16:26 (UTC) (edited on 2022-10-15 16:35 (UTC) by meyznu)

I still get a "format invalid" error

$ yay -S obs-studio-git
...
==> Starting pkgver()...
==> Updated version: obs-studio-git 28.1.0.beta1-1
==> Sources are ready.
==> Making package: obs-studio-git 28.1.0.beta1-1 (Sat 15 Oct 2022 09:21:30 AM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
-- OBS:  Application Version: 28.1.0.beta1 - Build Number: 1
CMake Error at CMakeLists.txt:15 (project):
  VERSION "28.1.0.beta1" format invalid.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: obs-studio-git