Comments (5)
Hello.
From the doc : DXVAHD_CreateDevice :
E_NOINTERFACE : The Direct3D device does not support DXVA-HD.
It seems your GPU does not support DXVA-HD. A workaround could be to use IDirectXVideoProcessor instead of IDXVAHD_VideoProcessor :
What's your GPU ?
from h264dxva2decoder.
Indeed, it's an AMD Radeon RX 5600 XT, it probably doesn't support it.
I guess this it it: https://stackoverflow.com/questions/60567404/video-rendering-on-windows-when-dxva-hd-is-not-available
from h264dxva2decoder.
Hello.
I've added H264Dxva2DecoderSourceCodeForAtiCard.7z in SourceCodeForAtiCards directory. It is a quick implementation. Could you give me feedback. Thank you.
from h264dxva2decoder.
It works fine now.
It's interesting to note (on my PC), it takes around 35% of the GPU while when I use Windows 10's basic "Movies & TV" app, it runs at around 13% GPU (but takes an extra 5% off dwm.exe).
Also, 35% is roughly the same usage as for the old "Windows Media Player" as well as VLC.
from h264dxva2decoder.
Thank you.
I suppose Windows 10 uses ID3D11VideoDecoder or ID3D12VideoDecoder, instead of IDirectXVideoDecoder.
Here is a way to improve performance : direct3d-9ex-improvements.
If GPU only supports DirectX9, perhaps the technic above is used.
Also in Dxva2Renderer.cpp could you replace all :
IF_FAILED_THROW(m_pDevice9Ex->Present(NULL, NULL, NULL, NULL));
with :
IF_FAILED_THROW(m_pDevice9Ex->PresentEx(NULL, NULL, NULL, NULL, 0));
and send me feedback about GPU usage, thank you.
from h264dxva2decoder.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h264dxva2decoder.