obsproject / obs-amd-encoder

AMD Advanced Media Framework Encoder Plugin for Open Broadcaster Studio
https://obsproject.com/forum/threads/amd-advanced-media-framework-encoder-plugin-for-obs-studio.52305/
GNU General Public License v2.0
454 stars 87 forks source link

[tracker] Linux support in 2020. #397

Closed RarogCmex closed 2 months ago

RarogCmex commented 4 years ago

Description

The complete Linux support (all distribution). Gentoo linux e.g. AMF is open-source and supports Linux now https://github.com/GPUOpen-LibrariesAndSDKs/AMF

System Information

rarogcmex@RarogCmexEngine ~ $ uname --all Linux RarogCmexEngine 5.4.6-ck-RarogCmex #3 SMP PREEMPT Sun Jan 12 19:40:04 +05 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux

Checklist:

RarogCmex commented 4 years ago

Please don't close its because it should be used as tracker for all Linux-related things

Xaymar commented 4 years ago

Linux support is not planned for this project. Please use alternatives like ffmpeg and VAAPI instead, which have much wider support.

Xaymar commented 4 years ago

See #335, #361. Unless someone else picks up Linux integration, nothing will change with that plan.

RarogCmex commented 4 years ago

Ok, so we should wait. Well, but alternative -- obs ffmpeg encoder is dead, isnt it? I couldn't get it working.

Xaymar commented 4 years ago

obs-ffmpeg-encoder is merged into obs-streamfx. It still needs work, but at the moment I am prioritizing paid work and secret projects.

ogmkp commented 3 years ago

Agree too, we need AMF plugin for Linux, because (or I don't know how to) we can't set preset profiles (quality, balanced, speed) in VAAPI way on OBS for a great video encoding offload.

phaitonican commented 3 years ago

Please someone add AMF, FFMPEG seems only record 1080p30fps on my mid range amd gpu.

SchrodingerZhu commented 3 years ago

any update recently?

cprn commented 9 months ago

There's obs-studio-amf package that used to work like a month or two ago but I just tried it and it doesn't compile. I didn't try to just bump up versions in PKGBUILD file because of the AUR comment:

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.

So it sounds like if someone was to update the patch for OBS 30, it'd be working.

I tried OBS 30 without the patch with ffmpeg-obs and it works fine, I can record with HEVC Main and Main10 through VAAPI without issues - it's in Advanced view only, doesn't show in Simple.

ogmkp commented 8 months ago

That would be interesting, there's already nvenc. The AMF encoder is only available with the amdgpupro driver while the free amdgpu driver is equally powerful or faster. Is there really a benefit over VAAPI (cpu, gpu, bus loads)?

Zeioth commented 8 months ago

I've tested recording a video on arch Linux with AMF using the closed source AMD driver AMDGPU and it records correctly on OBS

sudo pacman -S obs-studio
or 
paru -S obs-studio-git

screenshot_2023-12-19_21-17-19_359222515

screenshot_2023-12-19_21-15-36_062031893

More info

What doesn't work yet

3laws commented 7 months ago
AMD_VULKAN_ICD=RADV-PRO VK_ICD_FILENAMES=/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd64.json obs

Not working with 30.0.2-2, neither with git. Also running hyprland.

image

cprn commented 7 months ago

On Arch based distros there's AUR package obs-studio-av1 that brings a patched version of latest OBS Studio, it supports FFmpeg AV1. Works fine on open driver.

mirh commented 7 months ago

Since tuesday that's no longer necessary with obs-studio-git

RytoEX commented 2 months ago

This repository is being archived. All Issues are being closed. Thank you for understanding.