Menu

Retrieving active graphs, access overlay

georgiosd
2009-09-01
2012-10-20
  • georgiosd

    georgiosd - 2009-09-01

    Hello everyone,

    I want to access the video drawn on the screen without having access to the Directshow drawing code (closed source) and so:

    • How can I retrieve any active DirectShow graphs? Assuming that the graphs are running, how can I grab any of the data being passed along?

    • A different way - how can I access the frames drawn on the hardware/software overlay by direct access to the framebuffer? Is there such a
      method?

    Thanks, I look forward to your replies.

     
    • snarfle

      snarfle - 2009-09-02

      1) Unless the graphs are specifically written to publish their interface pointers (which coders commonly only do during debugging), you cannot connect to these graphs. And even if you could, you'd have to stop, re-build, and restart the graph to hook into it.

      2) Good luck with this. Given MS's interest in supporting protected content, I doubt they are going to make this easy.

      The best approach I have see is something does essentially does print screens to a buffer. Check out the old Direct Show sample named pushsource.

       
      • georgiosd

        georgiosd - 2009-09-02

        Thanks.

        From reading the PushSource sample description, I think that all it does is capture the screen - although this will capture the video just fine, it will be overlayed with the player's controls etc.

         

Log in to post a comment.