Package Details: obs-glcapture-git r5.79c9ca0-1

Git Clone URL: https://aur.archlinux.org/obs-glcapture-git.git (read-only, click to copy)
Package Base: obs-glcapture-git
Description: GL capturing for OBS using SSR-GLinject
Upstream URL: https://github.com/therealfarfetchd/obs-glcapture
Licenses: MIT
Conflicts: obs-glcapture
Provides: obs-glcapture
Submitter: 2xsaiko
Maintainer: 2xsaiko
Last Packager: 2xsaiko
Votes: 2
Popularity: 0.000000
First Submitted: 2018-09-27 15:10 (UTC)
Last Updated: 2018-09-27 15:10 (UTC)

Latest Comments

KozRoss commented on 2022-04-10 01:10 (UTC)

I have a build failure of the following form:

[ 92%] Building CXX object CMakeFiles/obs-glcapture.dir/src/ring_buffer.cpp.o /home/koz/.cache/paru/clone/obs-glcapture-git/src/obs-glcapture/src/ssr/AVWrapper.cpp:24:28: error: ‘AVLockOp’ has not been declared 24 | int lock_manager(void m, AVLockOp op) { | ^~~~~~~~ /home/koz/.cache/paru/clone/obs-glcapture-git/src/obs-glcapture/src/ssr/AVWrapper.cpp: In function ‘int lock_manager(void, int)’: /home/koz/.cache/paru/clone/obs-glcapture-git/src/obs-glcapture/src/ssr/AVWrapper.cpp:27:14: error: ‘AV_LOCK_CREATE’ was not declared in this scope; did you mean ‘AV_LOG_TRACE’? 27 | case AV_LOCK_CREATE: | ^~~~~~~~~~~~~~ | AV_LOG_TRACE /home/koz/.cache/paru/clone/obs-glcapture-git/src/obs-glcapture/src/ssr/AVWrapper.cpp:30:14: error: ‘AV_LOCK_DESTROY’ was not declared in this scope 30 | case AV_LOCK_DESTROY: | ^~~~~~~~~~~~~~~ /home/koz/.cache/paru/clone/obs-glcapture-git/src/obs-glcapture/src/ssr/AVWrapper.cpp:33:14: error: ‘AV_LOCK_OBTAIN’ was not declared in this scope 33 | case AV_LOCK_OBTAIN: | ^~~~~~~~~~~~~~ /home/koz/.cache/paru/clone/obs-glcapture-git/src/obs-glcapture/src/ssr/AVWrapper.cpp:36:14: error: ‘AV_LOCK_RELEASE’ was not declared in this scope 36 | case AV_LOCK_RELEASE: | ^~~~~~~~~~~~~~~ /home/koz/.cache/paru/clone/obs-glcapture-git/src/obs-glcapture/src/ssr/AVWrapper.cpp: In constructor ‘AVGlobal::AVGlobal()’: /home/koz/.cache/paru/clone/obs-glcapture-git/src/obs-glcapture/src/ssr/AVWrapper.cpp:55:9: error: ‘av_register_all’ was not declared in this scope 55 | av_register_all(); | ^~~~~~~~~~~~~~~ /home/koz/.cache/paru/clone/obs-glcapture-git/src/obs-glcapture/src/ssr/AVWrapper.cpp:58:9: error: ‘av_lockmgr_register’ was not declared in this scope 58 | av_lockmgr_register(&lock_manager); | ^~~~~~~~~~~~~~~~~~~ make[2]: [CMakeFiles/obs-glcapture.dir/build.make:118: CMakeFiles/obs-glcapture.dir/src/ssr/AVWrapper.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/Makefile2:84: CMakeFiles/obs-glcapture.dir/all] Error 2 make: [Makefile:91: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

jorgicio commented on 2022-03-05 04:59 (UTC) (edited on 2022-03-05 04:59 (UTC) by jorgicio)

This package should requiere ffmpeg4.4, and also the make line should be like this:

make CXXFLAGS="${CFLAGS} -I/usr/include/ffmpeg4.4 -fPIC"

2xsaiko commented on 2018-09-27 15:15 (UTC)

Thanks to /u/RaumEnde for writing this PKGBUILD and letting me use it!