本文介绍了如何更改DirectShow过滤器属性C ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何以编程方式更改过滤器属性?
我使用过滤器 AAC encoder
通过右键单击过滤器并输入 bitrate bitrate
c $ c> value。
是否可以通过代码做同样的事情?
解决方案
您可以通过专用的过滤器专用接口来实现。您需要参阅过滤器文档或SDK,以获取有关详情()。
How to change Filter Properties programmatically?
I am using a filter AAC encoder
, and I can manually change its bitrate
in graphedit
by right clicking on the filter and entering the bitrate
value.
Is it possible to do the same through code?
Please give me valuable suggestions and if possible with code.
解决方案
You do this via private filter-specific interface. You need to refer to filter documentation or SDK to get details on this (VSS Tech Support). Sometimes you can obtain the necessary information from type library.
See:
- Controlling variables in filter remotely
- with out property page, How can I input a value through codes?
- Define a Mechanism for Setting the Property on MSDN
这篇关于如何更改DirectShow过滤器属性C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!