在 Directshow DMO“Constant FrameRate Conveter”中设置属性在 C# 中
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.
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能指的是帧速率转换器DSP。问题是它不是一个完整的 DirectShow 过滤器,并且基本上根本不是一个 DirectShow 组件。它是一个数字信号处理器双 DMO/MFT 接口。
DirectShow 提供了一个包装器来包装 DMO 并使它们在 DirectShow 环境中可用,但这些 DMO 是在没有考虑到这一点的情况下制作的。要在 DirectShow 中使用它们,您很可能需要自己的自定义包装过滤器。
并且没有可用的 IAMStreamConfig 接口,您应该使用 IPropertyStore - 这是设计的行为。
You perhaps mean Frame Rate Converter DSP. The thing is that it is not a full DirectShow filter, and is not basically a DirectShow component at all. It is a Digital Signal Processor with dual DMO/MFT interface.
DirectShow provides a wrapper to wrap DMOs and make them available in DirectShow environment, but these DMOs are made without this thought in mind. To use them in DirectShow you most likely need your own custom wrapper filter.
And there is no IAMStreamConfig interface available, you should be using IPropertyStore - this is behavior by design.