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: 1.10
First Submitted: 2014-03-12 22:29 (UTC)
Last Updated: 2024-04-01 15:47 (UTC)

Dependencies (45)

Required by (141)

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 2 3 4 5 6 7 .. 32 Next › Last »

dingodoppelt commented on 2024-03-26 01:42 (UTC)

Thank you very much for the fix @benklett!

Rucker commented on 2024-03-25 21:59 (UTC) (edited on 2024-03-25 22:01 (UTC) by Rucker)

Thanks for the patch! Just confirmed that it does in fact work

benklett commented on 2024-03-25 20:31 (UTC)

Hello, I pushed an update right now to fix the compile error. I was at a conference last week and therefore not able to fix the build. I am sorry for that.

no-prophet commented on 2024-03-17 04:27 (UTC)

@dingodoppelt It worked. Thank you for the advice, and thanks to @Davidyz for the fix.

dingodoppelt commented on 2024-03-17 00:32 (UTC)

@no-prophet see @Davidyz's answer. Until the maintainer updates this package this'll be the only way to compile it. Sadly the maintainer seems to have been inactive for some months now.

no-prophet commented on 2024-03-16 06:59 (UTC)

Fails to build (libajantv2 is installed)

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find LibAJANTV2 (missing: AJA_LIBRARIES_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) cmake/Modules/FindLibAJANTV2.cmake:98 (find_package_handle_standard_args) plugins/aja/cmake/legacy.cmake:17 (find_package) cmake/Modules/ObsHelpers.cmake:473 (include) plugins/aja/CMakeLists.txt:3 (legacy_check)

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

Davidyz commented on 2024-03-11 20:20 (UTC)

At the moment the official build instruction included the cmake option -DENABLE_AJA=0. The building failed for me until I added this option to the cmake command in the build function of this PKGBUILD. I don't know enough about obs (or cpp in general) but if your build fails please consider this. Here's my complete build function:

build() {
    cmake -B build -S $pkgname \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_INSTALL_LIBDIR=lib \
        -DBUILD_BROWSER=ON \
        -DCEF_ROOT_DIR="/opt/cef-obs" \
        -DENABLE_LIBFDK=ON \
        -DENABLE_AJA=0 \
        -Wno-dev

    cmake --build build
}

seo.disparate commented on 2024-01-28 01:40 (UTC) (edited on 2024-01-28 01:44 (UTC) by seo.disparate)

@zangoku

1 Take the patch text and save it into a file "obs_libdatachannel_fix.patch" and place it in the same directory as the PKGBUILD.

2 Add the patch filename to the "source" array in the PKGBUILD:

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-websocket.git"
        "obs_libdatachannel_fix.patch"
)

3 Add the md5sum of the patch to the "md5sums" array in the PKGBUILD (use the output of md5sum obs_libdatachannel_fix.patch:

md5sums=("SKIP" "SKIP" "SKIP" "SKIP" "024f5214faf840efa736bbd42386b540")

4 Add the patch command in "prepare" function to apply the patch in the PKGBUILD:

prepare() {
  cd $pkgname
  gitconf="protocol.file.allow=always"

  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-websocket.url $srcdir/obs-websocket
  git -c $gitconf submodule update

  patch -p1 < "$srcdir/obs_libdatachannel_fix.patch"
}

5 Build the package. It should apply the patch during the prepare step as specified.

EDIT: Oh they updated. Well I'm leaving this comment anyway for those who want to have an example of patching the source.