@Sukid, no it doesn't work like that, you need more than API keys. You'll need to manage some middleware.
And I don't support that on my PKGBUILDs.
Git Clone URL: | https://aur.archlinux.org/obs-studio-tytan652.git (read-only, click to copy) |
---|---|
Package Base: | obs-studio-tytan652 |
Description: | Free and open source software for video recording and live streaming. With everything except service integrations. Plus my bind interface PR, and sometimes backported fixes |
Upstream URL: | https://github.com/obsproject/obs-studio |
Keywords: | browser ftl obs vst |
Licenses: | GPL-2.0-or-later |
Conflicts: | libva-vdpau-driver, obs-browser, obs-linuxbrowser, obs-studio, obs-vst, obs-websocket |
Provides: | obs-browser, obs-studio, obs-vst, obs-websocket |
Submitter: | tytan652 |
Maintainer: | tytan652 |
Last Packager: | tytan652 |
Votes: | 52 |
Popularity: | 1.40 |
First Submitted: | 2021-03-17 21:24 (UTC) |
Last Updated: | 2025-03-29 06:30 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 18 Next › Last »
@Sukid, no it doesn't work like that, you need more than API keys. You'll need to manage some middleware.
And I don't support that on my PKGBUILDs.
Apparently service integrations can be added using cmake options as long as we have twich api and oauth credentials ready. Anyone know what those variables are? Been having trouble googling it.
EDIT: Fixed in the latest update. Thank you!
I'm also having trouble compiling this package. I've tried building it manually using makepkg on both my main system and a VirtualBox machine (both up-to-date). I also attempted to install it using different AUR helpers (yay, paru, trizen), even within a clean chroot environment. However, the compilation always stops with the following error:
[ 82%] Built target obs-websocket
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp: In static member function ‘static bool aja::Routing::ParseRouteString(const std::string&, NTV2XptConnections&)’:
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp:28:28: error: possibly dangling reference to a temporary [-Werror=dangling-reference]
28 | const std::string &route_strip = aja::replace(route_lower, " ", "");
| ^~~~~~~~~~~
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp:28:54: note: the temporary was destroyed at the end of the full expression ‘aja::replace(route_lower, std::__cxx11::basic_string<char>(((const char*)" "), std::allocator<char>()), std::__cxx11::basic_string<char>(((const char*)""), std::allocator<char>()))’
28 | const std::string &route_strip = aja::replace(route_lower, " ", "");
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp: In static member function ‘static void aja::Routing::StartSourceAudio(const SourceProps&, CNTV2Card*)’:
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp:150:31: warning: ‘virtual bool CNTV2Card::WriteAudioSource(ULWord, NTV2Channel)’ is deprecated [-Wdeprecated-declarations]
150 | card->WriteAudioSource(0, channel);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/include/ajalibraries/ajantv2/includes/ntv2publicinterface.h:11,
from /usr/include/ajalibraries/ajantv2/includes/ntv2vpid.h:12,
from /home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-enums.hpp:3,
from /home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-props.hpp:3,
from /home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-card-manager.hpp:3,
from /home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp:1:
/usr/include/ajalibraries/ajantv2/includes/ntv2card.h:2482:21: note: declared here
2482 | AJA_VIRTUAL NTV2_DEPRECATED_f(bool WriteAudioSource (const ULWord inValue, const NTV2Channel inChannel = NTV2_CHANNEL1)); ///< @deprecated This function is obsolete.
| ^~~~~~~~~~~~~~~~~
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp:185:34: warning: ‘virtual bool CNTV2Card::ReadAudioSource(ULWord&, NTV2Channel)’ is deprecated [-Wdeprecated-declarations]
185 | if (card->ReadAudioSource(oldValue, channel)) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/ajalibraries/ajantv2/includes/ntv2card.h:2483:21: note: declared here
2483 | AJA_VIRTUAL NTV2_DEPRECATED_f(bool ReadAudioSource (ULWord & outValue, const NTV2Channel inChannel = NTV2_CHANNEL1)); ///< @deprecated This function is obsolete.
| ^~~~~~~~~~~~~~~~~
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp:186:39: warning: ‘virtual bool CNTV2Card::WriteAudioSource(ULWord, NTV2Channel)’ is deprecated [-Wdeprecated-declarations]
186 | card->WriteAudioSource(oldValue | magicAudioBits, channel);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/ajalibraries/ajantv2/includes/ntv2card.h:2482:21: note: declared here
2482 | AJA_VIRTUAL NTV2_DEPRECATED_f(bool WriteAudioSource (const ULWord inValue, const NTV2Channel inChannel = NTV2_CHANNEL1)); ///< @deprecated This function is obsolete.
| ^~~~~~~~~~~~~~~~~
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp: In static member function ‘static void aja::Routing::ConfigureOutputAudio(const OutputProps&, CNTV2Card*)’:
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp:545:42: warning: ‘virtual bool CNTV2Card::SetAudioOutputMonitorSource(NTV2AudioMonitorSelect, NTV2Channel)’ is deprecated [-Wdeprecated-declarations]
545 | card->SetAudioOutputMonitorSource(NTV2_AudioChannel1_2, channel);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/ajalibraries/ajantv2/includes/ntv2card.h:7406:28: note: declared here
7406 | AJA_VIRTUAL inline NTV2_DEPRECATED_f(bool SetAudioOutputMonitorSource (const NTV2AudioMonitorSelect inChannelPair, const NTV2Channel inAudioSystem = NTV2_CHANNEL1)) {return SetAudioOutputMonitorSource(inChannelPair, NTV2AudioSystem(inAudioSystem));} ///< @deprecated Use the function that uses NTV2AudioChannelPair and NTV2AudioSystem params.
| ^~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [plugins/aja/CMakeFiles/aja.dir/build.make:160: plugins/aja/CMakeFiles/aja.dir/aja-routing.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1874: plugins/aja/CMakeFiles/aja.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp: In static member function ‘static bool aja::Routing::ParseRouteString(const std::string&, NTV2XptConnections&)’:
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp:28:28: error: possibly dangling reference to a temporary [-Werror=dangling-reference]
28 | const std::string &route_strip = aja::replace(route_lower, " ", "");
| ^~~~~~~~~~~
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp:28:54: note: the temporary was destroyed at the end of the full expression ‘aja::replace(route_lower, std::__cxx11::basic_string<char>(((const char*)" "), std::allocator<char>()), std::__cxx11::basic_string<char>(((const char*)""), std::allocator<char>()))’
28 | const std::string &route_strip = aja::replace(route_lower, " ", "");
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp: In static member function ‘static void aja::Routing::StartSourceAudio(const SourceProps&, CNTV2Card*)’:
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp:150:31: warning: ‘virtual bool CNTV2Card::WriteAudioSource(ULWord, NTV2Channel)’ is deprecated [-Wdeprecated-declarations]
150 | card->WriteAudioSource(0, channel);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/include/ajalibraries/ajantv2/includes/ntv2publicinterface.h:11,
from /usr/include/ajalibraries/ajantv2/includes/ntv2vpid.h:12,
from /home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-enums.hpp:3,
from /home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-props.hpp:3,
from /home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-card-manager.hpp:3,
from /home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp:1:
/usr/include/ajalibraries/ajantv2/includes/ntv2card.h:2482:21: note: declared here
2482 | AJA_VIRTUAL NTV2_DEPRECATED_f(bool WriteAudioSource (const ULWord inValue, const NTV2Channel inChannel = NTV2_CHANNEL1)); ///< @deprecated This function is obsolete.
| ^~~~~~~~~~~~~~~~~
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp:185:34: warning: ‘virtual bool CNTV2Card::ReadAudioSource(ULWord&, NTV2Channel)’ is deprecated [-Wdeprecated-declarations]
185 | if (card->ReadAudioSource(oldValue, channel)) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/ajalibraries/ajantv2/includes/ntv2card.h:2483:21: note: declared here
2483 | AJA_VIRTUAL NTV2_DEPRECATED_f(bool ReadAudioSource (ULWord & outValue, const NTV2Channel inChannel = NTV2_CHANNEL1)); ///< @deprecated This function is obsolete.
| ^~~~~~~~~~~~~~~~~
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp:186:39: warning: ‘virtual bool CNTV2Card::WriteAudioSource(ULWord, NTV2Channel)’ is deprecated [-Wdeprecated-declarations]
186 | card->WriteAudioSource(oldValue | magicAudioBits, channel);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/ajalibraries/ajantv2/includes/ntv2card.h:2482:21: note: declared here
2482 | AJA_VIRTUAL NTV2_DEPRECATED_f(bool WriteAudioSource (const ULWord inValue, const NTV2Channel inChannel = NTV2_CHANNEL1)); ///< @deprecated This function is obsolete.
| ^~~~~~~~~~~~~~~~~
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp: In static member function ‘static void aja::Routing::ConfigureOutputAudio(const OutputProps&, CNTV2Card*)’:
/home/acinonyx/Utilities/builds/obs-studio-tytan652/src/obs-studio/plugins/aja/aja-routing.cpp:545:42: warning: ‘virtual bool CNTV2Card::SetAudioOutputMonitorSource(NTV2AudioMonitorSelect, NTV2Channel)’ is deprecated [-Wdeprecated-declarations]
545 | card->SetAudioOutputMonitorSource(NTV2_AudioChannel1_2, channel);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/ajalibraries/ajantv2/includes/ntv2card.h:7406:28: note: declared here
7406 | AJA_VIRTUAL inline NTV2_DEPRECATED_f(bool SetAudioOutputMonitorSource (const NTV2AudioMonitorSelect inChannelPair, const NTV2Channel inAudioSystem = NTV2_CHANNEL1)) {return SetAudioOutputMonitorSource(inChannelPair, NTV2AudioSystem(inAudioSystem));} ///< @deprecated Use the function that uses NTV2AudioChannelPair and NTV2AudioSystem params.
| ^~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [UI/frontend-plugins/aja-output-ui/CMakeFiles/aja-output-ui.dir/build.make:174: UI/frontend-plugins/aja-output-ui/CMakeFiles/aja-output-ui.dir/__/__/__/plugins/aja/aja-routing.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2047: UI/frontend-plugins/aja-output-ui/CMakeFiles/aja-output-ui.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
If there is any other information I can provide to help resolve this issue, let me know. Thanks!
[FIXED] Compiling aja fails:
make[2]: *** [plugins/aja/CMakeFiles/aja.dir/build.make:160: plugins/aja/CMakeFiles/aja.dir/aja-routing.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1874: plugins/aja/CMakeFiles/aja.dir/all] Error 2 make: *** [Makefile:156: all] Error 2
compiling vlc-luajit fails:
Error: no matching function for call to "absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(const char [37], int, std::string&)"
@midiidev, it's because you didn't rebuild the package against the MbedTLS 3.
The package now require MbedTLS 3.
I think the mbedtls2
should be added as a dependency because I was getting an error and was unable to start the application before installing it.
error:
collect2: error: ld returned 1 exit status make[2]: *** [plugins/obs-x264/CMakeFiles/obs-x264-test.dir/build.make:114: plugins/obs-x264/obs-x264-test] Error 1 make[1]: *** [CMakeFiles/Makefile2:1640: plugins/obs-x264/CMakeFiles/obs-x264-test.dir/all] Error 2 make: *** [Makefile:156: all] Error 2
To say you're dropping the Manjaro code path you're screwing potentially thousands of people who use your builds specifically which has the features and things that the base package of obs-studio doesn't support or function as intended, and to say to them to pick up the Flatpak version wouldn't be viable to many who are forced down this path just because they happen to be on Manjaro. The issue lies with the Manjaro repositories that they don't get frequent pushed stable updates like the AUR repositories so they're always going to be a version or two behind what AUR has. However some of these newer releases are in Unstable, and it may push some to switch branches just to be able to use the latest versions of OBS, even if it means potentially breaking stability of other things in order to use and add plugins.
Pinned Comments
tytan652 commented on 2025-03-15 16:52 (UTC)
If you have issue building please try to downgrade
asio
to a version before 1.34.0, this a headers-only library so packages only rely on it as a build-time dependencies.Arch Linux has unfortunately updated
asio
without testing if packages using it would build andwebsocketpp
happens to not work with the newestasio
.tytan652 commented on 2023-01-13 07:51 (UTC) (edited on 2023-01-13 07:52 (UTC) by tytan652)
For those who might ask why
libva-vdpau-driver
was added to conflicts.It is the only way at package level to prevent the user to have segfaults because of this driver. This will not be fixed on OBS side since this is not an OBS issue.
The driver is only loaded with Nvidia cards.
Try
libva-nvidia-driver
if you really need Nvidia decode through VAAPI.tytan652 commented on 2021-05-14 17:49 (UTC) (edited on 2022-07-08 06:03 (UTC) by tytan652)
This package have some dependencies with version check, it will allow you to rebuild the package only when your system is correctly updated. This feature is not enabled on Manjaro.
If you have any issue, please before commenting rebuild this package (a clean build) and try again to make sure it's not because of a library update.
Pamac has a messed up dependency checker, use another AUR helper for the first install.
This AUR package provide OBS with all the missing feature except Twitch, Restream and YouTube integrations.
More explaination here: https://ideas.obsproject.com/posts/1558/
It provide any dependency needed for Wayland support.
It also contains some unmerged PR or backported fix documented in the PKGBUILD.
I'm quite active on OBS discord server (don't PM me directly), so if I saw something that need to be backported I add it.