将视频渲染为 Direct3D 9.0c 纹理
我一直在尝试在 Direct3D 应用程序中播放视频,并且一直在 DirectShow 的帮助下尝试这样做。我的问题是我找不到如何将帧数据放入纹理中(ISampleGrabber 不会安装)。
有谁知道这样做的任何方法或例子?
I have been trying to play a video in my Direct3D application and have been trying to do so with the help of DirectShow. My problem is that I cannot find how to get the frame data to put into a texture (ISampleGrabber won't install).
Does anyone know of any methods or examples of this being done?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ISampleGrabber
适用于过去 15 年以上发布的所有 Windows 版本。更新。尽管 Sample Grabber 在 Windows 的许多版本中都存在,但它最终与最新版本的操作系统(特别是 Windows Server 2008)中
qedit.dll
托管的其他过滤器一起被删除。那些应用程序依赖于此 API 的用户应考虑使用旧 SDK 中的 Grabber 示例构建替代品。这同样适用于那些需要此过滤器的人,因为互联网上有很多关于如何使用它来访问媒体流的参考资料和教程。过滤器被悄无声息地移除,没有任何更换。 Microsoft 建议 Media Foundation 是 DirectShow 的替代选项和继承者,但这几乎没有帮助。
ISampleGrabber
is available in all versions of Windows released last 15+ yearsUPDATE. Even though Sample Grabber existed though many many versions of Windows, it was finally removed along with other filters hosted by
qedit.dll
in most recent versions of operating systems (Windows Server 2008 in particular). Those whose application are dependent on this API, should consider building a replacement using Grabber sample from older SDKs. The same applies to those needing this filter because of so many references on Internet and tutorials on how to use it to get access to media streams.The filter was removed silently and without any replacement. Microsoft suggests that Media Foundation is an alternate option and successor to DirectShow, which is however hardly helpful.