-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Failed to use h264_amf encoder #1342
Comments
It might be because of this? Can you try removing the extra encoding options in the table below? |
Nope, after removing the extra options, and setting rc_max_rate to avoid the [warning]
|
There's very little information that log info provides. A quick search shows it might be an issue related to your GPU's driver: LizardByte/Sunshine#1559 Can you try updating your driver to the latest available version? |
My GPU driver is already up to date.
It works fine.
This is not a big problem for me, maybe I will try again in a few months when you update the ffmpeg library in your program. |
Can you test with FFmpeg 7.1 instead? That's the one Video2X is using. It was the latest available when I built 6.4.0. It's still the latest release. |
ffmpeg 7.1 does not support AMD decoder, so I changed the first "-c:v" option,
|
Thanks for testing it. I think FFmpeg might be doing something special for AMF or following some rules I don't know. The last thing we could try here is that you can set the logging level to debug and run it again. That'll provide a bit more information. If I still can't figure out what's going on at that point, I'd say it's out of my reach. |
OMG, I should have turned on debug earlier.
It looks like the size after upscaling is beyond AMF capability even I selected 2x upscale. |
Oh nice to hear you found the issue. No worries, at least this thread will help anyone else that also run into this problem. Closing now. |
I'm using Video2X Qt6 6.4.0 for upscaling.
libx264 works fine. But I was wondering if I could speed it up.
So I changed the codec to h264_amf (My GPU is AMD RX 7900 GRE)
Other Settings are left as default.
And it failed. Here is the log:
The text was updated successfully, but these errors were encountered: