Package Details: obs-studio-amf 30.0.2-1

Git Clone URL: (read-only, click to copy)
Package Base: obs-studio-amf
Description: Free, open source software for live streaming and recording. Includes new AMF encoding patch & browser plugin
Upstream URL:
Licenses: GPL2
Conflicts: obs-studio, obs-studio-tytan652, obs-websocket
Provides: obs-studio, obs-websocket
Submitter: alosarjos
Maintainer: alosarjos
Last Packager: alosarjos
Votes: 14
Popularity: 0.65
First Submitted: 2022-09-03 11:22 (UTC)
Last Updated: 2024-01-06 19:10 (UTC)

Dependencies (38)

Required by (141)

Sources (4)

Pinned Comments

alosarjos commented on 2023-11-12 07:42 (UTC)

Since OBS 30.0 has been released, I'll close the package.

The person who did the patch to enable AMF Encoding says that now the quality with FFMPEG has been fixed on AMD Cards (

Since the MR in closed and the patch no longer maintained I would close this AUR package.

If someone wants to take maintenance of it, please let me know. IF not I will close this in a few days

alosarjos commented on 2022-09-03 11:44 (UTC) (edited on 2022-09-04 09:55 (UTC) by alosarjos)

This package is intended to try and give some feedback for the existing pull request enabling this functionality:

Once this is merged and released as the official package this will be delelted

Latest Comments

1 2 3 4 5 6 .. 11 Next › Last »

OzzyHelix commented on 2024-02-21 02:43 (UTC)

this is the experiment I made I just added the AMF patch to the obs-studio-av1 PKGBUILD and renamed the PKGBUILD package obs-studio-amd. I'm just playing with it I don't expect it to get taken seriously

OzzyHelix commented on 2024-02-21 01:33 (UTC)

this might sound dumb but I was suggesting to the obs-studio-av1 aur package that you guys combine the patches into one package called obs-studio-amd I think having patches for AV1 and AMF in one package might be good for everyone but I will keep that experiment in a different branch on my github

OzzyHelix commented on 2024-02-18 23:20 (UTC) (edited on 2024-02-18 23:20 (UTC) by OzzyHelix)

here is what I've done I took the PKGBUILD and other files from obs-studio-av1 to get your obs-amf-patch.patch to build the diff between packages will be provided alongside the github repo containing the modified PKGBUILD with the fix. I don't know if this would be a good solution but this would allow your package to build again.

here is the full diff between the packages

then the repo containing the package you can use to fix your aur package

I hope this gets things working again for folks so we can use AMF on our AMD GPUs and I just ask that people take a look at this.

Sincerely Ozzy

OzzyHelix commented on 2024-02-15 03:09 (UTC) (edited on 2024-02-15 03:11 (UTC) by OzzyHelix)

I don't know if this is helpful but this is where the build fails with your PKGBUILD

Installing text-freetype2 to OBS rundir

[ 76%] Built target text-freetype2

[ 76%] Building CXX object plugins/obs-webrtc/CMakeFiles/obs-webrtc.dir/obs-webrtc.cpp.o

[ 76%] Building CXX object plugins/obs-webrtc/CMakeFiles/obs-webrtc.dir/whip-output.cpp.o

/home/ozzy/Downloads/obs-studio-amf/src/obs-studio/plugins/obs-webrtc/whip-output.cpp: In member function ‘void WHIPOutput::ConfigureAudioTrack(std::string, std::string)’:
/home/ozzy/Downloads/obs-studio-amf/src/obs-studio/plugins/obs-webrtc/whip-output.cpp:115:41: error: ‘rtc::AudioRtpPacketizer<48000>::defaultClockRate’ is deprecated: Use DefaultClockRate [-Werror=deprecated-declarations]
  115 |                 rtc::OpusRtpPacketizer::defaultClockRate);
      |                                         ^~~~~~~~~~~~~~~~
In file included from /usr/include/rtc/av1rtppacketizer.hpp:16,
                 from /usr/include/rtc/rtc.hpp:31,
                 from /home/ozzy/Downloads/obs-studio-amf/src/obs-studio/plugins/obs-webrtc/whip-output.h:14,
                 from /home/ozzy/Downloads/obs-studio-amf/src/obs-studio/plugins/obs-webrtc/whip-output.cpp:1:
/usr/include/rtc/rtppacketizer.hpp:53:38: note: declared here
   53 |         inline static const uint32_t defaultClockRate [[deprecated("Use DefaultClockRate")]] =
      |                                      ^~~~~~~~~~~~~~~~
/home/ozzy/Downloads/obs-studio-amf/src/obs-studio/plugins/obs-webrtc/whip-output.cpp:115:41: error: ‘rtc::AudioRtpPacketizer<48000>::defaultClockRate’ is deprecated: Use DefaultClockRate [-Werror=deprecated-declarations]
  115 |                 rtc::OpusRtpPacketizer::defaultClockRate);
      |                                         ^~~~~~~~~~~~~~~~
/usr/include/rtc/rtppacketizer.hpp:53:38: note: declared here
   53 |         inline static const uint32_t defaultClockRate [[deprecated("Use DefaultClockRate")]] =
      |                                      ^~~~~~~~~~~~~~~~
/home/ozzy/Downloads/obs-studio-amf/src/obs-studio/plugins/obs-webrtc/whip-output.cpp:121:39: error: ‘using rtc::OpusPacketizationHandler = class rtc::PacketizationHandler’ is deprecated: Add OpusRtpPacketizer directly [-Werror=deprecated-declarations]
  121 |                 std::make_shared<rtc::OpusPacketizationHandler>(packetizer);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/rtc/rtppacketizer.hpp:79:7: note: declared here
   79 | using OpusPacketizationHandler [[deprecated("Add OpusRtpPacketizer directly")]] =
      |       ^~~~~~~~~~~~~~~~~~~~~~~~
/home/ozzy/Downloads/obs-studio-amf/src/obs-studio/plugins/obs-webrtc/whip-output.cpp: In member function ‘void WHIPOutput::ConfigureVideoTrack(std::string, std::string)’:
/home/ozzy/Downloads/obs-studio-amf/src/obs-studio/plugins/obs-webrtc/whip-output.cpp:152:39: error: ‘using rtc::H264PacketizationHandler = class rtc::PacketizationHandler’ is deprecated: Add H264RtpPacketizer directly [-Werror=deprecated-declarations]
  152 |                 std::make_shared<rtc::H264PacketizationHandler>(packetizer);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/rtc/rtc.hpp:32:
/usr/include/rtc/h264rtppacketizer.hpp:52:7: note: declared here
   52 | using H264PacketizationHandler [[deprecated("Add H264RtpPacketizer directly")]] = PacketizationHandler;
      |       ^~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [plugins/obs-webrtc/CMakeFiles/obs-webrtc.dir/build.make:90: plugins/obs-webrtc/CMakeFiles/obs-webrtc.dir/whip-output.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2035: plugins/obs-webrtc/CMakeFiles/obs-webrtc.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().

OzzyHelix commented on 2024-02-15 03:02 (UTC)

I mostly created my out of AUR temp fix to fix a problem where your package would not build I am hoping that problems with the build of the packages here are resolved

OzzyHelix commented on 2024-02-03 17:56 (UTC) (edited on 2024-02-03 17:57 (UTC) by OzzyHelix)

it seems to be the case that that my patch doesn't work without linux-firmware-git not sure why

OzzyHelix commented on 2024-02-02 18:31 (UTC)

I don't know if if the amdgpu-pro stuff is needed for doing this patch but I added to the PKGBUILD in the temp fix on github as dependencies in particular amf-headers and amf-amdgpu-pro

OzzyHelix commented on 2024-02-02 14:39 (UTC)

if I could find people to test my patch I could confirm issues but idk

OzzyHelix commented on 2024-02-02 14:36 (UTC)

I just confirmed that I need linux-firmware-git for the patch to work I'm not sure why but that seems problematic. I need more people with AMD cards and Arch Linux to test my patch I think

OzzyHelix commented on 2024-02-02 14:32 (UTC)

I uninstalled linux-firmware-git because of a conflict with amd-ucode it might be that for some reason on my machine the patch on works with linux-firmware-git I am currently checking that