问题描述
如何以编程方式更改过滤器属性?
How to change Filter Properties programmatically?
我正在使用过滤器 AAC 编码器,我可以在 graphedit 中通过右键单击过滤器并输入比特率值.
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.
推荐答案
您可以通过特定于过滤器的私有接口执行此操作.您需要参考过滤器文档或 SDK 以获取详细信息(VSS 技术支持).有时可以从类型库中获取必要的信息.
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.
见:
- 远程控制过滤器中的变量
- 没有属性页,如何我可以通过代码输入值吗?
- 定义机制在 MSDN 上设置属性
这篇关于如何更改 Directshow 过滤器属性 C++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)