Jump to content

Seeking for help for AMD GPU usage with ffmpeg

Hi, just made my account to seek for help after digging ~5 hrs into solving the problem...

I installed the AMF enabled ffmpeg, following exactly how the Github instruction said, and compiled ffmpeg without issues. Driver Linux · GPUOpen-LibrariesAndSDKs/AMF Wiki (github.com)

However, things are getting tricky when I try to use the h264_amf flag. As someone had also raised an issue here [Bug]: AMF failed to initialize on the default Vulkan device: 1 on Ubuntu 22.04 · Issue #358 · GPUOpen-LibrariesAndSDKs/AMF (github.com),

I encountered this issue as well. I did a fresh install on my machine, Minisforum UM780 XTX (7840HS, Radeon 780M GPU). At the end of the day so sad nothing seems to be working with AMD... Tried AMF and VDPAU.

Essentially, I want to use it to convert videos to m3u8 for streaming services, and I used the following command for testing. The result is attached,

`ffmpeg -hwaccel auto -i input.mp4 -c:v h264_amf output.mp4`

Screenshot2024-03-23003703.thumb.png.d134abc7994f4d1ae39c46fc66900eb6.png

Would be appreciated if any help could be offered. Cheers.

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×