1
votes

I'm a neebie to dshow and I'm facing a problem using/understanding infinite tee filter in graphedit. I wanted to try experimenting the tee-filter in a simple graph.

  • So, I have a simple graph with Integrated-Webcam-source and a render-sync. I can see that live webcam feed is rendered in a windows smoothly.
  • Next I add a infinite tee filter in between the source and sync. I'm greeted with pin-compatibility/filter-agreement error message.

enter image description here

Question: Can anyone suggest what could be the reasons the compatibility issue and is there a way to debug this within graph-edit?

Note:

  • I have tried this for experimenting/understanding tee-filter. Ideally I would like to use it for relaying h.264 decode( hardware accelerated) into multiple renders.

Thanks,

Arjun

1

1 Answers

1
votes

Specific to Infinite Pin Tee Filter functionality is that it does not copy data between input and output and just forwards the high level IMediaSample object, and shares it between multiple outputs as needed. This is intentional in order to reduce processing overhead.

Video renderers are on the other hand special filters as well as unlike most other they insist on using their own memory allocator.

This makes these two unable to connect one to another directly and you need an additional filter between them, typically "Color Space Converter" serves the purpose.