开发者

Microsoft StreamBufferEngine support two sources to one sink?

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 i开发者_运维知识库ndependent 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


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:

Microsoft StreamBufferEngine support two sources to one sink?

With this setup, you can start and stop the preview graph and samplegrabber graph as you'd like.

-Svein


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜