Microsoft StreamBufferEngine 支持两个源到一个接收器吗?
是否可以让一个 Stream Buffer Sink 为两个 Stream Buffer Source 提供数据?我想做的是三张图表。第一个是我的捕获图,输入到流缓冲区接收器中。第二个是使用流缓冲区源的预览图。然后,我想要一个带有样本采集器的独立图表,用于获取也与接收器相关的图像,但我可以独立于视频预览进行搜索。
这可能吗?我最初的测试效果不佳。
谢谢,
大卫
Is it possible to have a single Stream Buffer Sink feed two Stream Buffer Source's? What I would like to do is have three graphs. The first is my capture graph, feeding into a Stream Buffer Sink. The second is a preview graph using a Stream Buffer Source. I then want an independent graph with a sample grabber for getting images out also tied to the sink, but that I can seek indepently of the video preview.
Is this possible? My initial testing has not been working well.
Thanks,
David
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我想你可能会使用类似 GMFBridge 的东西。这是一个 API,可以将数据从一个图表传输到另一个图表。例如,您可以创建一个如下所示的图表:
通过此设置,您可以启动和停止预览图表和示例采集图,如您所愿。
-斯韦因
I'm think you might use something like the GMFBridge. This is an API that makes it possible to transfer data from one graph, to another. You could for instance create a graph looking like this:
With this setup, you can start and stop the preview graph and samplegrabber graph as you'd like.
-Svein
是的。这是可能的。例如,我们的应用程序使用一项服务通过 SBE 接收器过滤器进行记录,然后 UI 使用 SBE 源过滤器进行显示。另一项服务使用 SBE 源过滤器的另一个实例提供通过 SBE 接收器过滤器记录的相同数据的网络流。
Yes. This is possible. For example, our application uses a service to record via the SBE sink filter which the UI then displays using the SBE source filter. Another service provides a network stream of the same data recorded via the SBE Sink filter using another instance of the SBE Source filter.