使用 Windows 媒体基础
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2906655/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Using Windows media foundation
提问by Martin Beckett
Ok so my new gig is high performance video (think Google streetview but movies) - the hard work is all embedded capture and image processing but:
好的,所以我的新演出是高性能视频(想想谷歌街景但电影) - 艰苦的工作都是嵌入式捕获和图像处理,但是:
I was looking at the new MS video offerings to display content = Windows Media Foundation.
我正在查看新的 MS 视频产品以显示内容 = Windows Media Foundation。
Is anyone actually using this ?
真的有人在用这个吗?
- There are no books on the topic.
- The only documentation is a developer team blog with a single entry 9 months old.
- I thought we had got past having to learn an MS api by spying on the com control messages!
- Is it just another wrapper around the same old activeX control?
- 没有关于该主题的书籍。
- 唯一的文档是一个开发团队博客,其中有一个 9 个月前的条目。
- 我以为我们不必通过监视 com 控制消息来学习 MS api!
- 它只是同一个旧的 ActiveX 控件的另一个包装器吗?
采纳答案by Kirill V. Lyadvinsky
Did you read Media Foundation Programming Guide? It looks pretty complete.
你读过媒体基础编程指南吗?它看起来很完整。
回答by AndrewJS
I read the Media Foundation Programming Guide, and it's as complete as everything else is w/ MS, in that you have all the information you need, no clue on how to find it, and no idea what's important when.
我阅读了 Media Foundation Programming Guide,它与带 MS 的其他所有内容一样完整,因为您拥有所需的所有信息,但不知道如何找到它,也不知道什么时候重要。
I'm trying to use MMF, but I'm currently not getting anywhere, and am thinking that going back to DirectShow might be the better approach as there is more example code with explanations.
我正在尝试使用 MMF,但我目前一无所获,并且我认为返回 DirectShow 可能是更好的方法,因为有更多带有解释的示例代码。
No, it does notappear to be just another wrapper around the same ActiveX controls.
不,它不会似乎是围绕同一ActiveX控件只是一个包装。
回答by Sandeep Bhat
To get started with Media Foundation you might want to read this.Media Foundation was first introduced in Windows Vista. Thus, you must have Vista or later versions of Windows to develop Media Foundation apps. If you are targeting Windows XP users then, D-Show might be a better option.
要开始使用 Media Foundation,您可能需要阅读此内容。Media Foundation 最初是在 Windows Vista 中引入的。因此,您必须拥有 Vista 或更高版本的 Windows 才能开发 Media Foundation 应用程序。如果您的目标是 Windows XP 用户,那么 D-Show 可能是更好的选择。