I need some help, I'm trying to play a video in two controls in C #, one main(video and audio) and second only (video), I've been looking through the forum and I understand you have to create a filter, "do not know if this is correct ", and then call in the other control, for two days I am trying this and not get it, someone can tell me how to do it or any sample.
I don't know if this can work but you should try that :
The IVMRWindowlessControl9.RepaintVideo must be called each time a Paint event is triggered (or a WM_PAINT message received). This method take 2 parameters : The target HWND and HDC.
What about calling it twice ? Once for your first control (giving to the method the first control Handle and its related HDC) and a second time for your second control (with the second control Handle and an HDC for this control).
I have absolutly no warrenty that this can work but it's easy to test...
I show you a diagram so you can see what I'm trying to do.
I can not connect render the "infinity pin tee filter" in c #, so that preview the video in a VideoMixingRenderer9, I can load them from file but what I want is that if I change the position also changes in the preview.
Can anyone guide me how I can get it?, Is possible?
Log in to post a comment.