使用D3D渲染视频到纹理 [英] Using D3D render a video to texture

查看:495
本文介绍了使用D3D渲染视频到纹理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现使用Microsoft.DirectX.AudioVideoPlayback 是这个问题的解决方案。但是我无法使用它,我的代码是用c / c ++。我还发现Media Foundation可以解码视频并生成纹理数组,可以在
中看到
http://msdn.microsoft.com/en-us/library/windows /desktop/hh162912(v=vs.85).aspx
。我下次怎么办?它的样本在哪里?


谢谢

解决方案

此示例应该让你漂亮关闭


http://code.msdn.microsoft。 COM / DirectX的11-视频渲染器-0e749100


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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆