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.51
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 »

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?

mesmer commented on 2023-07-10 16:52 (UTC)

the autor deleted the branch for this patch :( it means this will be off sync very easily

alosarjos commented on 2023-07-05 19:30 (UTC)

@ingandresgamer Go to Settings -> Output -> Advance Mode and use AMD HW H.264 (AVC) as encoder

ingandresgamer commented on 2023-07-05 14:33 (UTC)

Thanks.. this help me to start obs and use my RX6600 without problems.

Currently i'm capable of start obs, seen the log of the terminal at start i get the following error/warnings related to AMFEncoderCoreAv1

info: [obs-browser]: Version 2.21.1 info: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures_143.2591+g4204d54+chromium-103.0.5060.134 (compiled) 0123-06-05 09:21:39 C6B5F740 [AMFEncoderCoreBaseImpl] Warning: Failed to QueryThroughput()! 0123-06-05 09:21:39 C6B5F740 [AMFEncoderCoreBaseImpl] Warning: Failed to QueryThroughput()! 0123-06-05 09:21:39 C6B5F740 [EncodeCore] Error: ./sources/drivers/enc_core/cmn/av1config.cpp(224):Av1Config::IsEncodeSupported(): Unknown Hardware! 0123-06-05 09:21:39 C6B5F740 [AMFEncoderCoreAv1] Warning: AMFEncoderCoreAv1Impl::CreateEncodeService() not supported VCN instance 0! 0123-06-05 09:21:39 C6B5F740 [AMFEncoderCoreAv1] Error: ../../../../../runtime/src/components/EncoderCore/EncoderCoreAv1Impl.cpp(337):AMF_ERROR 1 : AMF_FAIL: Failed to create encode service! 0123-06-05 09:21:39 C6B5F740 [AMFEncoderCoreAv1] Warning: CreateServices failed. 0123-06-05 09:21:39 C6B5F740 [AMFEncoderCoreAv1] Warning: *Failed to create AV1 encoder component. error: VAAPI: Failed to initialize display in vaapi_device_h264_supported info: FFmpeg VAAPI H264 encoding not supported error: VAAPI: Failed to initialize display in vaapi_device_hevc_supported info: FFmpeg VAAPI HEVC encoding not supported info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.2.3 | RPC Version: 1) info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.5.1 | Qt version (run-time): 6.5.1 info: [obs-websocket] [obs_module_load] Linked ASIO Version: 102800 info: [obs-websocket] [obs_module_load] Module loaded.

There is some work around?.. how to know if you are currently using AMD-GPU Hardawre to encode.. if you get that error, at obs start?

CupricReki commented on 2023-06-22 21:58 (UTC) (edited on 2023-06-22 21:59 (UTC) by CupricReki)

Hardware acceleration isn't working for me:

[EncodeCore]   Error: ./sources/drivers/enc_core/cmn/vcn3commandpacker.cpp(96):system VCN FW Encode interface version=1.26, expected version=1.27
[EncodeCore]   Error: ./sources/drivers/enc_core/cmn/h264config.cpp(404):H264Config::CheckFirmwareVersion(): FirmwareVersion mismatch!
[AMFEncoderCoreH264]   Error: ../../../../../runtime/src/components/EncoderCore/EncoderCoreH264Impl.cpp(196):Assertion failed:Failed to create service!
[AMFEncoderCoreH264]   Error: ../../../../../runtime/src/components/EncoderCore/EncoderCoreH264Impl.cpp(372):AMF_ERROR 1 : AMF_FAIL: Failed to create encode service!
[AMFEncoderCoreH264] Warning: CreateServices failed.
[EncodeCore]   Error: ./sources/drivers/enc_core/cmn/vcn3commandpacker.cpp(96):system VCN FW Encode interface version=1.26, expected version=1.27
[EncodeCore]   Error: ./sources/drivers/enc_core/cmn/hevcconfig.cpp(237):HevcConfig::CheckFirmwareVersion(): FirmwareVersion mismatch!
[AMFEncoderCoreHevc]   Error: ../../../../../runtime/src/components/EncoderCore/EncoderCoreHevcImpl.cpp(178):Assertion failed:Failed to create service!
[AMFEncoderCoreHevc]   Error: ../../../../../runtime/src/components/EncoderCore/EncoderCoreHevcImpl.cpp(364):AMF_ERROR 1 : AMF_FAIL: Failed to create encode service!
[AMFEncoderCoreHevc] Warning: CreateServices failed.
[EncodeCore]   Error: ./sources/drivers/enc_core/cmn/av1config.cpp(224):Av1Config::IsEncodeSupported(): Unknown Hardware!
[AMFEncoderCoreAv1] Warning:  AMFEncoderCoreAv1Impl::CreateEncodeService() not supported VCN instance 0!
[AMFEncoderCoreAv1]   Error: ../../../../../runtime/src/components/EncoderCore/EncoderCoreAv1Impl.cpp(337):AMF_ERROR 1 : AMF_FAIL: Failed to create encode service!
[AMFEncoderCoreAv1] Warning: CreateServices failed.
[AMFEncoderCoreAv1] Warning: *****Failed to create AV1 encoder component.
[0]
is_amd=true
supports_avc=false
supports_hevc=false
supports_av1=false