-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for AMD AMF hardware encoding on Windows & Linux #2251
Conversation
It's worth to note that amf is also supported under Linux with closed drivers and soon enough should be with the open drivers too. |
Sure. Since I often encounter strange errors when transcoding using the mesa open source driver VAAPI, I am currently trying to use AMF to replace it. Just learned that you need to install 'amf-amdgpu-pro' after installing the closed source driver. It seems that few people use AMF on Linux now. |
Yeah, vaapi for amd is not good plus apparently no one really cares about fixing it [ amf might be the reason ] I've opened related issue #1527 some time ago and decided that fixing it is not worth it because of the amf |
I use h264_amf encoder in ffmpeg on manjaro to output video successfully with vaapi hardware acceleration. It should be noted that currently hevc_amf does not support Linux platforms. ffmpeg logs here |
1) h264_amf is now supported on linux with 'amdgpu-pro' installed and '--enable-amf' when compiling ffmpeg. 2) Using vaapi decode and h264_amf encode on linux platform can avoid some weird transcoding errors in h264_vaapi with amd gpu.
@nyanmisaka does hevc 10bit transcode to h264 via amf without any issues? I can't test closed driver really with my distro. |
no issues anymore. jellyfin can recognize amf encoder as well. |
@nyanmisaka can you add some text to our docs which explains how to enable AMF in the system? And probably an issue at |
Once I have time I will add some AMD AMF instructions in the docs. It seems that only linux platform jellyfin-ffmpeg has not added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
how to enable amf encoder in windows? using 20200228 nightly still shows 0% for video encode. |
Please post your ffmpeg logs and gpu model for further diagnosis. |
https://github.com/goldzy123/uptest/blob/master/123.png amd 2200g cpu,vega8 gpu,winserver 2019. radeon software 19.3.2 |
Seems like you are using version 10.4.3? Try using the version here without overwriting the older installation. |
thank u for your help, i have updated to 10.5.0. Log shows : I think it's a driver issue now, amd's radeon driver doesnt support win server officially. 20200302update: |
Thanks for the feature! Has anyone had any luck setting this up on Linux? Docker? Found this PR in ffmpeg which might help someone: https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/f8ad2ddd7a51df5d6e768ba2a6f65ee64b94e29b. |
See this #2473 AMF does support both Windows and Linux. |
Hello @nyanmisaka can you help me? I'm having problems decoding with AMD AMF in windows. Headless server runing Windows 10 Pro, AMD drivers 20.4.2 and Jellyfin 10.5.5 |
Changes
It works like this on windows now.
ffmpeg h264_amf on linux encoding succeed logs
Fixes
issue #1420