OBS-Studio fails to compile with this error message:
Error: "av_stream_get_side_data" is obsolete [-Werror=deprecated-declarations]
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 V4L2 devices by paths, my bind interface PR, and sometimes backported fixes |
Upstream URL: | https://github.com/obsproject/obs-studio |
Keywords: | browser ftl obs vst |
Licenses: | GPL3 |
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: | 40 |
Popularity: | 1.20 |
First Submitted: | 2021-03-17 21:24 (UTC) |
Last Updated: | 2023-11-21 20:37 (UTC) |
OBS-Studio fails to compile with this error message:
Error: "av_stream_get_side_data" is obsolete [-Werror=deprecated-declarations]
@xiota Just take account that I became the maintainer of -browser
a while after I created -tytan652
and -rc
.
You ask me to explain, how they differ when it's explained in pinned comments and in their descriptions (even if I should remove the V4L2 part on -tytan652
, I just forgot).
TLDR:
-browser
: Tries to provide stable version of OBS with a maximum of features
-tytan652
: Tries to provide the same with custom patches adding features
-rc
: Tries to provide beta, release candidate and stable version of OBS with a maximum of features
Note that -git
(that I don't maintain), is on the master branch which do not represent a version with fixes, it is unstable.
@tytan62 Please explain the difference among the obs-studio-*
packages you maintain?
good work my fren, Tytan652 <3 I will be using this to do a little bit of streaming :3
ffmpeg-obs - exit status 4 obs-studio-tytan652 - exit status 8
both can't be build/upgraded and fail with this message:
ERROR: nvenc requested but not found
I'm running obs-studio-tytan652 29.1.3-4 which is running fine, but loading a Python script gives the error ModuleNotFoundError: No module named 'pymonctl'
yet that module is installed on the OS Python, and is functional.
Question is: Is there some specific Python environment that this package runs, or way i should install required Python modules that a script needs to import?
It did work a version or two back of this package. But I had used pyenv to set my OS Python to 3.10 for compatibility with OBS.
@tytan652 yeaaah as I kept trying to fool with it after making that comment I found out about that myself. twisted my brain tryna get that to work. tyvm
Error building:
[ 55%] Building C object plugins/obs-outputs/CMakeFiles/obs-outputs.dir/rtmp-hevc.c.o
/home/jtcf/.cache/paru/clone/obs-studio-tytan652/src/obs-studio/deps/obs-scripting/obs-scripting-lua.c: In function 'load_lua_script':
/home/jtcf/.cache/paru/clone/obs-studio-tytan652/src/obs-studio/deps/obs-scripting/obs-scripting-lua.c:99:9: error: implicit declaration of function 'luaopen_ffi'; did you mean 'luaopen_utf8'? [-Werror=implicit-function-declaration]
99 | luaopen_ffi(script);
| ^~~~~~~~~~~
| luaopen_utf8
[ 55%] Building C object plugins/rtmp-services/CMakeFiles/rtmp-services.dir/rtmp-services-main.c.o
Tried clean rebuilding, no change
Option to disable Hardware Acceleration in browser sources missing; Should be present under Settings/Advanced; Version. 29.1.3-2 - EndeavorOS;
Edit: Reason I need this option is due to livestream overlay with Streamelements. They use a browser source for on-screen chat and alerts but hardware acceleration prevents Browser source from streaming the web-feed into OBS
lto-wrapper: warning: using serial compilation of 128 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
libavcodec/x86/mathops.h: Assembler messages:
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for
shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [ffbuild/library.mak:119: libavcodec/libavcodec.so.60] Błąd 1
==> BŁĄD: Wystąpił błąd w build().
Przerywam...
-> błąd podczas budowania: ffmpeg-obs-exit status 4
-> Failed to install the following packages. Manual intervention is required:
ffmpeg-obs - exit status 4
Pinned Comments
tytan652 commented on 2023-02-28 15:26 (UTC)
Notice for the next future update: Manjaro code path will be dropped while switching to FFmpeg 6. So I will only focus on ArchLinux support.
This code path is becoming a burden when those type of update arise (e.g. FFmpeg).
Manjaro users please prefer the Flatpak and if you want plugins ask the plugin developer to create a Flatpak extension for OBS.
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.