Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

Using the ID3D11VideoDecoder API with AVC/H.264

$
0
0

I am trying to get AVC/H264 decoding using the DX11 Video Decoding APIs working. Are there any code samples on how to correctly feed the DXVA2 structures into the buffers to get a correct output image? After days of fiddling around with SPS/PPS information stuffed into DXVA structs i got _some_ image output. But it's flickering and has tons of decoding artifacts.

The only information i found was on DXVA2 in ffmpeg and an MSDN article on how to use the API in general (to implement a MediaFoundation Filter). Then there's a MS PDF on DXVA2. 

Quite interessting that nobody seems to use it - at least in open source projects - while all GPU vendors implement in their drivers...

Any help or hints appreciated.

All the best,

Stephan


Viewing all articles
Browse latest Browse all 1079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>