Menu

Two renders in the same hWnd ?

dj_ken
2005-10-25
2012-10-29
  • dj_ken

    dj_ken - 2005-10-25

    I built two VMR9 graphs and render them into the same hWnd. It works, but flicker a lot, when I run both at the same time.

    Is it possible to render to in the same hWnd. If how do I lostye the flicker?

     
    • dj_ken

      dj_ken - 2005-10-27

      This is my "dirty version" of a "video mixer".

      the DirectShow example "VMRMulti" is what I want to do. In the documentation it says: The application uses separate filter graphs for each media files. The graphs can be controlled individually.

      So I figured that tow graphs with VMR9 reders in the same Hwnd would do the trick, but... as I'm new to this :-)

      If I just add two files to a VMR9 render I can't change video file in real time without interupting the video playing.

       
      • Eric

        Eric - 2005-10-27

        Forget your two overlapped VMRs.

        You need to use VMRMulti OR build two graphs with a VMR9s in Renderless mode (with a custom Allocator / Presenter) and do the mix yourself with Direct3D...

         
    • Eric

      Eric - 2005-10-27

      I don't understand why you want to render two VMR one over the other ! In this condition, the flickering is normal...

      Could you develop what you want to achieve ?

       

Log in to post a comment.