Has anyone any code examples on how to set the properties of the 'Constant Framerate Converter' DMO filter. I am using it in a graph and wish to programmatically control output framerate. When I try to access IAMStreamConfig, it errors.发布于 2011-09-29 17:05:03
您可能指的是Frame Rate Converter DSP。问题是,它不是一个完整的DirectShow过滤器,也根本不是一个DirectShow组件。它是一种具有双DMO/MFT接口的Digital Signal Processor。
DirectShow提供了一个包装器来包装DMO并使其在DirectShow环境中可用,但是这些DMO在设计时并没有考虑到这一点。要在DirectShow中使用它们,您很可能需要自己的自定义包装器过滤器。
而且没有可用的IAMStreamConfig接口,你应该使用IPropertyStore --这是设计好的行为。
https://stackoverflow.com/questions/6442546
复制相似问题