@Pulec The change you suggest appears to be intended for aur/ffmpeg-amd-full-git.
You can also try building in a clean chroot. Then this package would use the headers from extra/ffmpeg.
| Git Clone URL: | https://aur.archlinux.org/obs-studio-git.git (read-only, click to copy) |
|---|---|
| Package Base: | obs-studio-git |
| Description: | Free, open source software for live streaming and recording |
| Upstream URL: | https://github.com/obsproject/obs-studio |
| Licenses: | GPL-2.0-or-later |
| Conflicts: | obs-studio |
| Provides: | obs-studio |
| Submitter: | ledti |
| Maintainer: | benklett (xiota) |
| Last Packager: | xiota |
| Votes: | 112 |
| Popularity: | 0.32 |
| First Submitted: | 2014-03-12 22:29 (UTC) |
| Last Updated: | 2026-04-01 04:56 (UTC) |
@Pulec The change you suggest appears to be intended for aur/ffmpeg-amd-full-git.
You can also try building in a clean chroot. Then this package would use the headers from extra/ffmpeg.
I am using ffmpeg-amd-full-git version goes like 8.2.r123625.gfd9f1e9c52-1
and that with the current build fails:
-- Found Threads: TRUE
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
Could NOT find FFmpeg: (Required is at least version "6.1") (found
/usr/lib/libavformat.so;/usr/lib/libavutil.so;/usr/lib/libswscale.so;/usr/lib/libswresample.so;/usr/lib/libavcodec.so,
found components: avformat avutil swscale swresample avcodec)
Reason given by package: Ensure that required FFmpeg libraries are installed on the system.
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:652 (_FPHSA_FAILURE_MESSAGE)
cmake/finders/FindFFmpeg.cmake:309 (find_package_handle_standard_args)
libobs/CMakeLists.txt:13 (find_package)
-- Configuring incomplete, errors occurred!
This happens because this package's ffversion.h ends up as:
#define FFMPEG_VERSION "N-123625-gfd9f1e9c52"
That string fails the regex n?[0-9]+\.[0-9]+ used by several downstream projects' FindFFmpeg.cmake. CMake then refuses to set FFmpeg_VERSION and find_package(FFmpeg <min> REQUIRED ...).
Hence, the Could NOT find FFmpeg: (Required is at least version "6.1")
suggested patch:
--- a/PKGBUILD
+++ b/PKGBUILD
@@ build()
cd ffmpeg
+
+ export revision="n${pkgver%%.r*}-$(git rev-parse --short HEAD)"
+
printf '%s\n' ' -> Running ffmpeg configure script...'
With my ffmpeg then it's get detected fine: Found FFmpeg: ... (found suitable version "8.2", minimum required is "6.1").
This package is missing a required dependency named simde, this causes all sub-packages (like obs-pipewire-audio-capture) to fail with missing required package simde, maybe even OBS itself.
From 63b17d81c2faaa1e248868d1522b74925724a98f Mon Sep 17 00:00:00 2001
From: WildCard65 <lollol222gg@gmail.com>
Date: Tue, 10 Mar 2026 14:13:46 -0400
Subject: [PATCH] Fixed package dependencies.
---
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
index 945ecf1..fe8e289 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,17 +3,17 @@
# Contributor: ArcticVanguard <LideEmily at gmail dot com>
# Contributor: ledti <antergist at gmail dot com>
## options
: ${_plugin_aja:=false}
_pkgname="obs-studio"
pkgname="$_pkgname-git"
-pkgver=32.0.4.r25.g407944a
+pkgver=32.1.0.r0.g5533a27
pkgrel=1
pkgdesc="Free, open source software for live streaming and recording"
url="https://github.com/obsproject/obs-studio"
license=("GPL-2.0-or-later")
arch=("i686" "x86_64")
depends=(
'curl'
@@ -26,30 +26,30 @@ depends=(
'libvpl'
'libxcomposite'
'mbedtls'
'pciutils'
'qrcodegencpp-cmake'
'qt6-svg'
'rnnoise'
'speexdsp'
+ 'simde'
)
makedepends=(
'asio'
'cmake'
'extra-cmake-modules'
'ffnvcodec-headers'
'git'
'libfdk-aac'
'luajit'
'ninja'
'nlohmann-json'
'python'
'qt6-wayland'
- 'simde'
'sndio'
'swig'
'uthash'
'vlc'
'wayland'
'websocketpp'
'x264'
'xdg-desktop-portal'
--
2.53.0
Why do I need to install VLC and all its plugins to compile if VLC is an optional dependency? (Nvm, I just saw that is a build dependency, but not a dependency to run the program)
Fails to update. Aur (1) Old Version New Version Make Only aur/obs-studio-git 32.0.4.r3.ga4642cc-1 latest-commit No
PKGBUILDs up to date
nothing new to review
fetching devel info...
curl: (22) The requested URL returned error: 404
==> ERROR: sha256sums does not allow empty values.
error: failed to download sources for 'obs-studio-git-32.0.1.r0.g0b12296-2':
error: packages failed to build: obs-studio-git-32.0.1.r0.g0b12296-2
@tytan652 from what I can tell the cmake files provided by OBS are still trying to look for GuiPrivate even when QT is 6.9 or later, the patch modifies them to only look if QT is earlier than 6.9.
all I know for sure is I was unable to build this package due to the GuiPrivate change on a recently updated system but yours worked fine
edit: i have just tried building on a fresh system with no other AUR packages installed, same issue
When OBS Studio is built with Qt 6.9 or later, none of it relies on GuiPrivate API. It still does with 6.8. And 6.10 had changes in its CMake package.
So there is no need to add changes to find GuiPrivate the 6.10 way.
it seems this package is currently broken due to changes to QT private linkage as of 6.9, build fails with cmake saying it cant find "Qt::GuiPrivate", tytan652's package is working because it includes a patch for the cmake files. which makes me confused tbh because QT6.9 was released in april and i'm pretty sure i built this package just a couple months ago without issue ¯\(ツ)/¯
@friday13 - Do a clean build of the package. That fixed the issue for me.
obs: error while loading shared libraries: libavcodec.so.61: cannot open shared object file: No such file or directory
[friday13@baba ~]$ ls /usr/lib | grep libavcodec
lrwxrwxrwx - root 24 Eyl 20:10 libavcodec.so -> libavcodec.so.62.11.100
lrwxrwxrwx - root 24 Eyl 20:17 libavcodec.so.58 -> libavcodec.so.58.134.100
.rwxr-xr-x 14Mi root 24 Eyl 20:17 libavcodec.so.58.134.100
lrwxrwxrwx - root 24 Eyl 20:10 libavcodec.so.62 -> libavcodec.so.62.11.100
.rwxr-xr-x 19Mi root 24 Eyl 20:10 libavcodec.so.62.11.100
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)