Skip to content
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

Enable d3d12va #2715

Open
gitoss opened this issue Jun 13, 2024 · 2 comments
Open

Enable d3d12va #2715

gitoss opened this issue Jun 13, 2024 · 2 comments

Comments

@gitoss
Copy link

gitoss commented Jun 13, 2024

This is trivial, but I'm not versed in creating PR (sorry): ffmpeg now has is support for d3d12va video decoding - see the the d3d12va files in https://github.com/FFmpeg/FFmpeg/tree/master/libavcodec

By default, dxva2, d3d11va and d3d12va are set to autodetect: https://github.com/FFmpeg/FFmpeg/blob/master/configure

But esp. if compiling for generic systems it makes sense to explicity enable it just like dxva2 and d3d11va in the bat (ffmpeg_options_builtin= line).

From https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=9044
"With the Direct3D 12 video decoding support, we can render or process the decoded images by the pixel shaders or compute shaders directly without the extra copy overhead, which is beneficial especially if you are trying to render or post-process a 4K or 8K video."

@L4cache
Copy link
Contributor

L4cache commented Jun 16, 2024

Just enable it in ffmpeg_options.txt

@gitoss
Copy link
Author

gitoss commented Jun 16, 2024

Just enable it in ffmpeg_options.txt

Sure, I just posted this ticket so other people don't have to, but it make it into the original source (even w/o a pr from me).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants