DirectShow 如何管理默认过滤器?
当我使用 DirectShow 渲染媒体文件(允许 DirectShow 自动构建图形)时,我看到 DirectShow 有一组使用的默认过滤器。我还观察到安装第 3 方过滤器可能会更改一些默认过滤器(通常第 3 方将自己的过滤器设置为默认值)。 我想知道默认过滤器是如何管理的(注册表?)以及如何更改它们?如何使某个过滤器默认使用?
谢谢, 艾丽莎
When I render a media file with DirectShow (allowing DirectShow to build the graph automatically) I see that DirectShow has a set of default filters it uses. I also observed that installing 3rd party filters may change some default filters (usually 3rd parties set their own filters as default).
I was wondering how the default filters are managed (registry?) and how can I change them? How to cause a certain filter to be used by default?
Thanks,
Aliza
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
DirectShow 中不存在“默认”过滤器之类的东西。相反,有一个优点系统:每个过滤器注册都提供了过滤器的优点。当 fitler graph 渲染 pin 和流时,它首先尝试具有更高优点的过滤器。
有关更多信息,请访问 MSDN:
There is no such exactly thing as "default" filters in DirectShow. There is a merit system instead: each filter registration is provided with a merit for a filter. When fitler graph renders pins and streams, it starts with trying filters with higher merits.
See more at MSDN: