-
Notifications
You must be signed in to change notification settings - Fork 118
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 other HW Accel #42
Comments
Hi, thanks for the suggestion. I will work on this. |
I released an update for you to test. Press the arrow button in Axiom to update through PowerShell, or download from here A few issues with I'm using the and x265 https://trac.ffmpeg.org/wiki/Hardware/QuickSync Examples Works
Doesn't Work
|
...what about hwaccel auto ? |
@forart I did not know it exists, I will add it in the next update soon. |
@forart For But when converting
I'm not able to test it properly with my hardware. I'll add |
Hello Matt, thanks for the support. Everything was fine, only This was the result of my tests on one input with 15.1 MB with different HW/A options
But I think should not change the video codec (-c:v) but, just enough to set |
Thanks for the info, I will change I'm planning to split the HW Accel options into 2 menus, |
Thanks, but I don't have enough knowledge to comment on this case :) |
Seems an FFMPEG's bug. Here's an interesting (verbose) discussion about FFMPEG hw encode: |
@mjebrahimi @forart I've released an update with some new options:
These changes could introduce new bugs, you will have to test it out and let me know how it works. Certain HW Accel options may need the required Intel/Nvidia/AMD hardware. |
All Transcode options with Decode: CUDA gives an error for me. Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0
Conversion failed! This is output script for decode CUDA and transcode off or auto that gives error. -hwaccel cuda -hwaccel_output_format cuda
-c:v libx264 |
Can you find the correct options that work and post the script? https://trac.ffmpeg.org/wiki/HWAccelIntro#NVDECCUVID Sample decode using CUDA:
Full hardware transcode with NVDEC and NVENC:
I'm not able to test it with my setup, I get the error:
|
I was only able to get the correct result from the below script (no full hardware transcode - by removing
|
I will change it in an update. Does the Info I could find on https://gist.github.com/Brainiarc7/95c9338a737aa36d9bb2931bed379219
|
Yes, it works well. @MattMcManis , I don't know enough about ffmpeg hwaccel, but if you want, I can give you access to my machine (via AnyDesk or etc...) to test different scripts as you wish. |
Thanks, I'll let you know if needed. I've released an update for |
Run button doesn't show any reaction anymore in v1.8.3-alpha ?! But script for CUDA is OK now 👍. |
Are you sure? It is working for me. I added support for CMD and PowerShell in the last update. |
If you want to, open a separate Issue for the Run button. I am looking into it, trying to optimize the code and find bugs, but I'm unable to reproduce the error. Let's keep this thread for HW Accel. |
Of course, I opened a new issue and explained the cause of the problem. Thanks again for your support on HW Accel. |
I found a problem with Intel QSV. https://trac.ffmpeg.org/wiki/Hardware/QuickSync It says "ICQ mode (which is similar to crf mode of x264)" I've fixed quite a few bugs and added some new features in v1.8.6.0. |
It looks like none of the HW Accel codecs will work properly with CRF, they all have their own arguments. I will have to make a system for the CRF slider that automatically converts the values into |
As posted in the above FastFlix "issue", I found some interesting resouces for qsv encodes/filters:
Hope that helps/inspires ! |
OK, seems the (greatest ?) hardware accelerated video encoders expert is @Brainiarc7 here. I believe he could help us to understand better how to create a right commandline for FFMPEG encodings. |
Sure, I'll take a look at the thread.
…On Sat, 3 Apr 2021 at 13:03, Marco Ravich ***@***.***> wrote:
OK, seems the (greatest ?) hardware accelerated video encoders expert is
@Brainiarc7 <https://github.com/Brainiarc7> here.
I believe he could help us to understand better how to create a right
commandline for FFMPEG encodings.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR7NB6VHUJQVHLVMZNVORDTG3RYBANCNFSM4M4ZS33A>
.
|
Add support for other HW Accel such as:
The text was updated successfully, but these errors were encountered: