如何以编程方式更改过滤器属性?
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.
见:
这篇关于如何更改 Directshow 过滤器属性 C++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
读取输入文件,最快的方法?read input files, fastest way possible?(读取输入文件,最快的方法?)
在 C++ 中读取格式化输入的最简单方法?The easiest way to read formatted input in C++?(在 C++ 中读取格式化输入的最简单方法?)
从 .txt 文件读取到 C++ 中的二维数组Reading from .txt file into two dimensional array in c++(从 .txt 文件读取到 C++ 中的二维数组)
如何在 C++ 中模拟按键按下How to simulate a key press in C++(如何在 C++ 中模拟按键按下)
为什么在 cin.ignore() 之后没有 getline(cin, var) 读取Why doesn#39;t getline(cin, var) after cin.ignore() read the first character of the string?(为什么在 cin.ignore() 之后没有 getline(cin, var) 读取
scanf 格式输入的 cin 类比是什么?What is the cin analougus of scanf formatted input?(scanf 格式输入的 cin 类比是什么?)