使用D3D渲染视频到纹理 [英] Using D3D render a video to texture
问题描述
我发现使用Microsoft.DirectX.AudioVideoPlayback 是这个问题的解决方案。但是我无法使用它,我的代码是用c / c ++。我还发现Media Foundation可以解码视频并生成纹理数组,可以在
中看到
http://msdn.microsoft.com/en-us/library/windows /desktop/hh162912(v=vs.85).aspx 。我下次怎么办?它的样本在哪里?
谢谢
此示例应该让你漂亮关闭
I hava found using Microsoft.DirectX.AudioVideoPlayback is solution for this problem. But I can't use it , My code is in c/c++.I also found the Media Foundation can decode the video and generate the texture array, which can be see in the http://msdn.microsoft.com/en-us/library/windows/desktop/hh162912(v=vs.85).aspx. How can I do next ? Where is a sample for it?
Thank you
This sample should get you pretty close
http://code.msdn.microsoft.com/DirectX-11-Video-Renderer-0e749100
这篇关于使用D3D渲染视频到纹理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!