Package Details: obs-studio-git 30.2.3.r364.gb854f61-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
Licenses: GPL-2.0-only
Conflicts: obs-studio
Provides: obs-studio
Submitter: ledti
Maintainer: benklett (xiota)
Last Packager: xiota
Votes: 101
Popularity: 1.25
First Submitted: 2014-03-12 22:29 (UTC)
Last Updated: 2024-11-07 23:26 (UTC)

Required by (143)

Sources (3)

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 8 9 10 11 12 .. 35 Next › Last »

zangoku commented on 2023-11-29 15:57 (UTC)

fails to build:

 13%] Building C object libobs/CMakeFiles/libobs.dir/media-io/media-remux.c.o
/home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/libobs/media-io/media-remux.c: In function ‘init_output’:
/home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/libobs/media-io/media-remux.c:99:17: error: ‘av_stream_get_side_data’ is deprecated [-Werror=deprecated-declarations]
   99 |                 const uint8_t *const content_src = av_stream_get_side_data(
      |                 ^~~~~
In file included from /home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/libobs/media-io/media-remux.c:24:
/usr/include/libavformat/avformat.h:1917:10: note: declared here
 1917 | uint8_t *av_stream_get_side_data(const AVStream *stream,
      |          ^~~~~~~~~~~~~~~~~~~~~~~
/home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/libobs/media-io/media-remux.c:103:25: error: ‘av_stream_new_side_data’ is deprecated [-Werror=deprecated-declarations]
  103 |                         uint8_t *const content_dst = av_stream_new_side_data(
      |                         ^~~~~~~
/usr/include/libavformat/avformat.h:1902:10: note: declared here
 1902 | uint8_t *av_stream_new_side_data(AVStream *stream,
      |          ^~~~~~~~~~~~~~~~~~~~~~~
/home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/libobs/media-io/media-remux.c:115:17: error: ‘av_stream_get_side_data’ is deprecated [-Werror=deprecated-declarations]
  115 |                 const uint8_t *const mastering_src = av_stream_get_side_data(
      |                 ^~~~~
/usr/include/libavformat/avformat.h:1917:10: note: declared here
 1917 | uint8_t *av_stream_get_side_data(const AVStream *stream,
      |          ^~~~~~~~~~~~~~~~~~~~~~~
/home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/libobs/media-io/media-remux.c:119:25: error: ‘av_stream_new_side_data’ is deprecated [-Werror=deprecated-declarations]
  119 |                         uint8_t *const mastering_dst = av_stream_new_side_data(
      |                         ^~~~~~~
/usr/include/libavformat/avformat.h:1902:10: note: declared here
 1902 | uint8_t *av_stream_new_side_data(AVStream *stream,
      |          ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [libobs/CMakeFiles/libobs.dir/build.make:776: libobs/CMakeFiles/libobs.dir/media-io/media-remux.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1218: libobs/CMakeFiles/libobs.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'obs-studio-git-30.0.0.beta3-2': 
error: packages failed to build: obs-studio-git-30.0.0.beta3-2

seo.disparate commented on 2023-11-29 03:44 (UTC) (edited on 2023-11-29 07:37 (UTC) by seo.disparate)

I made a patch that fixes the build with FFmpeg 6.1

Previously, the build fails because FFmpeg deprecated some functions/enums and obs fails to build due to the deprecations. The patch fixes this by using the recommended API calls as described here

EDIT: I didn't make a pull request since some distros probably don't have FFmpeg 6.1 yet, and mentioned about it in a related issue..

EDIT2: I decided to make a pull request.

EDIT3: I made changes (after some review) to allow builds with older versions of FFmpeg. Hopefully this will be enough for the PR to be accepted upstream.

dhtseany commented on 2023-11-14 20:27 (UTC)

Can you please restore -DENABLE_JACK=ON \ under the CMAKE section? Without it the jack input client is missing. Thanks!

Xakurinha32 commented on 2023-10-02 22:52 (UTC) (edited on 2023-10-02 22:52 (UTC) by Xakurinha32)

Compilation Failed:


Installing decklink to OBS rundir
[ 33%] Built target decklink
[ 33%] Building C object plugins/vlc-video/CMakeFiles/vlc-video.dir/vlc-video-plugin.c.o
In file included from /home/spamtla/.cache/yay/obs-studio-git/src/obs-studio-git/plugins/vlc-video/vlc-video-plugin.h:9,
                 from /home/spamtla/.cache/yay/obs-studio-git/src/obs-studio-git/plugins/vlc-video/vlc-video-plugin.c:6:
/usr/include/vlc/libvlc_media.h:740:52: error: unknown type name ‘libvlc_picture_type_t’; did you mean ‘libvlc_media_type_t’?
  740 |                                         bool crop, libvlc_picture_type_t picture_type,
      |                                                    ^~~~~~~~~~~~~~~~~~~~~
      |                                                    libvlc_media_type_t
/usr/include/vlc/libvlc_media.h:778:51: error: unknown type name ‘libvlc_picture_type_t’; did you mean ‘libvlc_media_type_t’?
  778 |                                        bool crop, libvlc_picture_type_t picture_type,
      |                                                   ^~~~~~~~~~~~~~~~~~~~~
      |                                                   libvlc_media_type_t
In file included from /home/spamtla/.cache/yay/obs-studio-git/src/obs-studio-git/plugins/vlc-video/vlc-video-plugin.h:10:
/usr/include/vlc/libvlc_events.h:269:13: error: unknown type name ‘libvlc_picture_t’
  269 |             libvlc_picture_t* p_thumbnail;
      |             ^~~~~~~~~~~~~~~~
/usr/include/vlc/libvlc_events.h:277:13: error: unknown type name ‘libvlc_picture_list_t’
  277 |             libvlc_picture_list_t* thumbnails;
      |             ^~~~~~~~~~~~~~~~~~~~~
make[2]: *** [plugins/vlc-video/CMakeFiles/vlc-video.dir/build.make:76: plugins/vlc-video/CMakeFiles/vlc-video.dir/vlc-video-plugin.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1403: plugins/vlc-video/CMakeFiles/vlc-video.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: obs-studio-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
obs-studio-git - exit status 4

wustdsh commented on 2023-09-30 12:28 (UTC)

Why is libfdk-aac missing from the audio encoder options? Libfdk-aac has been installed

benklett commented on 2023-09-23 16:32 (UTC)

I did, thank you very much for mentioning it.

ApplicationMaker commented on 2023-09-23 10:55 (UTC)

Maintainer, please add qrcodegencpp-cmake to makedepends, the package doesn't build without it

rokku commented on 2023-09-11 16:32 (UTC)

installing aur/qrcodegencpp-cmake was enough to fix the crash on building

seo.disparate commented on 2023-09-07 02:51 (UTC) (edited on 2023-09-07 02:57 (UTC) by seo.disparate)

This package fails to build for me, presumably because of https://github.com/obsproject/obs-websocket/commit/417725801c25561ed3ac316a71aa332847623913 and this commit to obs-studio that uses a version of obs-websocket with that commit https://github.com/obsproject/obs-studio/commit/49ab01c898d322ad41310b3362d2c8d40d6882e2.

The fix is to remove the submodule qrcodegen from the PKGBUILD and set qrcodegencpp-cmake as a dependency. Note that qrcodegen-cmake is the base package, and qrcodegencpp-cmake is one of the split packages created by the base package.