Package Details: obs-studio-amf 30.0.2-1

Git Clone URL: https://aur.archlinux.org/obs-studio-amf.git (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: https://obsproject.com
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.35
First Submitted: 2022-09-03 11:22 (UTC)
Last Updated: 2024-01-06 19:10 (UTC)

Required by (142)

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 (https://github.com/obsproject/obs-studio/pull/9179)

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:

https://github.com/obsproject/obs-studio/pull/7206

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

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 12 Next › Last »

Zeioth commented on 2023-12-19 20:22 (UTC)

I can confirm this is working fine now on OBS 30 and the package is not necessary. Note that it requires the AMDGPU driver. https://github.com/obsproject/obs-amd-encoder/issues/397#issuecomment-1863419182

alosarjos commented on 2023-12-11 19:28 (UTC)

@Sandwich The thing is, the AMF patch is not maintained anymore. I think there are already a few amount of obs-studio packages on AUR (Can't believe there ain't others using precompiled stuff...)

There is probably people with the AMF patches still working, and updating OBS would mean removing that as an update, since I'm not capable of rebasing the patches.

Grab the PKGBUILD and keep it, in case of maintaining this, it should be as another package

Sandwich commented on 2023-12-11 10:34 (UTC)

@alosarjos This is the only package that does not require the compilation of packages

cef-minimal-obs-bin ffmpeg-obs

And includes the Linux Browser plugin. I believe because this project includes the precompiled cef.

I was hoping this would stay maintained.

For this time being, then I will take this PKGBUILD and remove the AMF patch to use it personally.

Davius commented on 2023-12-03 11:04 (UTC) (edited on 2023-12-03 11:06 (UTC) by Davius)

Hi maintainer. Here the issue when building the latest snapshot (or cloning) :

[ 16%] Building C object libobs/CMakeFiles/libobs.dir/media-io/video-matrices.c.o
/home/davius/AUR/obs-studio-amf/src/obs-studio/libobs/media-io/media-remux.c: Dans la fonction « init_output »:
/home/davius/AUR/obs-studio-amf/src/obs-studio/libobs/media-io/media-remux.c:110:17: erreur: « av_stream_get_side_data » est obsolète [-Werror=deprecated-declarations]
  110 |                 const uint8_t *const content_src = av_stream_get_side_data(
      |                 ^~~~~
Dans le fichier inclus depuis /home/davius/AUR/obs-studio-amf/src/obs-studio/libobs/media-io/media-remux.c:24:
/usr/include/libavformat/avformat.h:1917:10: note: déclaré ici
 1917 | uint8_t *av_stream_get_side_data(const AVStream *stream,
      |          ^~~~~~~~~~~~~~~~~~~~~~~
/home/davius/AUR/obs-studio-amf/src/obs-studio/libobs/media-io/media-remux.c:114:25: erreur: « av_stream_new_side_data » est obsolète [-Werror=deprecated-declarations]
  114 |                         uint8_t *const content_dst = av_stream_new_side_data(
      |                         ^~~~~~~
/usr/include/libavformat/avformat.h:1902:10: note: déclaré ici
 1902 | uint8_t *av_stream_new_side_data(AVStream *stream,
      |          ^~~~~~~~~~~~~~~~~~~~~~~
/home/davius/AUR/obs-studio-amf/src/obs-studio/libobs/media-io/media-remux.c:126:17: erreur: « av_stream_get_side_data » est obsolète [-Werror=deprecated-declarations]
  126 |                 const uint8_t *const mastering_src = av_stream_get_side_data(
      |                 ^~~~~
/usr/include/libavformat/avformat.h:1917:10: note: déclaré ici
 1917 | uint8_t *av_stream_get_side_data(const AVStream *stream,
      |          ^~~~~~~~~~~~~~~~~~~~~~~
/home/davius/AUR/obs-studio-amf/src/obs-studio/libobs/media-io/media-remux.c:130:25: erreur: « av_stream_new_side_data » est obsolète [-Werror=deprecated-declarations]
  130 |                         uint8_t *const mastering_dst = av_stream_new_side_data(
      |                         ^~~~~~~
/usr/include/libavformat/avformat.h:1902:10: note: déclaré ici
 1902 | uint8_t *av_stream_new_side_data(AVStream *stream,
      |          ^~~~~~~~~~~~~~~~~~~~~~~
cc1 : tous les avertissements sont traités comme des erreurs
make[2]: *** [libobs/CMakeFiles/libobs.dir/build.make:762: libobs/CMakeFiles/libobs.dir/media-io/media-remux.c.o] Error 1

alosarjos commented on 2023-11-28 06:25 (UTC)

@Davius You should have a button on this page that says "Download snapshot". Download the file, extract it and run makepkg -si, that's all you need to build it.

Builds are not uploaded to Arch, if you had it install it's probably it's somewhere on your system cache (Check /var/cache/pacman/pkg)

Not sure if on a system where it can't be built, will run without issues.

Davius commented on 2023-11-28 00:20 (UTC)

Hi maintainer.

I'm sad about the end of AMF. It was a very perfect encoder with very low CPU usage. Today, I saw that latest AMD firmwares are broken (and AMDGPU too in kernel 6.6).

I don't know if new firmwares will work again in the future, but I want to try building the package to keep a backup for a time. "Just in case".

Unfortunately, I'm not able to maintain the patch in the future. But it was a pleasure using this package.

Please, let users who wants to backup to new year:)

Maybe if you can share, if you have it, a link to download the latest built package.zst, because I'm not sure I will be able to build it again.

Thank you for all.

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 (https://github.com/obsproject/obs-studio/pull/9179)

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

firastom commented on 2023-11-10 15:45 (UTC)

the recent amf-amdgpu-pro updates breaks the package i think, but i've tried rolling to older versions of the driver and that doesn't help , obs-amf-test 0123-10-10 17:34:34 21EE9740 [EncodeCore] Error: ./sources/drivers/enc_core/cmn/vcn3commandpacker.cpp(96):system VCN FW Encode interface version=1.29, expected version=1.27 0123-10-10 17:34:34 21EE9740 [EncodeCore] Error: ./sources/drivers/enc_core/cmn/h264config.cpp(404):H264Config::CheckFirmwareVersion(): FirmwareVersion mismatch! 0123-10-10 17:34:34 21EE9740 [AMFEncoderCoreH264] Error: ../../../../../runtime/src/components/EncoderCore/EncoderCoreH264Impl.cpp(196):Assertion failed:Failed to create service! 0123-10-10 17:34:34 21EE9740 [AMFEncoderCoreH264] Error: ../../../../../runtime/src/components/EncoderCore/EncoderCoreH264Impl.cpp(372):AMF_ERROR 1 : AMF_FAIL: Failed to create encode service! 0123-10-10 17:34:34 21EE9740 [AMFEncoderCoreH264] Warning: CreateServices failed. 0123-10-10 17:34:34 21EE9740 [EncodeCore] Error: ./sources/drivers/enc_core/cmn/vcn3commandpacker.cpp(96):system VCN FW Encode interface version=1.29, expected version=1.27 0123-10-10 17:34:34 21EE9740 [EncodeCore] Error: ./sources/drivers/enc_core/cmn/hevcconfig.cpp(237):HevcConfig::CheckFirmwareVersion(): FirmwareVersion mismatch! 0123-10-10 17:34:34 21EE9740 [AMFEncoderCoreHevc] Error: ../../../../../runtime/src/components/EncoderCore/EncoderCoreHevcImpl.cpp(178):Assertion failed:Failed to create service! 0123-10-10 17:34:34 21EE9740 [AMFEncoderCoreHevc] Error: ../../../../../runtime/src/components/EncoderCore/EncoderCoreHevcImpl.cpp(364):AMF_ERROR 1 : AMF_FAIL: Failed to create encode service! 0123-10-10 17:34:34 21EE9740 [AMFEncoderCoreHevc] Warning: CreateServices failed. 0123-10-10 17:34:34 21EE9740 [EncodeCore] Error: ./sources/drivers/enc_core/cmn/av1config.cpp(224):Av1Config::IsEncodeSupported(): Unknown Hardware! 0123-10-10 17:34:34 21EE9740 [AMFEncoderCoreAv1] Warning: AMFEncoderCoreAv1Impl::CreateEncodeService() not supported VCN instance 0! 0123-10-10 17:34:34 21EE9740 [AMFEncoderCoreAv1] Error: ../../../../../runtime/src/components/EncoderCore/EncoderCoreAv1Impl.cpp(337):AMF_ERROR 1 : AMF_FAIL: Failed to create encode service! 0123-10-10 17:34:34 21EE9740 [AMFEncoderCoreAv1] Warning: CreateServices failed. 0123-10-10 17:34:34 21EE9740 [AMFEncoderCoreAv1] Warning: *Failed to create AV1 encoder component. [0] is_amd=true supports_avc=false supports_hevc=false supports_av1=false

alosarjos commented on 2023-08-05 15:42 (UTC)

@wildmko and everyone. Looks like nowrep fixed the VAAPI way to get the same quality as the AMF: https://github.com/obsproject/obs-studio/pull/9179

So probably this package will die once the next OBS version is released. No longer depending on those pesky amgpu-pro packages will be great and probably new 6000 and 7000 series GPUs won't have any issues!

It was fun to package this.

wildmko commented on 2023-07-17 03:39 (UTC)

Was there any reason why the branch for this patch was deleted? Is it no longer needed?